| name | type | description | multivalued |
|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no |
| exclude | query | yes | |
| relPath | query | no |
| media type | data type | description |
|---|---|---|
| application/json | ItemWrapperOfItem (JSON) |
GET
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"item" : {
"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 | multivalued |
|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no |
| exclude | query | yes |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) |
GET /count
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 |
| exclude | query | yes |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) |
GET /size
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 |
| exclude | query | yes |
| media type | data type | description |
|---|---|---|
| application/json | ItemWrapperOfItem (JSON) |
GET /trash
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"item" : {
"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" : "..."
}
}
Uploads a file in the volatile area returning a public link
| name | type | description | multivalued |
|---|---|---|---|
| fileDetail | formdata | no | |
| stream | formdata | no | |
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no |
| exclude | query | yes |
| media type | data type |
|---|---|
| multipart/form-data | (custom) |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) |
POST /volatile
Content-Type: multipart/form-data
Accept: application/json
Authorization: ...
...
HTTP/1.1 201 Created
Content-Type: application/json
...
| name | type | description | multivalued |
|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no |
| exclude | query | yes |
| media type | data type | description |
|---|---|---|
| application/json | ItemWrapperOfItem (JSON) |
GET /vrefolder
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"item" : {
"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 | multivalued |
|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no |
| exclude | query | yes |
| media type | data type | description |
|---|---|---|
| application/json | ItemList (JSON) |
GET /vrefolders
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"itemlist" : [ {
"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" : "..."
}, {
"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 | multivalued |
|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no |
| exclude | query | yes |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) |
DELETE /trash/empty
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 204 No Content
Content-Type: application/json
...
| name | type | description | multivalued |
|---|---|---|---|
| destinationId | form | no | |
| trashedItemId | form | no | |
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no |
| exclude | query | yes |
| media type | data type |
|---|---|
| application/x-www-form-urlencoded | (custom) |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) |
PUT /trash/restore
Content-Type: application/x-www-form-urlencoded
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 |
| exclude | query | yes |
| media type | data type | description |
|---|---|---|
| application/json | ItemList (JSON) |
GET /vrefolder/recents
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"itemlist" : [ {
"lastModificationTime" : 12345,
"externalManaged" : true,
"accounting" : {
"entries" : [ { }, { } ]
},
"owner" : "...",
"lastAction" : "UPDATED",
"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 | constraints | multivalued |
|---|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | no | |
| exclude | query | yes | ||
| limit | query | int | no | |
| start | query | int | no |
| media type | data type | description |
|---|---|---|
| application/json | ItemList (JSON) |
GET /vrefolders/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" : "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" : "..."
}, {
"lastModificationTime" : 12345,
"externalManaged" : true,
"accounting" : {
"entries" : [ { }, { } ]
},
"owner" : "...",
"lastAction" : "UPDATED",
"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" : "..."
} ]
}