| name | type | description | constraints |
|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | |
| id | path | ||
| force | query | required boolean |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) |
DELETE /items/{id}
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 204 No Content
Content-Type: application/json
...
| name | type | description | multivalued |
|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no |
| id | path | no | |
| exclude | query | yes |
| media type | data type | description |
|---|---|---|
| application/json | ItemWrapperOfItem (JSON) |
GET /items/{id}
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"item" : {
"lastModificationTime" : 12345,
"externalManaged" : true,
"accounting" : {
"entries" : [ { }, { } ]
},
"owner" : "...",
"lastAction" : "MOVED",
"locked" : true,
"publicItem" : true,
"trashed" : true,
"creationTime" : 12345,
"description" : "...",
"ownerNode" : {
"userName" : "...",
"userId" : "..."
},
"hidden" : true,
"lastModifiedBy" : "...",
"shared" : true,
"title" : "...",
"metadata" : {
"map" : {
"property1" : { },
"property2" : { }
}
},
"parentPath" : "...",
"path" : "...",
"primaryType" : "...",
"name" : "...",
"relatedNode" : { },
"parentId" : "...",
"id" : "..."
}
}
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| id | path |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) |
GET /items/publiclink/{id}
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
...
| name | type | description | multivalued |
|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no |
| id | path | no | |
| exclude | query | yes |
| media type | data type | description |
|---|---|---|
| application/json | ItemList (JSON) |
GET /items/{id}/anchestors
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"itemlist" : [ {
"lastModificationTime" : 12345,
"externalManaged" : true,
"accounting" : {
"entries" : [ { }, { } ]
},
"owner" : "...",
"lastAction" : "RENAMED",
"locked" : true,
"publicItem" : true,
"trashed" : true,
"creationTime" : 12345,
"description" : "...",
"ownerNode" : {
"userName" : "...",
"userId" : "..."
},
"hidden" : true,
"lastModifiedBy" : "...",
"shared" : true,
"title" : "...",
"metadata" : {
"map" : {
"property1" : { },
"property2" : { }
}
},
"parentPath" : "...",
"path" : "...",
"primaryType" : "...",
"name" : "...",
"relatedNode" : { },
"parentId" : "...",
"id" : "..."
}, {
"lastModificationTime" : 12345,
"externalManaged" : true,
"accounting" : {
"entries" : [ { }, { } ]
},
"owner" : "...",
"lastAction" : "RENAMED",
"locked" : true,
"publicItem" : true,
"trashed" : true,
"creationTime" : 12345,
"description" : "...",
"ownerNode" : {
"userName" : "...",
"userId" : "..."
},
"hidden" : true,
"lastModifiedBy" : "...",
"shared" : true,
"title" : "...",
"metadata" : {
"map" : {
"property1" : { },
"property2" : { }
}
},
"parentPath" : "...",
"path" : "...",
"primaryType" : "...",
"name" : "...",
"relatedNode" : { },
"parentId" : "...",
"id" : "..."
} ]
}
| name | type | description | constraints | multivalued |
|---|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no | |
| id | path | no | ||
| exclude | query | yes | ||
| onlyType | query | no | ||
| showHidden | query | boolean | no |
| media type | data type | description |
|---|---|---|
| application/json | ItemList (JSON) |
GET /items/{id}/children
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"itemlist" : [ {
"lastModificationTime" : 12345,
"externalManaged" : true,
"accounting" : {
"entries" : [ { }, { } ]
},
"owner" : "...",
"lastAction" : "RENAMED",
"locked" : true,
"publicItem" : true,
"trashed" : true,
"creationTime" : 12345,
"description" : "...",
"ownerNode" : {
"userName" : "...",
"userId" : "..."
},
"hidden" : true,
"lastModifiedBy" : "...",
"shared" : true,
"title" : "...",
"metadata" : {
"map" : {
"property1" : { },
"property2" : { }
}
},
"parentPath" : "...",
"path" : "...",
"primaryType" : "...",
"name" : "...",
"relatedNode" : { },
"parentId" : "...",
"id" : "..."
}, {
"lastModificationTime" : 12345,
"externalManaged" : true,
"accounting" : {
"entries" : [ { }, { } ]
},
"owner" : "...",
"lastAction" : "RENAMED",
"locked" : true,
"publicItem" : true,
"trashed" : true,
"creationTime" : 12345,
"description" : "...",
"ownerNode" : {
"userName" : "...",
"userId" : "..."
},
"hidden" : true,
"lastModifiedBy" : "...",
"shared" : true,
"title" : "...",
"metadata" : {
"map" : {
"property1" : { },
"property2" : { }
}
},
"parentPath" : "...",
"path" : "...",
"primaryType" : "...",
"name" : "...",
"relatedNode" : { },
"parentId" : "...",
"id" : "..."
} ]
}
| name | type | description |
|---|---|---|
| destinationId | form | |
| fileName | form | |
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| id | path |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) |
PUT /items/{id}/copy
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 204 No Content
Content-Type: application/json
...
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| id | path |
| media type | data type |
|---|---|
| application/json | string (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) |
PUT /items/{id}/description
Content-Type: application/json
Accept: application/json
Authorization: ...
...
HTTP/1.1 204 No Content
Content-Type: application/json
...
| name | type | description | multivalued |
|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no |
| id | path | no | |
| exclude | query | yes |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) |
GET /items/{id}/download
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
...
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| id | path |
| media type | data type | description |
|---|---|---|
| application/json | FolderInfoType (JSON) |
GET /items/{id}/info
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"count" : 12345,
"size" : 12345
}
| name | type | description | multivalued |
|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no |
| id | path | no | |
| exclude | query | yes | |
| name | query | no |
| media type | data type | description |
|---|---|---|
| application/json | ItemList (JSON) |
GET /items/{id}/items
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"itemlist" : [ {
"lastModificationTime" : 12345,
"externalManaged" : true,
"accounting" : {
"entries" : [ { }, { } ]
},
"owner" : "...",
"lastAction" : "CREATED",
"locked" : true,
"publicItem" : true,
"trashed" : true,
"creationTime" : 12345,
"description" : "...",
"ownerNode" : {
"userName" : "...",
"userId" : "..."
},
"hidden" : true,
"lastModifiedBy" : "...",
"shared" : true,
"title" : "...",
"metadata" : {
"map" : {
"property1" : { },
"property2" : { }
}
},
"parentPath" : "...",
"path" : "...",
"primaryType" : "...",
"name" : "...",
"relatedNode" : { },
"parentId" : "...",
"id" : "..."
}, {
"lastModificationTime" : 12345,
"externalManaged" : true,
"accounting" : {
"entries" : [ { }, { } ]
},
"owner" : "...",
"lastAction" : "CREATED",
"locked" : true,
"publicItem" : true,
"trashed" : true,
"creationTime" : 12345,
"description" : "...",
"ownerNode" : {
"userName" : "...",
"userId" : "..."
},
"hidden" : true,
"lastModifiedBy" : "...",
"shared" : true,
"title" : "...",
"metadata" : {
"map" : {
"property1" : { },
"property2" : { }
}
},
"parentPath" : "...",
"path" : "...",
"primaryType" : "...",
"name" : "...",
"relatedNode" : { },
"parentId" : "...",
"id" : "..."
} ]
}
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| id | path |
| media type | data type |
|---|---|
| application/json | Metadata (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) |
PUT /items/{id}/metadata
Content-Type: application/json
Accept: application/json
Authorization: ...
{
"map" : {
"property1" : { },
"property2" : { }
}
}
HTTP/1.1 204 No Content
Content-Type: application/json
...
| name | type | description |
|---|---|---|
| destinationId | form | |
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| id | path |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) |
PUT /items/{id}/move
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 204 No Content
Content-Type: application/json
...
| name | type | description | multivalued |
|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no |
| id | path | no | |
| exclude | query | yes | |
| path | query | no |
| media type | data type | description |
|---|---|---|
| application/json | ItemWrapperOfItem (JSON) |
GET /items/{id}/path
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"item" : {
"lastModificationTime" : 12345,
"externalManaged" : true,
"accounting" : {
"entries" : [ { }, { } ]
},
"owner" : "...",
"lastAction" : "MOVED",
"locked" : true,
"publicItem" : true,
"trashed" : true,
"creationTime" : 12345,
"description" : "...",
"ownerNode" : {
"userName" : "...",
"userId" : "..."
},
"hidden" : true,
"lastModifiedBy" : "...",
"shared" : true,
"title" : "...",
"metadata" : {
"map" : {
"property1" : { },
"property2" : { }
}
},
"parentPath" : "...",
"path" : "...",
"primaryType" : "...",
"name" : "...",
"relatedNode" : { },
"parentId" : "...",
"id" : "..."
}
}
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| id | path | |
| version | query |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) |
GET /items/{id}/publiclink
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
...
| name | type | description | constraints |
|---|---|---|---|
| publish | form | required boolean | |
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | |
| id | path |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) |
PUT /items/{id}/publish
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 204 No Content
Content-Type: application/json
...
| name | type | description |
|---|---|---|
| newName | form | |
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| id | path |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) |
PUT /items/{id}/rename
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 204 No Content
Content-Type: application/json
...
| name | type | description | constraints | multivalued |
|---|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no | |
| id | path | no | ||
| exclude | query | yes | ||
| excludeTrashed | query | boolean | no | |
| name | query | no | ||
| onlyType | query | no | ||
| showHidden | query | boolean | no |
| media type | data type | description |
|---|---|---|
| application/json | ItemList (JSON) |
GET /items/{id}/search
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"itemlist" : [ {
"lastModificationTime" : 12345,
"externalManaged" : true,
"accounting" : {
"entries" : [ { }, { } ]
},
"owner" : "...",
"lastAction" : "CLONED",
"locked" : true,
"publicItem" : true,
"trashed" : true,
"creationTime" : 12345,
"description" : "...",
"ownerNode" : {
"userName" : "...",
"userId" : "..."
},
"hidden" : true,
"lastModifiedBy" : "...",
"shared" : true,
"title" : "...",
"metadata" : {
"map" : {
"property1" : { },
"property2" : { }
}
},
"parentPath" : "...",
"path" : "...",
"primaryType" : "...",
"name" : "...",
"relatedNode" : { },
"parentId" : "...",
"id" : "..."
}, {
"lastModificationTime" : 12345,
"externalManaged" : true,
"accounting" : {
"entries" : [ { }, { } ]
},
"owner" : "...",
"lastAction" : "RENAMED",
"locked" : true,
"publicItem" : true,
"trashed" : true,
"creationTime" : 12345,
"description" : "...",
"ownerNode" : {
"userName" : "...",
"userId" : "..."
},
"hidden" : true,
"lastModifiedBy" : "...",
"shared" : true,
"title" : "...",
"metadata" : {
"map" : {
"property1" : { },
"property2" : { }
}
},
"parentPath" : "...",
"path" : "...",
"primaryType" : "...",
"name" : "...",
"relatedNode" : { },
"parentId" : "...",
"id" : "..."
} ]
}
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| id | path |
| media type | data type | description |
|---|---|---|
| application/json | VersionList (JSON) |
GET /items/{id}/versions
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"itemlist" : [ {
"id" : "...",
"current" : true,
"name" : "...",
"created" : 12345
}, {
"id" : "...",
"current" : true,
"name" : "...",
"created" : 12345
} ]
}
| name | type | description | constraints | multivalued |
|---|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no | |
| id | path | no | ||
| exclude | query | yes | ||
| onlyType | query | no | ||
| showHidden | query | boolean | no |
| media type | data type | description |
|---|---|---|
| application/json | number (JSON) |
GET /items/{id}/children/count
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
...
| name | type | description | constraints | multivalued |
|---|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no | |
| id | path | no | ||
| exclude | query | yes | ||
| limit | query | int | no | |
| onlyType | query | no | ||
| showHidden | query | boolean | no | |
| start | query | int | no |
| media type | data type | description |
|---|---|---|
| application/json | ItemList (JSON) |
GET /items/{id}/children/paged
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"itemlist" : [ {
"lastModificationTime" : 12345,
"externalManaged" : true,
"accounting" : {
"entries" : [ { }, { } ]
},
"owner" : "...",
"lastAction" : "CREATED",
"locked" : true,
"publicItem" : true,
"trashed" : true,
"creationTime" : 12345,
"description" : "...",
"ownerNode" : {
"userName" : "...",
"userId" : "..."
},
"hidden" : true,
"lastModifiedBy" : "...",
"shared" : true,
"title" : "...",
"metadata" : {
"map" : {
"property1" : { },
"property2" : { }
}
},
"parentPath" : "...",
"path" : "...",
"primaryType" : "...",
"name" : "...",
"relatedNode" : { },
"parentId" : "...",
"id" : "..."
}, {
"lastModificationTime" : 12345,
"externalManaged" : true,
"accounting" : {
"entries" : [ { }, { } ]
},
"owner" : "...",
"lastAction" : "RENAMED",
"locked" : true,
"publicItem" : true,
"trashed" : true,
"creationTime" : 12345,
"description" : "...",
"ownerNode" : {
"userName" : "...",
"userId" : "..."
},
"hidden" : true,
"lastModifiedBy" : "...",
"shared" : true,
"title" : "...",
"metadata" : {
"map" : {
"property1" : { },
"property2" : { }
}
},
"parentPath" : "...",
"path" : "...",
"primaryType" : "...",
"name" : "...",
"relatedNode" : { },
"parentId" : "...",
"id" : "..."
} ]
}
| name | type | description | multivalued |
|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no |
| id | path | no | |
| name | path | no | |
| exclude | query | yes |
| media type | data type | description |
|---|---|---|
| application/json | ItemList (JSON) |
GET /items/{id}/items/{name}
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"itemlist" : [ {
"lastModificationTime" : 12345,
"externalManaged" : true,
"accounting" : {
"entries" : [ { }, { } ]
},
"owner" : "...",
"lastAction" : "RENAMED",
"locked" : true,
"publicItem" : true,
"trashed" : true,
"creationTime" : 12345,
"description" : "...",
"ownerNode" : {
"userName" : "...",
"userId" : "..."
},
"hidden" : true,
"lastModifiedBy" : "...",
"shared" : true,
"title" : "...",
"metadata" : {
"map" : {
"property1" : { },
"property2" : { }
}
},
"parentPath" : "...",
"path" : "...",
"primaryType" : "...",
"name" : "...",
"relatedNode" : { },
"parentId" : "...",
"id" : "..."
}, {
"lastModificationTime" : 12345,
"externalManaged" : true,
"accounting" : {
"entries" : [ { }, { } ]
},
"owner" : "...",
"lastAction" : "CLONED",
"locked" : true,
"publicItem" : true,
"trashed" : true,
"creationTime" : 12345,
"description" : "...",
"ownerNode" : {
"userName" : "...",
"userId" : "..."
},
"hidden" : true,
"lastModifiedBy" : "...",
"shared" : true,
"title" : "...",
"metadata" : {
"map" : {
"property1" : { },
"property2" : { }
}
},
"parentPath" : "...",
"path" : "...",
"primaryType" : "...",
"name" : "...",
"relatedNode" : { },
"parentId" : "...",
"id" : "..."
} ]
}
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| id | path | |
| version | path |
DELETE /items/{id}/versions/{version}
Content-Type: */*
Authorization: ...
...
HTTP/1.1 204 No Content
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| id | path | |
| version | path |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) |
GET /items/{id}/versions/{version}/download
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
...