Skip to content

Instantly share code, notes, and snippets.

@mamund
Last active November 5, 2018 01:21
Show Gist options
  • Save mamund/0a2a3b93cafb62acfde7eadd88b4cf0e to your computer and use it in GitHub Desktop.
Save mamund/0a2a3b93cafb62acfde7eadd88b4cf0e to your computer and use it in GitHub Desktop.
2018-11-OSLC-Gists
{
"task": [
{
"url" : "http://api.examples.org/137h96l7mpv",
"edit" : "http://api.examples.org/edit?id=137h96l7mpv",
"id": "137h96l7mpv",
"title": "LAX",
"completeFlag": "true",
"assignedUser": "bob",
"dateCreated": "2016-01-14T17:48:42.083Z",
"dateUpdated": "2016-01-27T22:03:02.850Z"
}
]
}
{
"task": [
{
"url" : "http://api.examples.org/137h96l7mpv",
"edit" : "http://api.examples.org/edit?id=137h96l7mpv",
"approve" : "http://api.examples.org/approve?id=137h96l7mpv",
"id": "137h96l7mpv",
"title": "LAX",
"completeFlag": "true",
"assignedUser": "bob",
"dateCreated": "2016-01-14T17:48:42.083Z",
"dateUpdated": "2016-01-27T22:03:02.850Z"
}
]
}
{
"task": [
{
"url" : "http://api.examples.org/137h96l7mpv",
"action" : {
"name" : "approve",
"url": "http://api.examples.org/approve?id=137h96l7mpv",
"method" : "put"
},
"id": "137h96l7mpv",
"title": "LAX",
"completeFlag": "true",
"assignedUser": "bob",
"dateCreated": "2016-01-14T17:48:42.083Z",
"dateUpdated": "2016-01-27T22:03:02.850Z"
}
]
}
{
"task": [
{
"url" : "http://api.examples.org/137h96l7mpv",
"action" : {
"name" : "approve",
"url" : "http://api.examples.org/approve?id=137h96l7mpv",
"method" : "put",
"values" : [
{
"name" : "completeFlag",
"value" : "true",
"required" : "true",
"regex" : "^true|false$"
},
{
...
}
],
},
"id": "137h96l7mpv",
"title": "LAX",
"completeFlag": "true",
"assignedUser": "bob",
"dateCreated": "2016-01-14T17:48:42.083Z",
"dateUpdated": "2016-01-27T22:03:02.850Z"
}
]
}
{
"task": [
{
"id": "137h96l7mpv",
"title": "LAX",
"completeFlag": "true",
"assignedUser": "bob",
"dateCreated": "2016-01-14T17:48:42.083Z",
"dateUpdated": "2016-01-27T22:03:02.850Z"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment