Last active
January 13, 2020 10:31
-
-
Save whalec/b9f2622b542f455f72d2c370b5f1bbad to your computer and use it in GitHub Desktop.
Features of a business
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
features: [ | |
{ | |
key: "contracts", | |
uri: "http://agridigital.io/api/v1/business/68349987-ee7f-4e95-b979-a7e9cd5476e2/contracts" | |
}, | |
{ | |
key: "prices", | |
uri: "http://agridigital.io/api/v1/business/68349987-ee7f-4e95-b979-a7e9cd5476e2/prices" | |
}, | |
{ | |
key: "deliveries", | |
uri: "http://agridigital.io/api/v1/business/68349987-ee7f-4e95-b979-a7e9cd5476e2/deliveries" | |
}, | |
{ | |
key: "settings", | |
uri: "http://agridigital.io/api/v1/business/68349987-ee7f-4e95-b979-a7e9cd5476e2/settings" | |
} | |
] | |
} |
I think we need this wrapped in an object with a features
key again. Just to be consistent.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also, not sure if
endpoints
is the right name for that array.