PUT objects/{id}?include={include}
Updates the object with the specified identifier. The request body must contain an ObjectViewModel or a derivation of it.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The identifier of the object. |
integer |
Required |
include |
Defines the properties to be included (separated by comma). |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
ObjectViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
CreatedDate | string |
None. |
|
Name | string |
None. |
|
Description | string |
Filterable Settable |
|
OntologyCount | integer |
None. |
|
Size | integer |
None. |
|
Type | ObjectTypeViewModel |
Filterable |
|
DownloadUrl | string |
None. |
|
Archive | ArchiveViewModel |
None. |
|
License | BaseViewModel |
Includable Settable |
|
Owner | BaseViewModel |
Filterable Includable |
|
Files | IGenericPaginatedListViewModelOfBaseViewModel |
Includable |
|
LinkedObjects | IGenericPaginatedListViewModelOfBaseViewModel |
None. |
|
LinkedObjectRelations | IGenericPaginatedListViewModelOfBaseViewModel |
Includable |
|
OntologyItems | IGenericPaginatedListViewModelOfBaseViewModel |
Includable |
|
OntologyItemRelations | IGenericPaginatedListViewModelOfBaseViewModel |
Includable |
|
ObjectPreviews | Collection of BaseViewModel |
Includable |
|
ObjectGroupRights | Collection of BaseViewModel |
Includable |
|
ObjectUserRights | Collection of BaseViewModel |
Includable |
|
SelfUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "createdDate": "sample string 2", "name": "sample string 3", "description": "sample string 4", "ontologyCount": 5, "size": 6, "type": { "name": "sample string 1", "displayName": "sample string 2", "displayNameShort": "sample string 3", "selfUrl": "sample string 4" }, "downloadUrl": "sample string 7", "archive": { "entryCount": 1, "decompressedSize": 2, "entriesUrl": "sample string 3" }, "license": { "selfUrl": "sample string 1" }, "owner": { "selfUrl": "sample string 1" }, "files": null, "linkedObjects": null, "linkedObjectRelations": null, "ontologyItems": null, "ontologyItemRelations": null, "objectPreviews": [ { "selfUrl": "sample string 1" }, { "selfUrl": "sample string 1" } ], "objectGroupRights": [ { "selfUrl": "sample string 1" }, { "selfUrl": "sample string 1" } ], "objectUserRights": [ { "selfUrl": "sample string 1" }, { "selfUrl": "sample string 1" } ], "selfUrl": "sample string 8" }