Last active
August 29, 2015 14:09
-
-
Save krainboltgreene/164aba8b103bf9772cad to your computer and use it in GitHub Desktop.
GET /accounts?fields=name&include=organizations
This file contains 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
{ | |
"accounts": [ | |
{ | |
"id": "1", | |
"name": "Kurtis Rainbolt-Greene", | |
"href": "http://api.endorsemint.com/accounts/1", | |
"links": { | |
"fundings": "http://api.endorsemint.com/fundings/?accounts=1", | |
"organizations": "http://api.endorsemint.com/organizations/?accounts=1" | |
}, | |
"linked": { | |
"organizations": [ | |
{ | |
"id": "3", | |
"href": "http://api.endorsemint.com/organizations/3" | |
} | |
] | |
}, | |
"meta": {} | |
} | |
], | |
"links": {}, | |
"linked": {}, | |
"meta": { | |
"request": { | |
"include": [ | |
"organizations" | |
], | |
"fields": [ | |
"id", | |
"name", | |
"href" | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Under the current spec, the following would be compliant: