...
Gibt alle Datei-Version eines Objektes zurück.
BeispielaufrufLesen einer speziellen Datei-Version: Codeblock |
---|
| {
"method":"shd.file_version.read",
"params":{
"apikey":"24174j3tqj",
"id": 4
},
"version":"2.0",
"id": 1
} |
| BeispielantwortEigenschaften einer Datei-Version: Codeblock |
---|
| {
"id": 1,
"jsonrpc": "2.0",
"result": [
{
"id": "2",
"obj_id": "4",
"obj_title": "guest ",
"version_id": "4",
"version_title": "MyFile",
"version_description": "",
"version_revision": "3",
"physical_file_id": "4",
"physical_file_name": "my_file.txt",
"physical_file_filename": "4__1560014584__my_file.txt",
"category_id": null,
"category_title": null,
"category_description": null
}
]
} |
|
---|
Parameter
Parameter | Typ | Beschreibung | Version |
---|
id | int | Optional: ID des Objektes | ab Version 1.0 |
...
Beispielaufruf Codeblock |
---|
| {
"method":"shd.file_version.create",
"params":{
"apikey":"24174j3tqj",
"data": {
"obj_id": 4,
"title": "MyFile",
"file": "xyz...",
"filename": "my_file.txt"
}
},
"version":"2.0",
"id": 1
} |
| Beispielantwort Codeblock |
---|
| {
"id": 1,
"jsonrpc": "2.0",
"result": {
"message": "file_version.create.success",
"id": "2",
"current_date": "2019-06-08"
}
} |
|
---|
...