PUT objects/{id}/publish

Publishes the object with the specified identifier.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The identifier of the object.

integer

Required

Body Parameters

None.

Response Information

Resource Description

ObjectViewModel
NameDescriptionTypeAdditional 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"
}