Updated API (markdown)
parent
eaa755b7d6
commit
dea8851748
6
API.md
6
API.md
@ -27,7 +27,7 @@ Get complete entries with metadata, document list and link list. Entries can be
|
||||
|
||||
`curl -s -d '{"token":"MYSECRETTOKEN"}' https://my.domain/v1/get/d51300`
|
||||
|
||||
`curl -X POST -s -d '{"token":"MYSECRETTOKEN","ids":["D12","D34"}' https://my.domain/v1/get`
|
||||
`curl -X POST -s -d '{"token":"MYSECRETTOKEN","ids":["D12","D34"]}' https://my.domain/v1/get`
|
||||
|
||||
```json
|
||||
{
|
||||
@ -90,7 +90,7 @@ Get complet entry with metadata, document list and link list and raw field names
|
||||
|
||||
`curl -s -d '{"token":"MYSECRETTOKEN"}' https://my.domain/v1/getraw/d51300`
|
||||
|
||||
`curl -X POST -s -d '{"token":"MYSECRETTOKEN","ids":["D12","D34"}' https://my.domain/v1/getraw`
|
||||
`curl -X POST -s -d '{"token":"MYSECRETTOKEN","ids":["D12","D34"]}' https://my.domain/v1/getraw`
|
||||
|
||||
```json
|
||||
{
|
||||
@ -468,7 +468,7 @@ Get extended metadata from entry. Entries can be passed as a comma-separated lis
|
||||
|
||||
`curl -s -d '{"token":"MYSECRETTOKEN"}' https://my.domain/v1/metaget/S1234`
|
||||
|
||||
`curl -X POST -s -d '{"token":"MYSECRETTOKEN","ids":["D12","D34"}' https://my.domain/v1/metaget`
|
||||
`curl -X POST -s -d '{"token":"MYSECRETTOKEN","ids":["D12","D34"]}' https://my.domain/v1/metaget`
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user