Skip to content

Instantly share code, notes, and snippets.

@ekepes
Created October 26, 2016 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ekepes/e911f0b1aab0e2ec08c127edbd90d5c9 to your computer and use it in GitHub Desktop.
Save ekepes/e911f0b1aab0e2ec08c127edbd90d5c9 to your computer and use it in GitHub Desktop.
If I am logged in to the site (I've been given a security token, for example), when I send a GET to the same endpoint for a talk I submitted:
{
"Id": "0001",
"Title": "An Awesome Talk",
"Abstract": "Magnificent abstract goes here...",
"Status": "Submitted",
"Links": [
{
"Href": "http://example.com/api/submissions/0001",
"Rel": "self",
"Method": "GET"
} ,
{
"Href": "http://example.com/api/submissions/0001",
"Rel": "change-submission",
"Method": "PUT"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment