Updated API (markdown)
parent
7ca8603035
commit
9b7b11cbb3
48
API.md
48
API.md
@ -482,6 +482,54 @@ Options:
|
||||
```{"match":"<string>"}``` search for matching string value.
|
||||
|
||||
|
||||
# metaget
|
||||
Get extended metadata from entry
|
||||
|
||||
`curl -s -d '{"token":"MYSECRETTOKEN"}' https://my.domain/v1/metaget/S1234
|
||||
|
||||
```json
|
||||
{
|
||||
"success": 1,
|
||||
"id": "S1234",
|
||||
"tent": "2014-06-20 15:40:32",
|
||||
"tcha": "2014-06-20 15:40:32",
|
||||
"project": "99",
|
||||
"user": "mike",
|
||||
"type": "sample",
|
||||
"ancestry": [
|
||||
"S1232",
|
||||
"S1231"
|
||||
],
|
||||
"descendants": [
|
||||
"S1235",
|
||||
"S1236"
|
||||
],
|
||||
"f0": "Test Entry",
|
||||
"f1": "Mike",
|
||||
"f2": "Entry for testing Rest API",
|
||||
"f4": "Test, Rest, API",
|
||||
"f5": "Comment",
|
||||
"jasondata": null,
|
||||
"parent": {
|
||||
"id": "S1234",
|
||||
"parent": "S1233",
|
||||
"gen": "2"
|
||||
},
|
||||
"childs": [
|
||||
{
|
||||
"id": "S1234",
|
||||
"parent": "S1235",
|
||||
"gen": "3"
|
||||
},
|
||||
{
|
||||
"id": "S1234",
|
||||
"parent": "S1236",
|
||||
"gen": "3"
|
||||
},
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
# metadump
|
||||
Output all metadata you have access to.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user