Skip to content

Instantly share code, notes, and snippets.

@whalec
Last active January 13, 2020 10:31
Show Gist options
  • Save whalec/b9f2622b542f455f72d2c370b5f1bbad to your computer and use it in GitHub Desktop.
Save whalec/b9f2622b542f455f72d2c370b5f1bbad to your computer and use it in GitHub Desktop.
Features of a business
{
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"
}
]
}
@whalec
Copy link
Author

whalec commented Sep 9, 2016

Also, not sure if endpoints is the right name for that array.

@whalec
Copy link
Author

whalec commented Sep 9, 2016

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