Download OpenAPI specification:Download as YAMLDownload as JSON
{- "SectionList": {
- "_media-type": "application/vnd.ibexa.api.SectionList+json",
- "_href": "/api/ibexa/v2/content/sections",
- "Section": [
- {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1",
- "sectionId": 1,
- "identifier": "standard",
- "name": "Standard"
}, - {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/2",
- "sectionId": 2,
- "identifier": "users",
- "name": "Users"
}, - {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/3",
- "sectionId": 3,
- "identifier": "media",
- "name": "Media"
}, - {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/6",
- "sectionId": 6,
- "identifier": "form",
- "name": "Form"
}, - {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/7",
- "sectionId": 7,
- "identifier": "template",
- "name": "Template"
}, - {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/8",
- "sectionId": 8,
- "identifier": "restricted",
- "name": "Restricted"
}
]
}
}Creates a new Section.
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The Section input schema encoded in XML or JSON format.
required | object (SectionInput) |
{- "SectionInput": {
- "identifier": "restricted",
- "name": "Restricted"
}
}{- "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/13",
- "sectionId": 13,
- "identifier": "restricted",
- "name": "Restricted"
}
}Returns the Section by given Section ID.
| sectionId required | string SectionLoadByIdController identifier |
| If-None-match | string ETag |
{- "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/10",
- "sectionId": 10,
- "identifier": "design",
- "name": "Design"
}
}Updates a Section. PATCH or POST with header X-HTTP-Method-Override PATCH.
| sectionId required | string SectionUpdateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
| If-Match required | string ETag |
The Section input schema encoded in XML or JSON.
required | object (SectionInput) |
{- "SectionInput": {
- "identifier": "template",
- "name": "Template"
}
}{- "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/7",
- "sectionId": 7,
- "identifier": "template",
- "name": "Template"
}
}Creates a draft assigned to the authenticated user. If a different user ID is given in the input, the draft is assigned to the given user but this action requires special permissions for the authenticated user (this is useful for content staging where the transfer process does not have to authenticate with the user who created the content item in the source server). The user needs to publish the content item if it should be visible.
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The ContentCreate schema encoded in XML or JSON format.
required | object (ContentCreate) This class is used for creating a new content item. |
{- "ContentCreate": {
- "ContentType": {
- "_href": "/api/ibexa/v2/content/types/2"
}, - "mainLanguageCode": "eng-GB",
- "LocationCreate": {
- "_media-type": "application/vnd.ibexa.api.LocationCreate",
- "ParentLocation": {
- "_href": "/api/ibexa/v2/content/locations/1/2"
}, - "priority": "0",
- "hidden": "false",
- "sortField": "PATH",
- "sortOrder": "ASC"
}, - "Section": {
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "alwaysAvailable": "true",
- "fields": {
- "field": [
- {
- "fieldDefinitionIdentifier": "title",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "draft article"
}, - {
- "fieldDefinitionIdentifier": "intro",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>draft draft</p></section>"
}
}, - {
- "fieldDefinitionIdentifier": "body",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>draft draft draft </p></section>"
}
}
]
}
}
}{- "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/109",
- "_remoteId": "8716f007ba15f6f35139acb55e39b811",
- "_id": 109,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2"
}, - "Name": "draft article",
- "TranslatedName": "draft article",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/109/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/109/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/109/versions/1",
- "VersionInfo": {
- "id": 587,
- "versionNo": 1,
- "status": "DRAFT",
- "modificationDate": "2023-05-24T06:27:54+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-05-24T06:27:54+00:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "draft article"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/109"
}
}, - "Fields": {
- "field": [
- {
- "id": 488,
- "fieldDefinitionIdentifier": "title",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "draft article"
}, - {
- "id": 489,
- "fieldDefinitionIdentifier": "short_title",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": null
}, - {
- "id": 490,
- "fieldDefinitionIdentifier": "author",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_author",
- "fieldValue": [ ]
}, - {
- "id": 491,
- "fieldDefinitionIdentifier": "intro",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:ezxhtml=\"http://ibexa.co/xmlns/dxp/docbook/xhtml\" xmlns:ezcustom=\"http://ibexa.co/xmlns/dxp/docbook/custom\" version=\"5.0-variant ezpublish-1.0\"><para>draft draft</para></section>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>draft draft</p></section>\n"
}
}, - {
- "id": 492,
- "fieldDefinitionIdentifier": "body",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:ezxhtml=\"http://ibexa.co/xmlns/dxp/docbook/xhtml\" xmlns:ezcustom=\"http://ibexa.co/xmlns/dxp/docbook/custom\" version=\"5.0-variant ezpublish-1.0\"><para>draft draft draft</para></section>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>draft draft draft</p></section>\n"
}
}, - {
- "id": 493,
- "fieldDefinitionIdentifier": "enable_comments",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_boolean",
- "fieldValue": false
}, - {
- "id": 494,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": null
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/109/versions/1/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/placeholder",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/109/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "mainLanguageCode": "eng-GB",
- "currentVersionNo": 1,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "DRAFT",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/109/objectstates"
}
}
}Loads the content item for the given ID. Depending on the Accept header the current version is embedded (i.e. the current published version or if it does not exist, the draft of the authenticated user).
| contentId required | integer ContentLoadByIdController identifier |
| If-None-Match | string If the provided ETag matches the current ETag then a "304 Not Modified" is returned. The ETag changes if the meta data has changed, this happens also if there is a new published version. |
{- "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/54",
- "_remoteId": "9e863fbb0fb835ce050032b4f00de61d",
- "_id": 54,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1"
}, - "Name": "Forms",
- "TranslatedName": "Forms",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/54/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/54/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/54/versions/1",
- "VersionInfo": {
- "id": 514,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2018-09-17T06:48:13+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2018-09-17T06:48:13+00:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Forms"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/54"
}
}, - "Fields": {
- "field": [
- {
- "id": 249,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Forms"
}, - {
- "id": 250,
- "fieldDefinitionIdentifier": "short_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": null
}, - {
- "id": 251,
- "fieldDefinitionIdentifier": "short_description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}, - {
- "id": 252,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/54/versions/1/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#folder",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/6"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/55"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/54/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2018-09-17T06:48:13+00:00",
- "publishedDate": "2018-09-17T06:48:13+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 1,
- "alwaysAvailable": false,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/54/objectstates"
}
}
}Deletes content item. If content item has multiple Locations, all of them will be deleted via delete a subtree.
| contentId required | string ContentDeleteController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
This method updates the content metadata which is independent from a version. PATCH or POST with header X-HTTP-Method-Override PATCH.
| contentId required | string ContentMetadataUpdateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
| If-match required | string Causes to patch only if the specified ETag is the current one. Otherwise a 412 is returned. |
The ContentUpdate schema encoded in XML or JSON format.
required | object (ContentInfo) This class provides all version independent information of the content item. |
{- "ContentInfo": {
- "_media-type": "string",
- "_href": "string",
- "Content": {
- "_media-type": "string",
- "_href": "string",
- "_remoteId": "string",
- "_id": 0,
- "ContentType": {
- "_media-type": "string",
- "_href": "string"
}, - "Name": "string",
- "Versions": {
- "_media-type": "string",
- "_href": "string"
}, - "CurrentVersion": {
- "_media-type": "string",
- "_href": "string"
}, - "Section": {
- "_media-type": "string",
- "_href": "string"
}, - "Locations": {
- "_media-type": "string",
- "_href": "string"
}, - "Owner": {
- "_media-type": "string",
- "_href": "string"
}, - "lastModificationDate": "2019-08-24T14:15:22Z",
- "publishedDate": "2019-08-24T14:15:22Z",
- "mainLanguageCode": "string",
- "currentVersionNo": 0,
- "alwaysAvailable": true,
- "status": "string",
- "ObjectStates": {
- "_media-type": "string",
- "_href": "string"
}
}
}
}{- "ContentInfo": {
- "_media-type": "string",
- "_href": "string",
- "Content": {
- "_media-type": "string",
- "_href": "string",
- "_remoteId": "string",
- "_id": 0,
- "ContentType": {
- "_media-type": "string",
- "_href": "string"
}, - "Name": "string",
- "Versions": {
- "_media-type": "string",
- "_href": "string"
}, - "CurrentVersion": {
- "_media-type": "string",
- "_href": "string"
}, - "Section": {
- "_media-type": "string",
- "_href": "string"
}, - "Locations": {
- "_media-type": "string",
- "_href": "string"
}, - "Owner": {
- "_media-type": "string",
- "_href": "string"
}, - "lastModificationDate": "2019-08-24T14:15:22Z",
- "publishedDate": "2019-08-24T14:15:22Z",
- "mainLanguageCode": "string",
- "currentVersionNo": 0,
- "alwaysAvailable": true,
- "status": "string",
- "ObjectStates": {
- "_media-type": "string",
- "_href": "string"
}
}
}
}Redirects to the current version of the content item.
| contentId required | string ContentCurrentVersionRedirectController identifier |
{- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/107/versions/2",
- "VersionInfo": {
- "id": 578,
- "versionNo": 2,
- "status": "PUBLISHED",
- "modificationDate": "2023-05-24T05:59:09+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-05-24T05:59:02+00:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Features"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/107"
}
}, - "Fields": {
- "field": [
- {
- "id": 477,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Features"
}, - {
- "id": 478,
- "fieldDefinitionIdentifier": "short_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": null
}, - {
- "id": 479,
- "fieldDefinitionIdentifier": "short_description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}, - {
- "id": 480,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/107/versions/2/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/placeholder",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}The system creates a new draft as a copy of the current version. COPY or POST with header X-HTTP-Method-Override COPY.
| contentId required | string ContentDraftCreateFromCurrentVersionController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
{- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/107/versions/5",
- "VersionInfo": {
- "id": 581,
- "versionNo": 5,
- "status": "ARCHIVED",
- "modificationDate": "2023-05-24T06:11:50+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-05-24T06:09:49+00:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Features"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/107"
}
}, - "Fields": {
- "field": [
- {
- "id": 477,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Features"
}, - {
- "id": 478,
- "fieldDefinitionIdentifier": "short_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": null
}, - {
- "id": 479,
- "fieldDefinitionIdentifier": "short_description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}, - {
- "id": 480,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/107/versions/5/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/placeholder",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}Loads all Locations for the given content item.
| contentId required | string LocationForContentListController identifier |
| If-None-Match | string ETag |
{- "LocationList": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/63/locations",
- "Location": [
- {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/57/65"
}
]
}
}Creates a new Location for the given content item.
| contentId required | string LocationCreateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The LocationCreate schema encoded in XML or JSON format.
required | object (LocationCreate) |
{- "LocationCreate": {
- "_media-type": "application/vnd.ibexa.api.LocationCreate",
- "ParentLocation": {
- "_href": "/api/ibexa/v2/content/locations/1/59"
}, - "priority": "0",
- "hidden": false,
- "sortField": "PATH",
- "sortOrder": "ASC"
}
}{- "Location": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/59/114",
- "id": 114,
- "priority": 0,
- "hidden": false,
- "invisible": false,
- "explicitlyHidden": false,
- "ParentLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/59"
}, - "pathString": "/1/2/59/114/",
- "depth": 3,
- "childCount": 0,
- "remoteId": "47a1e4ee082fb64e93a822dcfe3a5614",
- "Children": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/59/114/children"
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/59"
}, - "sortField": "PATH",
- "sortOrder": "ASC",
- "UrlAliases": {
- "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/59/114/urlaliases"
}, - "ContentInfo": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/59",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/59",
- "_remoteId": "0fe1b1543f886b0becd4d9b2c7c517d0",
- "_id": 59,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2"
}, - "Name": "Art1",
- "TranslatedName": "Art1",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/59/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/59/currentversion"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/59/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2021-06-28T11:33:01+00:00",
- "publishedDate": "2021-06-28T11:33:01+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 1,
- "alwaysAvailable": false,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/59/objectstates"
}
}
}
}
}Returns the Object states of a content item
| contentId required | string ObjectStatesForContentListController identifier |
| If-None-Match | string ETag |
{- "ContentObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "ObjectState": [
- {
- "_media-type": "application/vnd.ibexa.api.ObjectState+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/2/objectstates/1"
}, - {
- "_media-type": "application/vnd.ibexa.api.ObjectState+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/3/objectstates/3"
}, - {
- "_media-type": "application/vnd.ibexa.api.ObjectState+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/7/objectstates/7"
}, - {
- "_media-type": "application/vnd.ibexa.api.ObjectState+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/8/objectstates/8"
}
]
}
}Updates Object states of a content item. An Object state in the input overrides the state of the Object state group. PATCH or POST with header X-HTTP-Method-Override PATCH.
| contentId required | string ObjectStatesForContentUpdateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
| If-Match required | string ETag |
The content item Object states input schema encoded in XML or JSON format.
required | object (ContentObjectStates) Represents a list of object states. |
{- "ContentObjectStates": {
- "ObjectState": [
- {
- "_href": "/api/ibexa/v2/content/objectstategroups/2/objectstates/2"
}
]
}
}{- "ContentObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "ObjectState": [
- {
- "_media-type": "application/vnd.ibexa.api.ObjectState+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/2/objectstates/2"
}
]
}
}Permanently deletes a translation from all versions of a content item.
| contentId required | string ContentTranslationDeleteController identifier |
| languageCode required | string ContentTranslationDeleteController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
Returns a list of all versions of the content item. This method does not include fields and relations in the version elements of the response.
| contentId required | string ContentVersionsListController identifier |
{- "VersionList": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/61/versions",
- "VersionItem": [
- {
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/61/versions/1"
}, - "VersionInfo": {
- "id": 521,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2021-06-28T11:33:49+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2021-06-28T11:33:31+00:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Art1"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/61"
}
}
}, - {
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/61/versions/2"
}, - "VersionInfo": {
- "id": 580,
- "versionNo": 2,
- "status": "DRAFT",
- "modificationDate": "2021-07-26T08:10:02+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2021-07-26T08:10:02+00:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Art1"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/61"
}
}
}, - {
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/61/versions/3"
}, - "VersionInfo": {
- "id": 581,
- "versionNo": 3,
- "status": "DRAFT",
- "modificationDate": "2021-07-26T08:16:50+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2021-07-26T08:16:50+00:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Art1"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/61"
}
}
}
]
}
}Loads a specific version of a content item. This method returns Fields and relations.
| contentId required | string ContentInVersionLoadController identifier |
| versionNo required | string ContentInVersionLoadController identifier |
| If-None-Match | string Only return the version if the given ETag is the not current one, otherwise a 304 is returned. |
{- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/107/versions/5",
- "VersionInfo": {
- "id": 581,
- "versionNo": 5,
- "status": "ARCHIVED",
- "modificationDate": "2023-05-24T06:11:50+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-05-24T06:09:49+00:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Features"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/107"
}
}, - "Fields": {
- "field": [
- {
- "id": 477,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Features"
}, - {
- "id": 478,
- "fieldDefinitionIdentifier": "short_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": null
}, - {
- "id": 479,
- "fieldDefinitionIdentifier": "short_description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}, - {
- "id": 480,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/107/versions/5/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/placeholder",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}The system creates a new draft as a copy of the given version. COPY or POST with header X-HTTP-Method-Override COPY.
| contentId required | string ContentDraftCreateFromVersionController identifier |
| versionNo required | string ContentDraftCreateFromVersionController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
{- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/107/versions/5",
- "VersionInfo": {
- "id": 581,
- "versionNo": 5,
- "status": "ARCHIVED",
- "modificationDate": "2023-05-24T06:11:50+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-05-24T06:09:49+00:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Features"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/107"
}
}, - "Fields": {
- "field": [
- {
- "id": 477,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Features"
}, - {
- "id": 478,
- "fieldDefinitionIdentifier": "short_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": null
}, - {
- "id": 479,
- "fieldDefinitionIdentifier": "short_description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}, - {
- "id": 480,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/107/versions/5/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/placeholder",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}Deletes the content version.
| contentId required | string ContentVersionDeleteController identifier |
| versionNo required | string ContentVersionDeleteController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
A specific draft is updated. PATCH or POST with header X-HTTP-Method-Override PATCH.
| contentId required | string ContentVersionUpdateController identifier |
| versionNo required | string ContentVersionUpdateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
| If-match required | string Performs the patch only if the specified ETag is the current one. |
The VersionUpdate schema encoded in XML or JSON format.
required | object (VersionUpdate) This class is used to update a content version. |
{- "VersionUpdate": {
- "_media-type": "string",
- "_href": "string",
- "modificationDate": "2019-08-24T14:15:22Z",
- "initialLanguageCode": "string",
- "fields": [
- {
- "id": 0,
- "fieldDefinitionIdentifier": "string",
- "languageCode": "string",
- "fieldTypeIdentifier": "string",
- "fieldValue": null
}
]
}
}{- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/107/versions/5",
- "VersionInfo": {
- "id": 581,
- "versionNo": 5,
- "status": "ARCHIVED",
- "modificationDate": "2023-05-24T06:11:50+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-05-24T06:09:49+00:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Features"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/107"
}
}, - "Fields": {
- "field": [
- {
- "id": 477,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Features"
}, - {
- "id": 478,
- "fieldDefinitionIdentifier": "short_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": null
}, - {
- "id": 479,
- "fieldDefinitionIdentifier": "short_description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}, - {
- "id": 480,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/107/versions/5/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/placeholder",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}Loads the Relations of the given version.
| contentId required | string ContentVersionsRelationsListController identifier |
| versionNo required | string ContentVersionsRelationsListController identifier |
{- "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/107/versions/9/relations",
- "Relation": [
- {
- "_media-type": "application/vnd.ibexa.api.Relation+json",
- "_href": "/api/ibexa/v2/content/objects/107/versions/9/relations/7",
- "SourceContent": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/107"
}, - "DestinationContent": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/52"
}, - "RelationType": "LINK"
}
]
}
}Creates a new Relation of type COMMON for the given draft.
| contentId required | string ContentRelationCreateController identifier |
| versionNo required | string ContentRelationCreateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The RelationCreate schema encoded in XML or JSON format.
required | object (RelationCreate) |
{- "RelationCreate": {
- "Destination": {
- "_href": "/api/ibexa/v2/content/objects/59"
}
}
}{- "Relation": {
- "_media-type": "application/vnd.ibexa.api.Relation+json",
- "_href": "/api/ibexa/v2/content/objects/59/versions/2/relations/38",
- "SourceContent": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/59"
}, - "DestinationContent": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/59"
}, - "RelationType": "COMMON"
}
}Loads a Relation for the given content item.
| contentId required | string ContentVersionRelationLoadByIdController identifier |
| versionNo required | string ContentVersionRelationLoadByIdController identifier |
| relationId required | string ContentVersionRelationLoadByIdController identifier |
{- "Relation": {
- "_media-type": "application/vnd.ibexa.api.Relation+json",
- "_href": "/api/ibexa/v2/content/objects/59/versions/2/relations/38",
- "SourceContent": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/59"
}, - "DestinationContent": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/59"
}, - "RelationType": "COMMON"
}
}Deletes a Relation of the given draft.
| contentId required | string ContentVersionRelationDeleteController identifier |
| versionNo required | string ContentVersionRelationDeleteController identifier |
| relationId required | string ContentVersionRelationDeleteController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
Removes a translation from a version draft.
| contentId required | string ContentDraftTranslationDeleteController identifier |
| versionNo required | string ContentDraftTranslationDeleteController identifier |
| languageCode required | string ContentDraftTranslationDeleteController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
Returns a list of all content type groups. If an identifier is provided, loads the content type group for this identifier.
{- "ContentTypeGroupList": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupList+json",
- "_href": "/api/ibexa/v2/content/typegroups",
- "ContentTypeGroup": [
- {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json",
- "_href": "/api/ibexa/v2/content/typegroups/1",
- "id": 1,
- "identifier": "Content",
- "created": "2002-09-05T09:08:48+00:00",
- "modified": "2002-10-06T16:35:06+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "ContentTypes": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeInfoList+json",
- "_href": "/api/ibexa/v2/content/typegroups/1/types"
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json",
- "_href": "/api/ibexa/v2/content/typegroups/2",
- "id": 2,
- "identifier": "Users",
- "created": "2002-09-05T09:09:01+00:00",
- "modified": "2002-10-06T16:35:13+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "ContentTypes": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeInfoList+json",
- "_href": "/api/ibexa/v2/content/typegroups/2/types"
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json",
- "_href": "/api/ibexa/v2/content/typegroups/3",
- "id": 3,
- "identifier": "Media",
- "created": "2002-09-14T13:22:23+00:00",
- "modified": "2002-10-06T16:35:20+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "ContentTypes": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeInfoList+json",
- "_href": "/api/ibexa/v2/content/typegroups/3/types"
}
}
]
}
}Creates a new content type group.
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The content type group input schema encoded in XML or JSON.
| ContentTypeGroupInput required | object (ContentTypeGroupInput) |
{- "ContentTypeGroupInput": {
- "identifier": "newContentTypeGroup"
}
}{- "ContentTypeGroup": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json",
- "_href": "/api/ibexa/v2/content/typegroups/6",
- "id": 6,
- "identifier": "newContentTypeGroup",
- "created": "2021-08-11T09:44:18+00:00",
- "modified": "2021-08-11T09:44:18+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "ContentTypes": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeInfoList+json",
- "_href": "/api/ibexa/v2/content/typegroups/6/types"
}
}
}Returns the content type group with provided ID.
| contentTypeGroupId required | string ContentTypeGroupLoadByIdController identifier |
| If-None-Match | string ETag |
{- "ContentTypeList": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeList+json",
- "_href": "/api/ibexa/v2/content/typegroups/1/types",
- "ContentType": [
- {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2",
- "id": 2,
- "status": "DEFINED",
- "identifier": "article",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Article"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "creationDate": "2002-06-18T09:21:38+00:00",
- "modificationDate": "2021-06-28T11:31:22+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/2/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2/draft"
}, - "remoteId": "c15b600eb9198b1924063b5a68758232",
- "urlAliasSchema": "",
- "nameSchema": "<short_title|title>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": false,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/1",
- "id": 1,
- "identifier": "title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": "New article",
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/152",
- "id": 152,
- "identifier": "short_title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/153",
- "id": 153,
- "identifier": "author",
- "fieldType": "ibexa_author",
- "fieldGroup": "",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": [ ],
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Author"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": {
- "defaultAuthor": 1
}, - "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/120",
- "id": 120,
- "identifier": "intro",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 4,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Intro"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/121",
- "id": 121,
- "identifier": "body",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 5,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Body"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/123",
- "id": 123,
- "identifier": "enable_comments",
- "fieldType": "ibexa_boolean",
- "fieldGroup": "",
- "position": 6,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": false,
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Enable comments"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/195",
- "id": 195,
- "identifier": "image",
- "fieldType": "ibexa_image_asset",
- "fieldGroup": "content",
- "position": 7,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Image"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/50",
- "id": 50,
- "status": "DEFINED",
- "identifier": "copy_of_article_50",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Article"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "creationDate": "2021-07-14T10:30:00+00:00",
- "modificationDate": "2021-07-14T10:30:00+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/50/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/50/draft"
}, - "remoteId": "fc9434492469d136ffe13377bfdcbb28",
- "urlAliasSchema": "",
- "nameSchema": "<short_title|title>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": false,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/197",
- "id": 197,
- "identifier": "title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": "New article",
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/198",
- "id": 198,
- "identifier": "short_title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/199",
- "id": 199,
- "identifier": "author",
- "fieldType": "ibexa_author",
- "fieldGroup": "",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": [ ],
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Author"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": {
- "defaultAuthor": 1
}, - "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/200",
- "id": 200,
- "identifier": "intro",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 4,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Intro"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/201",
- "id": 201,
- "identifier": "body",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 5,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Body"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/202",
- "id": 202,
- "identifier": "enable_comments",
- "fieldType": "ibexa_boolean",
- "fieldGroup": "",
- "position": 6,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": false,
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Enable comments"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/203",
- "id": 203,
- "identifier": "image",
- "fieldType": "ibexa_image_asset",
- "fieldGroup": "content",
- "position": 7,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Image"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/44",
- "id": 44,
- "status": "DEFINED",
- "identifier": "dog_breed",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Dog Breed"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "creationDate": "2021-06-28T11:28:00+00:00",
- "modificationDate": "2021-06-28T11:29:02+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/44/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/44/draft"
}, - "remoteId": "b348c95f7c573d4d502d6b59f80e618a",
- "urlAliasSchema": "",
- "nameSchema": "<name>",
- "isContainer": false,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PUBLISHED",
- "defaultSortOrder": "DESC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/44/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/44/fieldDefinitions/190",
- "id": 190,
- "identifier": "name",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 1,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Name"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/44/fieldDefinitions/191",
- "id": 191,
- "identifier": "photo",
- "fieldType": "ibexa_image_asset",
- "fieldGroup": "content",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Photo"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/44/fieldDefinitions/192",
- "id": 192,
- "identifier": "description",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "content",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Full Description"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1",
- "id": 1,
- "status": "DEFINED",
- "identifier": "folder",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Folder"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "creationDate": "2002-06-18T09:21:38+00:00",
- "modificationDate": "2015-11-29T21:14:32+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/1/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1/draft"
}, - "remoteId": "a3d405b81be900468eb153d774f4f0d2",
- "urlAliasSchema": null,
- "nameSchema": "<short_name|name>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/4",
- "id": 4,
- "identifier": "name",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": "Folder",
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Name"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/155",
- "id": 155,
- "identifier": "short_name",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short name"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 100,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/119",
- "id": 119,
- "identifier": "short_description",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short description"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/156",
- "id": 156,
- "identifier": "description",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 4,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Description"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/55",
- "id": 55,
- "status": "DEFINED",
- "identifier": "folder_55",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Folder"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "creationDate": "2021-07-28T07:57:22+00:00",
- "modificationDate": "2021-07-28T07:57:34+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/55/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/55/draft"
}, - "remoteId": "4eb7bc76f6d0bd1d5ded2d8936cc6afb",
- "urlAliasSchema": "",
- "nameSchema": "<short_name|name>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/55/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/55/fieldDefinitions/210",
- "id": 210,
- "identifier": "name",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": "Folder",
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Name"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/55/fieldDefinitions/211",
- "id": 211,
- "identifier": "short_name",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short name"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 100,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/55/fieldDefinitions/212",
- "id": 212,
- "identifier": "short_description",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short description"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/55/fieldDefinitions/213",
- "id": 213,
- "identifier": "description",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 4,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Description"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/43",
- "id": 43,
- "status": "DEFINED",
- "identifier": "form",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Form"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "creationDate": "2018-09-17T06:46:13+00:00",
- "modificationDate": "2018-09-17T06:47:14+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/43/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/43/draft"
}, - "remoteId": "6f7f21df775a33c1e4bbc76b48c38476",
- "urlAliasSchema": "",
- "nameSchema": "<title>",
- "isContainer": false,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PUBLISHED",
- "defaultSortOrder": "DESC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions/188",
- "id": 188,
- "identifier": "title",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions/189",
- "id": 189,
- "identifier": "form",
- "fieldType": "ibexa_form",
- "fieldGroup": "content",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "fields": [ ],
- "content_id": null,
- "content_field_id": null,
- "language_code": null
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Form"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/45",
- "id": 45,
- "status": "DEFINED",
- "identifier": "tip",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Tip"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "creationDate": "2021-06-28T11:29:19+00:00",
- "modificationDate": "2021-07-26T09:33:06+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/45/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/45/draft"
}, - "remoteId": "e6490e8a785edacd48629f2022be3125",
- "urlAliasSchema": "",
- "nameSchema": "<title>",
- "isContainer": false,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PUBLISHED",
- "defaultSortOrder": "DESC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/45/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/45/fieldDefinitions/193",
- "id": 193,
- "identifier": "title",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 1,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/45/fieldDefinitions/194",
- "id": 194,
- "identifier": "body",
- "fieldType": "ibexa_text",
- "fieldGroup": "content",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Body"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": {
- "textRows": 10
}, - "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/45/fieldDefinitions/204",
- "id": 204,
- "identifier": "richtext",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "content",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "richtext"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/42",
- "id": 42,
- "status": "DEFINED",
- "identifier": "landing_page",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Landing page"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": ""
}
]
}, - "creationDate": "2015-07-03T12:00:26+00:00",
- "modificationDate": "2015-07-03T12:00:26+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/42/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/42/draft"
}, - "remoteId": "60c03e9758465eb69d56b3afb6adf18e",
- "urlAliasSchema": "",
- "nameSchema": "<name>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PUBLISHED",
- "defaultSortOrder": "DESC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/185",
- "id": 185,
- "identifier": "name",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 10,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/186",
- "id": 186,
- "identifier": "description",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 20,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Description"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Landing page description"
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/187",
- "id": 187,
- "identifier": "page",
- "fieldType": "ibexa_landing_page",
- "fieldGroup": "content",
- "position": 30,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "layout": "default",
- "zones": [
- {
- "id": "default_id",
- "name": "default",
- "blocks": [ ]
}
]
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Landing page"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Landing page"
}
]
}, - "fieldSettings": {
- "availableBlocks": null,
- "availableLayouts": null,
- "editorMode": "page_view_mode"
}, - "validatorConfiguration": [ ]
}
]
}
}
]
}
}Updates a content type group. PATCH or POST with header X-HTTP-Method-Override PATCH.
| contentTypeGroupId required | string ContentTypeGroupUpdateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
| If-Match required | string ETag causes patching only if the specified ETag is the current one. Otherwise a 412 is returned. |
The content type group input schema encoded in XML or JSON format.
| ContentTypeGroupInput required | object (ContentTypeGroupInput) |
{- "ContentTypeGroupInput": {
- "identifier": "updatedIdentifer"
}
}{- "ContentTypeGroup": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json",
- "_href": "/api/ibexa/v2/content/typegroups/4",
- "id": 4,
- "identifier": "updatedIdentifer",
- "created": "2021-08-11T09:44:18+00:00",
- "modified": "2021-08-11T10:10:04+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "ContentTypes": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeInfoList+json",
- "_href": "/api/ibexa/v2/content/typegroups/6/types"
}
}
}Returns a list of content types in the provided group.
| contentTypeGroupId required | string ContentTypeListForGroupController identifier |
{- "ContentTypeList": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeList+json",
- "_href": "/api/ibexa/v2/content/types",
- "ContentType": [
- {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2",
- "id": 2,
- "status": "DEFINED",
- "identifier": "article",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Article"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "creationDate": "2002-06-18T09:21:38+00:00",
- "modificationDate": "2021-06-28T11:31:22+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/2/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2/draft"
}, - "remoteId": "c15b600eb9198b1924063b5a68758232",
- "urlAliasSchema": "",
- "nameSchema": "<short_title|title>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": false,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/1",
- "id": 1,
- "identifier": "title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": "New article",
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/152",
- "id": 152,
- "identifier": "short_title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/153",
- "id": 153,
- "identifier": "author",
- "fieldType": "ibexa_author",
- "fieldGroup": "",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": [ ],
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Author"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": {
- "defaultAuthor": 1
}, - "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/120",
- "id": 120,
- "identifier": "intro",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 4,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Intro"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/121",
- "id": 121,
- "identifier": "body",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 5,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Body"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/123",
- "id": 123,
- "identifier": "enable_comments",
- "fieldType": "ibexa_boolean",
- "fieldGroup": "",
- "position": 6,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": false,
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Enable comments"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/195",
- "id": 195,
- "identifier": "image",
- "fieldType": "ibexa_image_asset",
- "fieldGroup": "content",
- "position": 7,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Image"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/50",
- "id": 50,
- "status": "DEFINED",
- "identifier": "copy_of_article_50",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Article"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "creationDate": "2021-07-14T10:30:00+00:00",
- "modificationDate": "2021-07-14T10:30:00+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/50/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/50/draft"
}, - "remoteId": "fc9434492469d136ffe13377bfdcbb28",
- "urlAliasSchema": "",
- "nameSchema": "<short_title|title>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": false,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/197",
- "id": 197,
- "identifier": "title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": "New article",
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/198",
- "id": 198,
- "identifier": "short_title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/199",
- "id": 199,
- "identifier": "author",
- "fieldType": "ibexa_author",
- "fieldGroup": "",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": [ ],
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Author"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": {
- "defaultAuthor": 1
}, - "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/200",
- "id": 200,
- "identifier": "intro",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 4,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Intro"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/201",
- "id": 201,
- "identifier": "body",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 5,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Body"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/202",
- "id": 202,
- "identifier": "enable_comments",
- "fieldType": "ibexa_boolean",
- "fieldGroup": "",
- "position": 6,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": false,
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Enable comments"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/203",
- "id": 203,
- "identifier": "image",
- "fieldType": "ibexa_image_asset",
- "fieldGroup": "content",
- "position": 7,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Image"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/44",
- "id": 44,
- "status": "DEFINED",
- "identifier": "dog_breed",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Dog Breed"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "creationDate": "2021-06-28T11:28:00+00:00",
- "modificationDate": "2021-06-28T11:29:02+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/44/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/44/draft"
}, - "remoteId": "b348c95f7c573d4d502d6b59f80e618a",
- "urlAliasSchema": "",
- "nameSchema": "<name>",
- "isContainer": false,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PUBLISHED",
- "defaultSortOrder": "DESC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/44/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/44/fieldDefinitions/190",
- "id": 190,
- "identifier": "name",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 1,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Name"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/44/fieldDefinitions/191",
- "id": 191,
- "identifier": "photo",
- "fieldType": "ibexa_image_asset",
- "fieldGroup": "content",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Photo"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/44/fieldDefinitions/192",
- "id": 192,
- "identifier": "description",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "content",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Full Description"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1",
- "id": 1,
- "status": "DEFINED",
- "identifier": "folder",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Folder"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "creationDate": "2002-06-18T09:21:38+00:00",
- "modificationDate": "2015-11-29T21:14:32+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/1/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1/draft"
}, - "remoteId": "a3d405b81be900468eb153d774f4f0d2",
- "urlAliasSchema": null,
- "nameSchema": "<short_name|name>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/4",
- "id": 4,
- "identifier": "name",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": "Folder",
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Name"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/155",
- "id": 155,
- "identifier": "short_name",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short name"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 100,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/119",
- "id": 119,
- "identifier": "short_description",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short description"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/156",
- "id": 156,
- "identifier": "description",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 4,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Description"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/43",
- "id": 43,
- "status": "DEFINED",
- "identifier": "form",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Form"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "creationDate": "2018-09-17T06:46:13+00:00",
- "modificationDate": "2018-09-17T06:47:14+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/43/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/43/draft"
}, - "remoteId": "6f7f21df775a33c1e4bbc76b48c38476",
- "urlAliasSchema": "",
- "nameSchema": "<title>",
- "isContainer": false,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PUBLISHED",
- "defaultSortOrder": "DESC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions/188",
- "id": 188,
- "identifier": "title",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions/189",
- "id": 189,
- "identifier": "form",
- "fieldType": "ibexa_form",
- "fieldGroup": "content",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "fields": [ ],
- "content_id": null,
- "content_field_id": null,
- "language_code": null
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Form"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/45",
- "id": 45,
- "status": "DEFINED",
- "identifier": "tip",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Tip"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "creationDate": "2021-06-28T11:29:19+00:00",
- "modificationDate": "2021-07-26T09:33:06+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/45/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/45/draft"
}, - "remoteId": "e6490e8a785edacd48629f2022be3125",
- "urlAliasSchema": "",
- "nameSchema": "<title>",
- "isContainer": false,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PUBLISHED",
- "defaultSortOrder": "DESC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/45/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/45/fieldDefinitions/193",
- "id": 193,
- "identifier": "title",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 1,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/45/fieldDefinitions/194",
- "id": 194,
- "identifier": "body",
- "fieldType": "ibexa_text",
- "fieldGroup": "content",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Body"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": {
- "textRows": 10
}, - "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/45/fieldDefinitions/204",
- "id": 204,
- "identifier": "richtext",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "content",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "richtext"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/42",
- "id": 42,
- "status": "DEFINED",
- "identifier": "landing_page",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Landing page"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": ""
}
]
}, - "creationDate": "2015-07-03T12:00:26+00:00",
- "modificationDate": "2015-07-03T12:00:26+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/42/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/42/draft"
}, - "remoteId": "60c03e9758465eb69d56b3afb6adf18e",
- "urlAliasSchema": "",
- "nameSchema": "<name>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PUBLISHED",
- "defaultSortOrder": "DESC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/185",
- "id": 185,
- "identifier": "name",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 10,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/186",
- "id": 186,
- "identifier": "description",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 20,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Description"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Landing page description"
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/187",
- "id": 187,
- "identifier": "page",
- "fieldType": "ibexa_landing_page",
- "fieldGroup": "content",
- "position": 30,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "layout": "default",
- "zones": [
- {
- "id": "default_id",
- "name": "default",
- "blocks": [ ]
}
]
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Landing page"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Landing page"
}
]
}, - "fieldSettings": {
- "availableBlocks": null,
- "availableLayouts": null,
- "editorMode": "page_view_mode"
}, - "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/4",
- "id": 4,
- "status": "DEFINED",
- "identifier": "user",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "User"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "creationDate": "2002-06-18T09:21:38+00:00",
- "modificationDate": "2004-04-15T08:39:24+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/4/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/4/draft"
}, - "remoteId": "40faa822edc579b02c25f6bb7beec3ad",
- "urlAliasSchema": null,
- "nameSchema": "<first_name> <last_name>",
- "isContainer": false,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/4/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/4/fieldDefinitions/8",
- "id": 8,
- "identifier": "first_name",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "First name"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/4/fieldDefinitions/9",
- "id": 9,
- "identifier": "last_name",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Last name"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/4/fieldDefinitions/12",
- "id": 12,
- "identifier": "user_account",
- "fieldType": "ibexa_user",
- "fieldGroup": "",
- "position": 3,
- "isTranslatable": false,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "User account"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": {
- "PasswordTTL": 0,
- "PasswordTTLWarning": 0,
- "RequireUniqueEmail": false,
- "UsernamePattern": "^[^@]+$"
}, - "validatorConfiguration": {
- "PasswordValueValidator": {
- "requireAtLeastOneUpperCaseCharacter": true,
- "requireAtLeastOneLowerCaseCharacter": true,
- "requireAtLeastOneNumericCharacter": true,
- "requireAtLeastOneNonAlphanumericCharacter": false,
- "requireNewPassword": false,
- "minLength": 10
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/4/fieldDefinitions/179",
- "id": 179,
- "identifier": "signature",
- "fieldType": "ibexa_text",
- "fieldGroup": "",
- "position": 4,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Signature"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": {
- "textRows": 10
}, - "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/4/fieldDefinitions/180",
- "id": 180,
- "identifier": "image",
- "fieldType": "ibexa_image",
- "fieldGroup": "",
- "position": 5,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Image"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "FileSizeValidator": {
- "maxFileSize": 10
}
}
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/3",
- "id": 3,
- "status": "DEFINED",
- "identifier": "user_group",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "User group"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "creationDate": "2002-06-18T09:21:38+00:00",
- "modificationDate": "2003-03-24T08:32:23+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/3/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/3/draft"
}, - "remoteId": "25b4268cdcd01921b808a0d854b877ef",
- "urlAliasSchema": null,
- "nameSchema": "<name>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/3/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/3/fieldDefinitions/6",
- "id": 6,
- "identifier": "name",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Name"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/3/fieldDefinitions/7",
- "id": 7,
- "identifier": "description",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Description"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/12",
- "id": 12,
- "status": "DEFINED",
- "identifier": "file",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "File"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "creationDate": "2003-05-08T09:17:52+00:00",
- "modificationDate": "2003-05-08T09:21:09+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/12/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/12/draft"
}, - "remoteId": "637d58bfddf164627bdfd265733280a0",
- "urlAliasSchema": null,
- "nameSchema": "<name>",
- "isContainer": false,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/12/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/12/fieldDefinitions/146",
- "id": 146,
- "identifier": "name",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": "New file",
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Name"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/12/fieldDefinitions/147",
- "id": 147,
- "identifier": "description",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Description"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/12/fieldDefinitions/148",
- "id": 148,
- "identifier": "file",
- "fieldType": "ibexa_author",
- "fieldGroup": "",
- "position": 3,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "File"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "FileSizeValidator": {
- "maxFileSize": null
}
}
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/5",
- "id": 5,
- "status": "DEFINED",
- "identifier": "image",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Image"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "creationDate": "2002-09-08T11:36:32+00:00",
- "modificationDate": "2003-03-24T08:33:04+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/5/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/5/draft"
}, - "remoteId": "f6df12aa74e36230eb675f364fccd25a",
- "urlAliasSchema": null,
- "nameSchema": "<name>",
- "isContainer": false,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/5/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/5/fieldDefinitions/116",
- "id": 116,
- "identifier": "name",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Name"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 150,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/5/fieldDefinitions/117",
- "id": 117,
- "identifier": "caption",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Caption"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/5/fieldDefinitions/118",
- "id": 118,
- "identifier": "image",
- "fieldType": "ibexa_image",
- "fieldGroup": "",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Image"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "FileSizeValidator": {
- "maxFileSize": 10
}
}
}
]
}
}
]
}
}Creates a new content type draft in the given content type group.
| contentTypeGroupId required | string ContentTypeCreateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The content type Create schema encoded in XML or JSON format.
required | object (ContentTypeCreate) This class is used to create a content type. |
{- "ContentTypeCreate": {
- "identifier": "new_content_type",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "New content type"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "This is a description"
}
]
}, - "remoteId": "remoteId-qwerty548",
- "urlAliasSchema": "<title>",
- "nameSchema": "<title>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "FieldDefinition": [
- {
- "identifier": "title",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": "New Title",
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "This is the title"
}
]
}
}, - {
- "identifier": "summary",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "content",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Summary"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "This is the summary"
}
]
}
}
]
}
}
}{- "ContentType": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "status": "DEFINED",
- "identifier": "string",
- "names": null,
- "descriptions": null,
- "creationDate": "2019-08-24T14:15:22Z",
- "modificationDate": "2019-08-24T14:15:22Z",
- "Creator": {
- "_media-type": "string",
- "_href": "string"
}, - "Modifier": {
- "_media-type": "string",
- "_href": "string"
}, - "Groups": {
- "_media-type": "string",
- "_href": "string"
}, - "Draft": {
- "_media-type": "string",
- "_href": "string"
}, - "remoteId": "string",
- "urlAliasSchema": "string",
- "nameSchema": "string",
- "isContainer": true,
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": null
}
}{- "ContentTypeList": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeList+json",
- "_href": "/api/ibexa/v2/content/typegroups/1/types",
- "ContentType": [
- {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2",
- "id": 2,
- "status": "DEFINED",
- "identifier": "article",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Article"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "creationDate": "2002-06-18T09:21:38+00:00",
- "modificationDate": "2004-04-20T09:56:29+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/2/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2/draft"
}, - "remoteId": "c15b600eb9198b1924063b5a68758232",
- "urlAliasSchema": null,
- "nameSchema": "<short_title|title>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": false,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/1",
- "id": 1,
- "identifier": "title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": "New article",
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/152",
- "id": 152,
- "identifier": "short_title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short title"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/153",
- "id": 153,
- "identifier": "author",
- "fieldType": "ibexa_author",
- "fieldGroup": "",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": [ ],
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Author"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": {
- "defaultAuthor": 1
}, - "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/120",
- "id": 120,
- "identifier": "intro",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 4,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Intro"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/121",
- "id": 121,
- "identifier": "body",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 5,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Body"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/123",
- "id": 123,
- "identifier": "enable_comments",
- "fieldType": "ibexa_boolean",
- "fieldGroup": "",
- "position": 6,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": false,
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Enable comments"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/154",
- "id": 154,
- "identifier": "image",
- "fieldType": "ibexa_object_relation",
- "fieldGroup": "",
- "position": 7,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "destinationContentId": null
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Image"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": {
- "selectionMethod": "SELECTION_BROWSE",
- "selectionRoot": "",
- "selectionContentTypes": [ ]
}, - "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1",
- "id": 1,
- "status": "DEFINED",
- "identifier": "folder",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Folder"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "creationDate": "2002-06-18T09:21:38+00:00",
- "modificationDate": "2015-11-29T21:14:32+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/1/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1/draft"
}, - "remoteId": "a3d405b81be900468eb153d774f4f0d2",
- "urlAliasSchema": null,
- "nameSchema": "<short_name|name>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/4",
- "id": 4,
- "identifier": "name",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": "Folder",
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Name"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/155",
- "id": 155,
- "identifier": "short_name",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short name"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 100,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/119",
- "id": 119,
- "identifier": "short_description",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short description"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/156",
- "id": 156,
- "identifier": "description",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 4,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Description"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/43",
- "id": 43,
- "status": "DEFINED",
- "identifier": "form",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Form"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "creationDate": "2018-09-17T06:46:13+00:00",
- "modificationDate": "2018-09-17T06:47:14+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/43/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/43/draft"
}, - "remoteId": "6f7f21df775a33c1e4bbc76b48c38476",
- "urlAliasSchema": "",
- "nameSchema": "<title>",
- "isContainer": false,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PUBLISHED",
- "defaultSortOrder": "DESC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions/188",
- "id": 188,
- "identifier": "title",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions/189",
- "id": 189,
- "identifier": "form",
- "fieldType": "ibexa_form",
- "fieldGroup": "content",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "fields": [ ],
- "content_id": null,
- "content_field_id": null,
- "language_code": null
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Form"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/42",
- "id": 42,
- "status": "DEFINED",
- "identifier": "landing_page",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Landing page"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": ""
}
]
}, - "creationDate": "2015-07-03T12:00:26+00:00",
- "modificationDate": "2015-07-03T12:00:26+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/42/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/42/draft"
}, - "remoteId": "60c03e9758465eb69d56b3afb6adf18e",
- "urlAliasSchema": "",
- "nameSchema": "<name>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PUBLISHED",
- "defaultSortOrder": "DESC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/185",
- "id": 185,
- "identifier": "name",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 10,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/186",
- "id": 186,
- "identifier": "description",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 20,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Description"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Landing page description"
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/187",
- "id": 187,
- "identifier": "page",
- "fieldType": "ibexa_landing_page",
- "fieldGroup": "content",
- "position": 30,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "layout": "default",
- "zones": [
- {
- "id": "default_id",
- "name": "default",
- "blocks": [ ]
}
]
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Landing page"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Landing page"
}
]
}, - "fieldSettings": {
- "availableBlocks": null,
- "availableLayouts": null,
- "editorMode": "page_view_mode"
}, - "validatorConfiguration": [ ]
}
]
}
}
]
}
}Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API.
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The view input in XML or JSON format.
required | object (ContentTypeViewInput) This class represents a content type view input. |
{- "ViewInput": {
- "identifier": "ContentTypeView",
- "ContentTypeQuery": {
- "limit": "10",
- "offset": "1",
- "Query": {
- "ContentTypeIdCriterion": [
- 1,
- 2
], - "ContentTypeIdentifierCriterion": "folder",
- "IsSystemCriterion": true,
- "ContentTypeGroupIdCriterion": 1,
- "ContainsFieldDefinitionIdCriterion": 2
}, - "SortClauses": {
- "Identifier": "descending",
- "Id": "ascending"
}
}
}
}{- "ContentTypeList": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeList+json",
- "_href": "/api/ibexa/v2/content/typegroups/1/types",
- "ContentType": [
- {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2",
- "id": 2,
- "status": "DEFINED",
- "identifier": "article",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Article"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "creationDate": "2002-06-18T09:21:38+00:00",
- "modificationDate": "2004-04-20T09:56:29+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/2/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2/draft"
}, - "remoteId": "c15b600eb9198b1924063b5a68758232",
- "urlAliasSchema": null,
- "nameSchema": "<short_title|title>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": false,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/1",
- "id": 1,
- "identifier": "title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": "New article",
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/152",
- "id": 152,
- "identifier": "short_title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short title"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/153",
- "id": 153,
- "identifier": "author",
- "fieldType": "ibexa_author",
- "fieldGroup": "",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": [ ],
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Author"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": {
- "defaultAuthor": 1
}, - "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/120",
- "id": 120,
- "identifier": "intro",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 4,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Intro"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/121",
- "id": 121,
- "identifier": "body",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 5,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Body"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/123",
- "id": 123,
- "identifier": "enable_comments",
- "fieldType": "ibexa_boolean",
- "fieldGroup": "",
- "position": 6,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": false,
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Enable comments"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/154",
- "id": 154,
- "identifier": "image",
- "fieldType": "ibexa_object_relation",
- "fieldGroup": "",
- "position": 7,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "destinationContentId": null
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Image"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": {
- "selectionMethod": "SELECTION_BROWSE",
- "selectionRoot": "",
- "selectionContentTypes": [ ]
}, - "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1",
- "id": 1,
- "status": "DEFINED",
- "identifier": "folder",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Folder"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "creationDate": "2002-06-18T09:21:38+00:00",
- "modificationDate": "2015-11-29T21:14:32+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/1/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1/draft"
}, - "remoteId": "a3d405b81be900468eb153d774f4f0d2",
- "urlAliasSchema": null,
- "nameSchema": "<short_name|name>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/4",
- "id": 4,
- "identifier": "name",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": "Folder",
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Name"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/155",
- "id": 155,
- "identifier": "short_name",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short name"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 100,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/119",
- "id": 119,
- "identifier": "short_description",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short description"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/156",
- "id": 156,
- "identifier": "description",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 4,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Description"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/43",
- "id": 43,
- "status": "DEFINED",
- "identifier": "form",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Form"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "creationDate": "2018-09-17T06:46:13+00:00",
- "modificationDate": "2018-09-17T06:47:14+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/43/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/43/draft"
}, - "remoteId": "6f7f21df775a33c1e4bbc76b48c38476",
- "urlAliasSchema": "",
- "nameSchema": "<title>",
- "isContainer": false,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PUBLISHED",
- "defaultSortOrder": "DESC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions/188",
- "id": 188,
- "identifier": "title",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions/189",
- "id": 189,
- "identifier": "form",
- "fieldType": "ibexa_form",
- "fieldGroup": "content",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "fields": [ ],
- "content_id": null,
- "content_field_id": null,
- "language_code": null
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Form"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/42",
- "id": 42,
- "status": "DEFINED",
- "identifier": "landing_page",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Landing page"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": ""
}
]
}, - "creationDate": "2015-07-03T12:00:26+00:00",
- "modificationDate": "2015-07-03T12:00:26+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/42/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/42/draft"
}, - "remoteId": "60c03e9758465eb69d56b3afb6adf18e",
- "urlAliasSchema": "",
- "nameSchema": "<name>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PUBLISHED",
- "defaultSortOrder": "DESC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/185",
- "id": 185,
- "identifier": "name",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 10,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/186",
- "id": 186,
- "identifier": "description",
- "fieldType": "ibexa_string",
- "fieldGroup": "content",
- "position": 20,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Description"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Landing page description"
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": null,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/187",
- "id": 187,
- "identifier": "page",
- "fieldType": "ibexa_landing_page",
- "fieldGroup": "content",
- "position": 30,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "layout": "default",
- "zones": [
- {
- "id": "default_id",
- "name": "default",
- "blocks": [ ]
}
]
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Landing page"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Landing page"
}
]
}, - "fieldSettings": {
- "availableBlocks": null,
- "availableLayouts": null,
- "editorMode": "page_view_mode"
}, - "validatorConfiguration": [ ]
}
]
}
}
]
}
}Returns the content type with the provided ID.
| contentTypeId required | string ContentTypeLoadByIdController identifier |
| If-None-Match | string ETag |
{- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2",
- "id": 2,
- "status": "DEFINED",
- "identifier": "article",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Article"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "creationDate": "2002-06-18T09:21:38+00:00",
- "modificationDate": "2021-06-28T11:31:22+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/2/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2/draft"
}, - "remoteId": "c15b600eb9198b1924063b5a68758232",
- "urlAliasSchema": "",
- "nameSchema": "<short_title|title>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": false,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/1",
- "id": 1,
- "identifier": "title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": "New article",
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/152",
- "id": 152,
- "identifier": "short_title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/153",
- "id": 153,
- "identifier": "author",
- "fieldType": "ibexa_author",
- "fieldGroup": "",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": [ ],
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Author"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": {
- "defaultAuthor": 1
}, - "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/120",
- "id": 120,
- "identifier": "intro",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 4,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Intro"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/121",
- "id": 121,
- "identifier": "body",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 5,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Body"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/123",
- "id": 123,
- "identifier": "enable_comments",
- "fieldType": "ibexa_boolean",
- "fieldGroup": "",
- "position": 6,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": false,
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Enable comments"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/195",
- "id": 195,
- "identifier": "image",
- "fieldType": "ibexa_image_asset",
- "fieldGroup": "content",
- "position": 7,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Image"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}
}Creates a draft and updates it with the given data.
| contentTypeId required | string ContentTypeDraftCreateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The content type Update schema encoded in XML or JSON format.
required | object (ContentTypeUpdate) This class is used to update a content type. |
{- "ContentTypeUpdate": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeUpdate",
- "defaultAlwaysAvailable": "true"
}
}{- "ContentTypeInfo": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeInfo+json",
- "_href": "/api/ibexa/v2/content/types/1/draft",
- "id": 1,
- "status": "DRAFT",
- "identifier": "folder",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Folder"
}
]
}, - "descriptions": {
- "value": [ ]
}, - "creationDate": "2002-06-18T09:21:38+00:00",
- "modificationDate": "2021-08-11T11:17:58+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/1/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1/draft"
}, - "remoteId": "a3d405b81be900468eb153d774f4f0d2",
- "urlAliasSchema": null,
- "nameSchema": "<short_name|name>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC"
}
}Returns the draft of the content type with the provided ID.
| contentTypeId required | string ContentTypeDraftLoadController identifier |
{- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2",
- "id": 2,
- "status": "DEFINED",
- "identifier": "article",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Article"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "creationDate": "2002-06-18T09:21:38+00:00",
- "modificationDate": "2021-06-28T11:31:22+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/2/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2/draft"
}, - "remoteId": "c15b600eb9198b1924063b5a68758232",
- "urlAliasSchema": "",
- "nameSchema": "<short_title|title>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": false,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/1",
- "id": 1,
- "identifier": "title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": "New article",
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/152",
- "id": 152,
- "identifier": "short_title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 2,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": null,
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Short title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/153",
- "id": 153,
- "identifier": "author",
- "fieldType": "ibexa_author",
- "fieldGroup": "",
- "position": 3,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": [ ],
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Author"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": {
- "defaultAuthor": 1
}, - "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/120",
- "id": 120,
- "identifier": "intro",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 4,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Intro"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/121",
- "id": 121,
- "identifier": "body",
- "fieldType": "ibexa_richtext",
- "fieldGroup": "",
- "position": 5,
- "isTranslatable": true,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}, - "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Body"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/123",
- "id": 123,
- "identifier": "enable_comments",
- "fieldType": "ibexa_boolean",
- "fieldGroup": "",
- "position": 6,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": false,
- "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Enable comments"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/195",
- "id": 195,
- "identifier": "image",
- "fieldType": "ibexa_image_asset",
- "fieldGroup": "content",
- "position": 7,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Image"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
]
}
}
}Updates metadata of a draft. This method does not handle Field definitions. PATCH or POST with header X-HTTP-Method-Override PATCH.
| contentTypeId required | string ContentTypeDraftUpdateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The content type update schema encoded in XML or JSON format.
required | object (ContentTypeUpdate) This class is used to update a content type. |
{- "ContentTypeUpdate": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeUpdate",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Updated content type name"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "This is an updated content type description"
}
]
}
}
}{- "ContentTypeInfo": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeInfo+json",
- "_href": "/api/ibexa/v2/content/types/2/draft",
- "id": 2,
- "status": "DRAFT",
- "identifier": "article",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Updated content type name"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "This is an updated content type description"
}
]
}, - "creationDate": "2002-06-18T09:21:38+00:00",
- "modificationDate": "2021-08-11T11:58:24+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Modifier": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/types/2/groups"
}, - "Draft": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2/draft"
}, - "remoteId": "c15b600eb9198b1924063b5a68758232",
- "urlAliasSchema": null,
- "nameSchema": "<short_title|title>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": true,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC"
}
}Returns all Field definitions of the provided content type Draft.
| contentTypeId required | string ContentTypeDraftFieldDefinitionListController identifier |
{- "FieldDefinitions": {
- "FieldDefinition": [
- {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "identifier": "string",
- "fieldType": "string",
- "fieldGroup": "string",
- "position": 0,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": true,
- "defaultValue": null,
- "isSearchable": true,
- "names": null,
- "descriptions": null,
- "fieldSettings": null,
- "validatorConfiguration": {
- "maxStringLength": 0,
- "minStringLength": 0
}
}
]
}
}Creates a new Field definition for the given content type.
| contentTypeId required | string ContentTypeDraftFieldDefinitionAddController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The Field Definition Create schema encoded in XML or JSON format.
required | object (FieldDefinitionCreate) |
{- "FieldDefinitionCreate": {
- "_media-type": "string",
- "_href": "string"
}
}{- "FieldDefinition": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/195",
- "id": 195,
- "identifier": "image",
- "fieldType": "ibexa_image_asset",
- "fieldGroup": "content",
- "position": 7,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Image"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
}Returns the Field definition by the given ID.
| contentTypeId required | string ContentTypeDraftFieldDefinitionLoadByIdController identifier |
| fieldDefinitionId required | string ContentTypeDraftFieldDefinitionLoadByIdController identifier |
{- "FieldDefinition": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/195",
- "id": 195,
- "identifier": "image",
- "fieldType": "ibexa_image_asset",
- "fieldGroup": "content",
- "position": 7,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Image"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
}Deletes the provided Field definition.
| contentTypeId required | string ContentTypeDraftFieldDefinitionDeleteController identifier |
| fieldDefinitionId required | string ContentTypeDraftFieldDefinitionDeleteController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
Updates the attributes of a Field definition.
| contentTypeId required | string ContentTypeDraftFieldDefinitionUpdateController identifier |
| fieldDefinitionId required | string ContentTypeDraftFieldDefinitionUpdateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The Field definition update schema encoded in XML or JSON format.
required | object (FieldDefinitionUpdate) |
{- "FieldDefinitionUpdate": {
- "_media-type": "string",
- "_href": "string"
}
}{- "FieldDefinition": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/195",
- "id": 195,
- "identifier": "image",
- "fieldType": "ibexa_image_asset",
- "fieldGroup": "content",
- "position": 7,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Image"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
}Returns all Field definitions of the provided content type.
| contentTypeId required | string ContentTypeFieldDefinitionListController identifier |
{- "FieldDefinitions": {
- "FieldDefinition": [
- {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "identifier": "string",
- "fieldType": "string",
- "fieldGroup": "string",
- "position": 0,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": true,
- "defaultValue": null,
- "isSearchable": true,
- "names": null,
- "descriptions": null,
- "fieldSettings": null,
- "validatorConfiguration": {
- "maxStringLength": 0,
- "minStringLength": 0
}
}
]
}
}Returns the Field definition by the given ID.
| contentTypeId required | string ContentTypeFieldDefinitionLoadByIdController identifier |
| fieldDefinitionId required | string ContentTypeFieldDefinitionLoadByIdController identifier |
{- "FieldDefinition": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/195",
- "id": 195,
- "identifier": "image",
- "fieldType": "ibexa_image_asset",
- "fieldGroup": "content",
- "position": 7,
- "isTranslatable": false,
- "isRequired": false,
- "isInfoCollector": false,
- "defaultValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}, - "isSearchable": false,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Image"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": [ ]
}
}Returns the content type group to which content type belongs to.
| contentTypeId required | string ContentTypeGroupListController identifier |
{- "ContentTypeGroupRefList": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/typegroups/2/types",
- "ContentTypeGroupRef": [
- {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json",
- "_href": "/api/ibexa/v2/content/typegroups/1"
}
]
}
}Links a content type group to the content type and returns the updated group list.
| contentTypeId required | string ContentTypeLinkToGroupController identifier |
| group required | string Destination content type group URI; for example with content type group 4: |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
{- "ContentTypeGroupRefList": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/typegroups/2/types",
- "ContentTypeGroupRef": [
- {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json",
- "_href": "/api/ibexa/v2/content/typegroups/1",
- "unlink": {
- "_href": "/api/ibexa/v2/content/types/2/groups/1",
- "_method": "DELETE"
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json",
- "_href": "/api/ibexa/v2/content/typegroups/2",
- "unlink": {
- "_href": "/api/ibexa/v2/content/types/2/groups/2",
- "_method": "DELETE"
}
}
]
}
}Removes the given group from the content type and returns the updated group list.
| contentTypeId required | string ContentTypeUnlinkFromGroupController identifier |
| id required | string ContentTypeUnlinkFromGroupController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
{- "ContentTypeGroupRefList": {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json",
- "_href": "/api/ibexa/v2/content/typegroups/2/types",
- "ContentTypeGroupRef": [
- {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json",
- "_href": "/api/ibexa/v2/content/typegroups/1",
- "unlink": {
- "_href": "/api/ibexa/v2/content/types/2/groups/1",
- "_method": "DELETE"
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json",
- "_href": "/api/ibexa/v2/content/typegroups/2",
- "unlink": {
- "_href": "/api/ibexa/v2/content/types/2/groups/2",
- "_method": "DELETE"
}
}
]
}
}Loads the current user.
| Accept required | string If set, the User is returned in XML or JSON format. |
<?xml version="1.0" encoding="UTF-8"?> <UserList media-type="application/vnd.ibexa.api.UserList+xml" href="/api/ibexa/v2/user/users"> <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/79" id="79" remoteId="bcf0764b417f05af21852a1f03fb1f13"> <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/4"/> <name>Jose Vargas</name> <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/79/versions"/> <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/12/79"/> <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/79/locations"/> <Groups media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/users/79/groups"/> <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/10"/> <publishDate>2021-06-29T08:23:42+00:00</publishDate> <lastModificationDate>2021-06-29T08:23:42+00:00</lastModificationDate> <mainLanguageCode>eng-GB</mainLanguageCode> <alwaysAvailable>true</alwaysAvailable> <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/79/versions/1"> <VersionInfo> <id>547</id> <versionNo>1</versionNo> <status>PUBLISHED</status> <modificationDate>2021-06-29T08:23:42+00:00</modificationDate> <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/10"/> <creationDate>2021-06-29T08:23:42+00:00</creationDate> <initialLanguageCode>eng-GB</initialLanguageCode> <languageCodes>eng-GB</languageCodes> <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> <Language> <languageCode>eng-GB</languageCode> </Language> </VersionTranslationInfo> <names> <value languageCode="eng-GB">Jose Vargas</value> </names> <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/79"/> </VersionInfo> <Fields> <field> <id>342</id> <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>Jose</fieldValue> </field> <field> <id>343</id> <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>Vargas</fieldValue> </field> <field> <id>344</id> <fieldDefinitionIdentifier>user_account</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_user</fieldTypeIdentifier> <fieldValue> <value key="hasStoredLogin">true</value> <value key="contentId">79</value> <value key="login">josevargas</value> <value key="email">aa@bb.cc</value> <value key="passwordUpdatedAt">1624955022</value> <value key="enabled">true</value> <value key="maxLogin">0</value> <value key="plainPassword"/> </fieldValue> </field> <field> <id>345</id> <fieldDefinitionIdentifier>signature</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_text</fieldTypeIdentifier> <fieldValue/> </field> <field> <id>346</id> <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_image</fieldTypeIdentifier> <fieldValue/> </field> </Fields> <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/79/versions/1/relations"/> <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user</resource> <width></width> <height></height> <mimeType>image/svg+xml</mimeType> </Thumbnail> </Version> <login>josevargas</login> <email>aa@bb.cc</email> <enabled>true</enabled> <UserGroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/users/79/groups"/> <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/users/79/roles"/> </User> </UserList>
Load Users either for a given remote ID or Role.
| Accept required | string UserList - If set, the User list is returned in XML or JSON format. UserRefList - If set, the link list of Users is returned in XML or JSON format. |
<?xml version="1.0" encoding="UTF-8"?> <UserList media-type="application/vnd.ibexa.api.UserList+xml" href="/api/ibexa/v2/user/users"> <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/79" id="79" remoteId="bcf0764b417f05af21852a1f03fb1f13"> <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/4"/> <name>Jose Vargas</name> <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/79/versions"/> <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/12/79"/> <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/79/locations"/> <Groups media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/users/79/groups"/> <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/10"/> <publishDate>2021-06-29T08:23:42+00:00</publishDate> <lastModificationDate>2021-06-29T08:23:42+00:00</lastModificationDate> <mainLanguageCode>eng-GB</mainLanguageCode> <alwaysAvailable>true</alwaysAvailable> <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/79/versions/1"> <VersionInfo> <id>547</id> <versionNo>1</versionNo> <status>PUBLISHED</status> <modificationDate>2021-06-29T08:23:42+00:00</modificationDate> <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/10"/> <creationDate>2021-06-29T08:23:42+00:00</creationDate> <initialLanguageCode>eng-GB</initialLanguageCode> <languageCodes>eng-GB</languageCodes> <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> <Language> <languageCode>eng-GB</languageCode> </Language> </VersionTranslationInfo> <names> <value languageCode="eng-GB">Jose Vargas</value> </names> <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/79"/> </VersionInfo> <Fields> <field> <id>342</id> <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>Jose</fieldValue> </field> <field> <id>343</id> <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>Vargas</fieldValue> </field> <field> <id>344</id> <fieldDefinitionIdentifier>user_account</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_user</fieldTypeIdentifier> <fieldValue> <value key="hasStoredLogin">true</value> <value key="contentId">79</value> <value key="login">josevargas</value> <value key="email">aa@bb.cc</value> <value key="passwordUpdatedAt">1624955022</value> <value key="enabled">true</value> <value key="maxLogin">0</value> <value key="plainPassword"/> </fieldValue> </field> <field> <id>345</id> <fieldDefinitionIdentifier>signature</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_text</fieldTypeIdentifier> <fieldValue/> </field> <field> <id>346</id> <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_image</fieldTypeIdentifier> <fieldValue/> </field> </Fields> <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/79/versions/1/relations"/> <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user</resource> <width></width> <height></height> <mimeType>image/svg+xml</mimeType> </Thumbnail> </Version> <login>josevargas</login> <email>aa@bb.cc</email> <enabled>true</enabled> <UserGroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/users/79/groups"/> <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/users/79/roles"/> </User> </UserList>
Loads User with the given ID.
| userId required | string UserLoadByIdController identifier |
| Accept required | string If set, the User is returned in XML or JSON format. |
| If-None-Match required | string ETag |
<?xml version="1.0" encoding="UTF-8"?> <UserList media-type="application/vnd.ibexa.api.UserList+xml" href="/api/ibexa/v2/user/users"> <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/79" id="79" remoteId="bcf0764b417f05af21852a1f03fb1f13"> <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/4"/> <name>Jose Vargas</name> <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/79/versions"/> <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/12/79"/> <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/79/locations"/> <Groups media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/users/79/groups"/> <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/10"/> <publishDate>2021-06-29T08:23:42+00:00</publishDate> <lastModificationDate>2021-06-29T08:23:42+00:00</lastModificationDate> <mainLanguageCode>eng-GB</mainLanguageCode> <alwaysAvailable>true</alwaysAvailable> <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/79/versions/1"> <VersionInfo> <id>547</id> <versionNo>1</versionNo> <status>PUBLISHED</status> <modificationDate>2021-06-29T08:23:42+00:00</modificationDate> <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/10"/> <creationDate>2021-06-29T08:23:42+00:00</creationDate> <initialLanguageCode>eng-GB</initialLanguageCode> <languageCodes>eng-GB</languageCodes> <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> <Language> <languageCode>eng-GB</languageCode> </Language> </VersionTranslationInfo> <names> <value languageCode="eng-GB">Jose Vargas</value> </names> <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/79"/> </VersionInfo> <Fields> <field> <id>342</id> <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>Jose</fieldValue> </field> <field> <id>343</id> <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>Vargas</fieldValue> </field> <field> <id>344</id> <fieldDefinitionIdentifier>user_account</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_user</fieldTypeIdentifier> <fieldValue> <value key="hasStoredLogin">true</value> <value key="contentId">79</value> <value key="login">josevargas</value> <value key="email">aa@bb.cc</value> <value key="passwordUpdatedAt">1624955022</value> <value key="enabled">true</value> <value key="maxLogin">0</value> <value key="plainPassword"/> </fieldValue> </field> <field> <id>345</id> <fieldDefinitionIdentifier>signature</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_text</fieldTypeIdentifier> <fieldValue/> </field> <field> <id>346</id> <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_image</fieldTypeIdentifier> <fieldValue/> </field> </Fields> <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/79/versions/1/relations"/> <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user</resource> <width></width> <height></height> <mimeType>image/svg+xml</mimeType> </Thumbnail> </Version> <login>josevargas</login> <email>aa@bb.cc</email> <enabled>true</enabled> <UserGroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/users/79/groups"/> <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/users/79/roles"/> </User> </UserList>
Updates a User.
| userId required | string UserUpdateController identifier |
| Accept required | string If set, the updated User is returned in XML or JSON format. |
| Content-Type required | string The UserUpdate schema encoded in XML or JSON format. |
| If-Match required | string Performs a PATCH only if the specified ETag is the current one. |
The updated UserUpdateController resource
| login required | string |
string | |
| password | string |
| enabled | boolean |
| maxLogin | integer |
| ContentUpdate | any The update structure for the profile content. |
| ContentMetadataUpdate | any The update structure for the profile metadata. |
<?xml version="1.0" encoding="UTF-8"?> <UserUpdate> <login>josevargas</login> <enabled>false</enabled> </UserUpdate>
<?xml version="1.0" encoding="UTF-8"?> <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/79" id="79" remoteId="bcf0764b417f05af21852a1f03fb1f13"> <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/4"/> <name>Jose Vargas</name> <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/79/versions"/> <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/12/79"/> <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/79/locations"/> <Groups media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/users/79/groups"/> <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/10"/> <publishDate>2021-06-29T08:23:42+00:00</publishDate> <lastModificationDate>2021-07-29T11:45:07+00:00</lastModificationDate> <mainLanguageCode>eng-GB</mainLanguageCode> <alwaysAvailable>true</alwaysAvailable> <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/79/versions/6"> <VersionInfo> <id>609</id> <versionNo>6</versionNo> <status>PUBLISHED</status> <modificationDate>2021-07-29T11:45:07+00:00</modificationDate> <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> <creationDate>2021-07-29T11:45:07+00:00</creationDate> <initialLanguageCode>eng-GB</initialLanguageCode> <languageCodes>eng-GB</languageCodes> <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> <Language> <languageCode>eng-GB</languageCode> </Language> </VersionTranslationInfo> <names> <value languageCode="eng-GB">Jose Vargas</value> </names> <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/79"/> </VersionInfo> <Fields> <field> <id>342</id> <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>Jose</fieldValue> </field> <field> <id>343</id> <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>Vargas</fieldValue> </field> <field> <id>344</id> <fieldDefinitionIdentifier>user_account</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_user</fieldTypeIdentifier> <fieldValue> <value key="hasStoredLogin">true</value> <value key="contentId">79</value> <value key="login">josevargas</value> <value key="email">aa@bb.cc</value> <value key="passwordUpdatedAt"/> <value key="enabled">false</value> <value key="maxLogin">0</value> <value key="plainPassword"/> </fieldValue> </field> <field> <id>345</id> <fieldDefinitionIdentifier>signature</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_text</fieldTypeIdentifier> <fieldValue/> </field> <field> <id>346</id> <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_image</fieldTypeIdentifier> <fieldValue/> </field> </Fields> <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/79/versions/6/relations"/> <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user</resource> <width></width> <height></height> <mimeType>image/svg+xml</mimeType> </Thumbnail> </Version> <login>josevargas</login> <email>aa@bb.cc</email> <enabled>false</enabled> <UserGroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/users/79/groups"/> <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/users/79/roles"/> </User>
Returns a list of User Groups the User belongs to. The returned list includes the resources for unassigning a User Group if the User is in multiple groups.
| userId required | string UserGroupsOfUserListController identifier |
| Accept required | string If set, the link list of User Groups is returned in XML or JSON format. |
<?xml version="1.0" encoding="UTF-8"?> <UserGroupRefList media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/users/115/groups"> <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/12"> <unassign href="/api/ibexa/v2/user/users/79/groups/12" method="DELETE"/> </UserGroup> <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/13"> <unassign href="/api/ibexa/v2/user/users/115/groups/13" method="DELETE"/> </UserGroup> </UserGroupRefList>
Assigns the User to a User Group.
| userId required | string UserAssignToUserGroupController identifier |
| Accept required | string If set, the link list of User Groups is returned in XML or JSON format. |
<?xml version="1.0" encoding="UTF-8"?> <UserGroupRefList media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/users/115/groups"> <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/12"> <unassign href="/api/ibexa/v2/user/users/79/groups/12" method="DELETE"/> </UserGroup> <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/13"> <unassign href="/api/ibexa/v2/user/users/115/groups/13" method="DELETE"/> </UserGroup> </UserGroupRefList>
Unassigns the User from a User Group.
| userId required | string UserUnassignFromUserGroupController identifier |
| groupId required | string UserUnassignFromUserGroupController identifier |
| Accept required | string If set, the link list of User Groups is returned in XML or JSON format. |
<?xml version="1.0" encoding="UTF-8"?> <UserGroupRefList media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/users/115/groups"> <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/12"> <unassign href="/api/ibexa/v2/user/users/79/groups/12" method="DELETE"/> </UserGroup> <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/13"> <unassign href="/api/ibexa/v2/user/users/115/groups/13" method="DELETE"/> </UserGroup> </UserGroupRefList>
Returns a list of all Roles assigned to the given User.
| userId required | string RoleAssignmentForUserListController identifier |
{- "RoleAssignmentList": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/users/115/roles",
- "RoleAssignment": [
- {
- "_media-type": "application/vnd.ibexa.api.RoleAssignment+json",
- "_href": "/api/ibexa/v2/user/users/115/roles/2",
- "limitation": {
- "_identifier": "Section",
- "values": {
- "ref": [
- {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "1"
}
]
}
}, - "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/2"
}
}
]
}
}Assigns a Role to a user.
| userId required | string RoleAssignToUserController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The RoleAssignInput schema encoded in XML or JSON format.
required | object (RoleAssignInput) This class represents a Role assign input. |
{- "RoleAssignInput": {
- "Role": {
- "_href": "/api/ibexa/v2/user/roles/2",
- "_media-type": "application/vnd.ibexa.api.RoleAssignInput+xml"
}, - "limitation": {
- "_identifier": "Section",
- "values": {
- "ref": [
- {
- "_href": "/api/ibexa/v2/content/sections/1",
- "_media-type": "application/vnd.ibexa.api.Section+xml"
}, - {
- "_href": "/api/ibexa/v2/content/sections/2",
- "_media-type": "application/vnd.ibexa.api.Section+xml"
}
]
}
}
}
}{- "RoleAssignmentList": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/users/115/roles",
- "RoleAssignment": [
- {
- "_media-type": "application/vnd.ibexa.api.RoleAssignment+json",
- "_href": "/api/ibexa/v2/user/users/115/roles/2",
- "limitation": {
- "_identifier": "Section",
- "values": {
- "ref": [
- {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "2"
}
]
}
}, - "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/2"
}
}, - {
- "_media-type": "application/vnd.ibexa.api.RoleAssignment+json",
- "_href": "/api/ibexa/v2/user/users/115/roles/2",
- "limitation": {
- "_identifier": "Section",
- "values": {
- "ref": [
- {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "1"
}
]
}
}, - "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/2"
}
}
]
}
}Returns a Role assignment to the given User.
| userId required | string RoleAssignmentForUserLoadByIdController identifier |
| roleId required | string RoleAssignmentForUserLoadByIdController identifier |
{- "RoleAssignment": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignment+json",
- "_href": "/api/ibexa/v2/user/users/113/roles/3",
- "limitation": {
- "_identifier": "Section",
- "values": {
- "ref": [
- {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "6"
}
]
}
}, - "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/3"
}
}
}The given Role is removed from the user.
| userId required | string RoleUnassignFromUserController identifier |
| roleId required | string RoleUnassignFromUserController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
{- "RoleAssignmentList": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/users/57/roles",
- "RoleAssignment": [
- {
- "_media-type": "application/vnd.ibexa.api.RoleAssignment+json",
- "_href": "/api/ibexa/v2/user/users/57/roles/1",
- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/1"
}
}, - {
- "_media-type": "application/vnd.ibexa.api.RoleAssignment+json",
- "_href": "/api/ibexa/v2/user/users/57/roles/2",
- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/2"
}
}
]
}
}Return user's segment list.
| userId required | string UserSegmentListController identifier |
{- "UserSegmentList": {
- "_media-type": "application/vnd.ibexa.api.UserSegmentList+json",
- "_href": "/api/ibexa/v2/user/users/14/segments",
- "UserSegment": [
- {
- "_media-type": "application/vnd.ibexa.api.UserSegment+json",
- "id": 1,
- "identifier": "corporate_account",
- "name": "Corporate Account",
- "source": "cohesivo",
- "lastUpdatedBy": "14",
- "updatedAt": "2026-06-30T12:00:00+00:00",
- "SegmentGroup": {
- "_media-type": "application/vnd.ibexa.api.SegmentGroup+json",
- "_href": "/api/ibexa/v2/segment_groups/corporate_accounts"
}, - "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}
}
]
}
}Assigns Segments from payload to User given by ID.
| userId required | string UserSegmentAssignController identifier |
| X-CSRF-Token required | string The CSRF token. Used for POST, PATCH and DELETE requests. |
The UserSegmentAssignInput schema encoded in XML or JSON format.
required | object (UserSegmentAssignInput) |
{- "UserSegmentAssignInput": {
- "segments": [
- "corporate_account"
]
}
}The Segment designated by its identifier is unassigned from the User given by ID.
| userId required | string UserSegmentUnassignController identifier |
| segmentIdentifier required | string UserSegmentUnassignController identifier |
| X-CSRF-Token required | string The CSRF token. Used for POST, PATCH and DELETE requests. |
Loads User Groups for either an an ID or a remote ID or a Role.
| Accept required | string UserGroupList - If set, the User Group List is returned in XML or JSON format. UserGroupRefList - If set, the link list of User Group is returned in XML or JSON format. |
<?xml version="1.0" encoding="UTF-8"?> <UserGroupList media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/groups"> <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/13/15" id="14" remoteId="1bb4fe25487f05527efa8bfd394cecc7"> <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/4"/> <name>Administrator User</name> <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/14/versions"/> <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/13/15"/> <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/14/locations"/> <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> <publishDate>2002-10-06T16:13:50+00:00</publishDate> <lastModificationDate>2011-03-25T14:07:04+00:00</lastModificationDate> <mainLanguageCode>eng-GB</mainLanguageCode> <alwaysAvailable>true</alwaysAvailable> <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/14/versions/3"> <VersionInfo> <id>499</id> <versionNo>3</versionNo> <status>PUBLISHED</status> <modificationDate>2011-03-25T14:07:04+00:00</modificationDate> <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> <creationDate>2011-03-25T14:03:03+00:00</creationDate> <initialLanguageCode>eng-GB</initialLanguageCode> <languageCodes>eng-GB</languageCodes> <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> <Language> <languageCode>eng-GB</languageCode> </Language> </VersionTranslationInfo> <names> <value languageCode="eng-GB">Administrator User</value> </names> <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/14"/> </VersionInfo> <Fields> <field> <id>28</id> <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>Administrator</fieldValue> </field> <field> <id>29</id> <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>User</fieldValue> </field> <field> <id>30</id> <fieldDefinitionIdentifier>user_account</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_user</fieldTypeIdentifier> <fieldValue> <value key="hasStoredLogin">true</value> <value key="contentId">14</value> <value key="login">admin</value> <value key="email">admin@link.invalid</value> <value key="passwordUpdatedAt"/> <value key="enabled">true</value> <value key="maxLogin">10</value> <value key="plainPassword"/> </fieldValue> </field> <field> <id>178</id> <fieldDefinitionIdentifier>signature</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_text</fieldTypeIdentifier> <fieldValue/> </field> <field> <id>180</id> <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_image</fieldTypeIdentifier> <fieldValue/> </field> </Fields> <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/14/versions/3/relations"/> <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user</resource> <width></width> <height></height> <mimeType>image/svg+xml</mimeType> </Thumbnail> </Version> <ParentUserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/13"/> <Subgroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/groups/1/5/13/15/subgroups"/> <Users media-type="application/vnd.ibexa.api.UserList+xml" href="/api/ibexa/v2/user/groups/1/5/13/15/users"/> <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/groups/1/5/13/15/roles"/> </UserGroup> </UserGroupList>
Creates a top level User Group under the root. To create a child group under a parent group use '/user/groups/{path}/subgroups'.
| Accept required | string If set, the new User Group is returned in XML or JSON format. |
| Content-Type required | string The UserGroupCreate schema encoded in XML or JSON format. |
The new UserGroupCreateController resource
| mainLanguageCode required | string |
| remoteId required | string |
required | object (Fields) |
<?xml version="1.0" encoding="UTF-8"?> <UserGroupCreate> <mainLanguageCode>eng-GB</mainLanguageCode> <remoteId>remoteId-qwert098</remoteId> <fields> <field> <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldValue>UserGroup</fieldValue> </field> <field> <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldValue>This is the description of the user group</fieldValue> </field> </fields> </UserGroupCreate>
<?xml version="1.0" encoding="UTF-8"?> <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/79" id="85" remoteId="remoteId-qwert098"> <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/3"/> <name>UserGroup2</name> <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/85/versions"/> <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/79"/> <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/85/locations"/> <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> <publishDate>2021-08-09T09:03:35+00:00</publishDate> <lastModificationDate>2021-08-09T09:03:35+00:00</lastModificationDate> <mainLanguageCode>eng-GB</mainLanguageCode> <alwaysAvailable>true</alwaysAvailable> <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/85/versions/1"> <VersionInfo> <id>576</id> <versionNo>1</versionNo> <status>PUBLISHED</status> <modificationDate>2021-08-09T09:03:35+00:00</modificationDate> <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> <creationDate>2021-08-09T09:03:35+00:00</creationDate> <initialLanguageCode>eng-GB</initialLanguageCode> <languageCodes>eng-GB</languageCodes> <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> <Language> <languageCode>eng-GB</languageCode> </Language> </VersionTranslationInfo> <names> <value languageCode="eng-GB">UserGroup2</value> </names> <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/85"/> </VersionInfo> <Fields> <field> <id>380</id> <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>UserGroup2</fieldValue> </field> <field> <id>381</id> <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>This is the description of the user group</fieldValue> </field> </Fields> <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/85/versions/1/relations"/> <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user_group</resource> <width></width> <height></height> <mimeType>image/svg+xml</mimeType> </Thumbnail> </Version> <ParentUserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5"/> <Subgroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/groups/1/5/79/subgroups"/> <Users media-type="application/vnd.ibexa.api.UserList+xml" href="/api/ibexa/v2/user/groups/1/5/79/users"/> <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/groups/1/5/79/roles"/> </UserGroup>
Loads User Groups for the given {path}.
| path required | string UserGroupLoadByPathController identifier |
| Accept required | string If set, the new User Group is returned in XML or JSON format. |
| If-None-Match required | string ETag |
<?xml version="1.0" encoding="UTF-8"?> <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/79" id="85" remoteId="remoteId-qwert098"> <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/3"/> <name>UserGroup2</name> <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/85/versions"/> <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/79"/> <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/85/locations"/> <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> <publishDate>2021-08-09T09:03:35+00:00</publishDate> <lastModificationDate>2021-08-09T09:03:35+00:00</lastModificationDate> <mainLanguageCode>eng-GB</mainLanguageCode> <alwaysAvailable>true</alwaysAvailable> <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/85/versions/1"> <VersionInfo> <id>576</id> <versionNo>1</versionNo> <status>PUBLISHED</status> <modificationDate>2021-08-09T09:03:35+00:00</modificationDate> <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> <creationDate>2021-08-09T09:03:35+00:00</creationDate> <initialLanguageCode>eng-GB</initialLanguageCode> <languageCodes>eng-GB</languageCodes> <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> <Language> <languageCode>eng-GB</languageCode> </Language> </VersionTranslationInfo> <names> <value languageCode="eng-GB">UserGroup2</value> </names> <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/85"/> </VersionInfo> <Fields> <field> <id>380</id> <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>UserGroup2</fieldValue> </field> <field> <id>381</id> <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>This is the description of the user group</fieldValue> </field> </Fields> <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/85/versions/1/relations"/> <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user_group</resource> <width></width> <height></height> <mimeType>image/svg+xml</mimeType> </Thumbnail> </Version> <ParentUserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5"/> <Subgroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/groups/1/5/79/subgroups"/> <Users media-type="application/vnd.ibexa.api.UserList+xml" href="/api/ibexa/v2/user/groups/1/5/79/users"/> <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/groups/1/5/79/roles"/> </UserGroup>
Updates a User Group. PATCH or POST with header X-HTTP-Method-Override PATCH.
| path required | string UserGroupUpdateController identifier |
| Accept required | string If set, the new User Group is returned in XML or JSON format. |
| Content-Type required | string The UserGroupUpdate schema encoded in XML or JSON format. |
| If-Match required | string Performs the PATCH only if the specified ETag is the current one. Otherwise a 412 is returned. |
The updated UserGroupUpdateController resource
required | object |
<?xml version="1.0" encoding="UTF-8"?> <UserGroupUpdate> <Section href="/api/ibexa/v2/content/sections/2" /> </UserGroupUpdate>
<?xml version="1.0" encoding="UTF-8"?> <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/79" id="85" remoteId="remoteId-qwert098"> <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/3"/> <name>UserGroup2</name> <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/85/versions"/> <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/79"/> <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/85/locations"/> <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> <publishDate>2021-08-09T09:03:35+00:00</publishDate> <lastModificationDate>2021-08-09T09:03:35+00:00</lastModificationDate> <mainLanguageCode>eng-GB</mainLanguageCode> <alwaysAvailable>true</alwaysAvailable> <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/85/versions/1"> <VersionInfo> <id>576</id> <versionNo>1</versionNo> <status>PUBLISHED</status> <modificationDate>2021-08-09T09:03:35+00:00</modificationDate> <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> <creationDate>2021-08-09T09:03:35+00:00</creationDate> <initialLanguageCode>eng-GB</initialLanguageCode> <languageCodes>eng-GB</languageCodes> <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> <Language> <languageCode>eng-GB</languageCode> </Language> </VersionTranslationInfo> <names> <value languageCode="eng-GB">UserGroup2</value> </names> <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/85"/> </VersionInfo> <Fields> <field> <id>380</id> <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>UserGroup2</fieldValue> </field> <field> <id>381</id> <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>This is the description of the user group</fieldValue> </field> </Fields> <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/85/versions/1/relations"/> <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user_group</resource> <width></width> <height></height> <mimeType>image/svg+xml</mimeType> </Thumbnail> </Version> <ParentUserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5"/> <Subgroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/groups/1/5/79/subgroups"/> <Users media-type="application/vnd.ibexa.api.UserList+xml" href="/api/ibexa/v2/user/groups/1/5/79/users"/> <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/groups/1/5/79/roles"/> </UserGroup>
Returns a list of all Roles assigned to the given User Group.
| path required | string RoleAssignmentForUserGroupListController identifier |
{- "RoleAssignment": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignment+json",
- "_href": "/api/ibexa/v2/user/groups/1/42/44/roles/1",
- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/1"
}
}
}Assigns a Role to a User Group.
| path required | string RoleAssignToUserGroupController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The RoleAssignInput schema encoded in XML or JSON format.
required | object (RoleAssignInput) This class represents a Role assign input. |
{- "RoleAssignInput": {
- "Role": {
- "_href": "/api/ibexa/v2/user/roles/2",
- "_media-type": "application/vnd.ibexa.api.RoleAssignInput+json"
}, - "limitation": {
- "_identifier": "Section",
- "values": {
- "ref": [
- {
- "_href": "/api/ibexa/v2/content/sections/1",
- "_media-type": "application/vnd.ibexa.api.Section+json"
}, - {
- "_href": "/api/ibexa/v2/content/sections/4",
- "_media-type": "application/vnd.ibexa.api.Section+json"
}
]
}
}
}
}{- "RoleAssignmentList": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/groups/1/12/2/roles",
- "RoleAssignment": [
- {
- "_media-type": "application/vnd.ibexa.api.RoleAssignment+json",
- "_href": "/api/ibexa/v2/user/groups/1/12/2/roles/2",
- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/2"
}
}
]
}
}Returns a Role assignment of the given User Group.
| path required | string RoleAssignmentForUserGroupLoadByIdController identifier |
| roleId required | string RoleAssignmentForUserGroupLoadByIdController identifier |
{- "RoleAssignment": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignment+json",
- "_href": "/api/ibexa/v2/user/groups/1/11/12/roles/1",
- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/1"
}
}
}The given Role is removed from the User or User Group.
| path required | string RoleUnassignFromUserGroupController identifier |
| roleId required | string RoleUnassignFromUserGroupController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
{- "RoleAssignmentList": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/groups/1/57/58/roles",
- "RoleAssignment": [
- {
- "_media-type": "application/vnd.ibexa.api.RoleAssignment+json",
- "_href": "/api/ibexa/v2/user/groups/1/57/58/roles/3",
- "limitation": {
- "_identifier": "Section",
- "values": {
- "ref": [
- {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "1"
}
]
}
}, - "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/3"
}
}
]
}
}Returns a list of the subgroups.
| path required | string UserSubGroupListController identifier |
| Accept required | string UserGroupList - If set, the User Group list is returned in XML or JSON format. UserGroupRefList - If set, the link list of User Groups is returned in XML or JSON format. |
<?xml version="1.0" encoding="UTF-8"?> <UserGroupList media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/groups"> <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/13/15" id="14" remoteId="1bb4fe25487f05527efa8bfd394cecc7"> <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/4"/> <name>Administrator User</name> <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/14/versions"/> <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/13/15"/> <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/14/locations"/> <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> <publishDate>2002-10-06T16:13:50+00:00</publishDate> <lastModificationDate>2011-03-25T14:07:04+00:00</lastModificationDate> <mainLanguageCode>eng-GB</mainLanguageCode> <alwaysAvailable>true</alwaysAvailable> <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/14/versions/3"> <VersionInfo> <id>499</id> <versionNo>3</versionNo> <status>PUBLISHED</status> <modificationDate>2011-03-25T14:07:04+00:00</modificationDate> <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> <creationDate>2011-03-25T14:03:03+00:00</creationDate> <initialLanguageCode>eng-GB</initialLanguageCode> <languageCodes>eng-GB</languageCodes> <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> <Language> <languageCode>eng-GB</languageCode> </Language> </VersionTranslationInfo> <names> <value languageCode="eng-GB">Administrator User</value> </names> <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/14"/> </VersionInfo> <Fields> <field> <id>28</id> <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>Administrator</fieldValue> </field> <field> <id>29</id> <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>User</fieldValue> </field> <field> <id>30</id> <fieldDefinitionIdentifier>user_account</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_user</fieldTypeIdentifier> <fieldValue> <value key="hasStoredLogin">true</value> <value key="contentId">14</value> <value key="login">admin</value> <value key="email">admin@link.invalid</value> <value key="passwordUpdatedAt"/> <value key="enabled">true</value> <value key="maxLogin">10</value> <value key="plainPassword"/> </fieldValue> </field> <field> <id>178</id> <fieldDefinitionIdentifier>signature</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_text</fieldTypeIdentifier> <fieldValue/> </field> <field> <id>180</id> <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_image</fieldTypeIdentifier> <fieldValue/> </field> </Fields> <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/14/versions/3/relations"/> <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user</resource> <width></width> <height></height> <mimeType>image/svg+xml</mimeType> </Thumbnail> </Version> <ParentUserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/13"/> <Subgroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/groups/1/5/13/15/subgroups"/> <Users media-type="application/vnd.ibexa.api.UserList+xml" href="/api/ibexa/v2/user/groups/1/5/13/15/users"/> <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/groups/1/5/13/15/roles"/> </UserGroup> </UserGroupList>
Creates a new User Group under the given parent. To create a top level group use '/user/groups/subgroups'.
| path required | string UserGroupCreateController identifier |
| Accept required | string If set, the new User Group is returned in XML or JSON format. |
| Content-Type required | string The UserGroupCreate schema encoded in XML or JSON format. |
The new UserGroupCreateController resource
| mainLanguageCode required | string |
| remoteId required | string |
required | object (Fields) |
<?xml version="1.0" encoding="UTF-8"?> <UserGroupCreate> <mainLanguageCode>eng-GB</mainLanguageCode> <remoteId>remoteId-qwert098</remoteId> <fields> <field> <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldValue>UserGroup</fieldValue> </field> <field> <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldValue>This is the description of the user group</fieldValue> </field> </fields> </UserGroupCreate>
<?xml version="1.0" encoding="UTF-8"?> <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/79" id="85" remoteId="remoteId-qwert098"> <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/3"/> <name>UserGroup2</name> <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/85/versions"/> <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/79"/> <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/85/locations"/> <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> <publishDate>2021-08-09T09:03:35+00:00</publishDate> <lastModificationDate>2021-08-09T09:03:35+00:00</lastModificationDate> <mainLanguageCode>eng-GB</mainLanguageCode> <alwaysAvailable>true</alwaysAvailable> <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/85/versions/1"> <VersionInfo> <id>576</id> <versionNo>1</versionNo> <status>PUBLISHED</status> <modificationDate>2021-08-09T09:03:35+00:00</modificationDate> <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> <creationDate>2021-08-09T09:03:35+00:00</creationDate> <initialLanguageCode>eng-GB</initialLanguageCode> <languageCodes>eng-GB</languageCodes> <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> <Language> <languageCode>eng-GB</languageCode> </Language> </VersionTranslationInfo> <names> <value languageCode="eng-GB">UserGroup2</value> </names> <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/85"/> </VersionInfo> <Fields> <field> <id>380</id> <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>UserGroup2</fieldValue> </field> <field> <id>381</id> <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>This is the description of the user group</fieldValue> </field> </Fields> <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/85/versions/1/relations"/> <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user_group</resource> <width></width> <height></height> <mimeType>image/svg+xml</mimeType> </Thumbnail> </Version> <ParentUserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5"/> <Subgroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/groups/1/5/79/subgroups"/> <Users media-type="application/vnd.ibexa.api.UserList+xml" href="/api/ibexa/v2/user/groups/1/5/79/users"/> <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/groups/1/5/79/roles"/> </UserGroup>
Loads the Users of the Group with the given ID.
| path required | string UserGroupUsersListController identifier |
| Accept required | string UserList - If set, the User list returned in XML or JSON format. UserRefList - If set, the link list of Users returned in XML or JSON format. |
Creates a new User in the given Group.
| path required | string UserCreateController identifier |
| Accept required | string If set, the new User is returned in XML or JSON format. |
| Content-Type required | string The UserCreate schema encoded in XML or JSON format. |
The new UserCreateController resource
| mainLanguageCode required | string |
| remoteId required | string |
| login required | string |
| email required | string |
| password required | string |
| enabled | boolean |
<?xml version="1.0" encoding="UTF-8"?> <UserCreate> <mainLanguageCode>eng-GB</mainLanguageCode> <remoteId>remoteId-23456789</remoteId> <login>johnsmith</login> <email>example@example.com</email> <password>Secrepassword5!</password> <fields> <field> <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldValue>John</fieldValue> </field> <field> <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldValue>Smith</fieldValue> </field> <field> <fieldDefinitionIdentifier>user_account</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldValue> <value key="hasStoredLogin">true</value> <value key="contentId">14</value> <value key="login">johnsmith</value> <value key="email">example@example.com</value> <value key="enabled">true</value> <value key="maxLogin">10</value> </fieldValue> </field> </fields> </UserCreate>
<?xml version="1.0" encoding="UTF-8"?> <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/79" id="79" remoteId="bcf0764b417f05af21852a1f03fb1f13"> <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/4"/> <name>Jose Vargas</name> <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/79/versions"/> <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/12/79"/> <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/79/locations"/> <Groups media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/users/79/groups"/> <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/10"/> <publishDate>2021-06-29T08:23:42+00:00</publishDate> <lastModificationDate>2021-07-29T11:45:07+00:00</lastModificationDate> <mainLanguageCode>eng-GB</mainLanguageCode> <alwaysAvailable>true</alwaysAvailable> <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/79/versions/6"> <VersionInfo> <id>609</id> <versionNo>6</versionNo> <status>PUBLISHED</status> <modificationDate>2021-07-29T11:45:07+00:00</modificationDate> <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> <creationDate>2021-07-29T11:45:07+00:00</creationDate> <initialLanguageCode>eng-GB</initialLanguageCode> <languageCodes>eng-GB</languageCodes> <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> <Language> <languageCode>eng-GB</languageCode> </Language> </VersionTranslationInfo> <names> <value languageCode="eng-GB">Jose Vargas</value> </names> <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/79"/> </VersionInfo> <Fields> <field> <id>342</id> <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>Jose</fieldValue> </field> <field> <id>343</id> <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier> <fieldValue>Vargas</fieldValue> </field> <field> <id>344</id> <fieldDefinitionIdentifier>user_account</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_user</fieldTypeIdentifier> <fieldValue> <value key="hasStoredLogin">true</value> <value key="contentId">79</value> <value key="login">josevargas</value> <value key="email">aa@bb.cc</value> <value key="passwordUpdatedAt"/> <value key="enabled">false</value> <value key="maxLogin">0</value> <value key="plainPassword"/> </fieldValue> </field> <field> <id>345</id> <fieldDefinitionIdentifier>signature</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_text</fieldTypeIdentifier> <fieldValue/> </field> <field> <id>346</id> <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldTypeIdentifier>ibexa_image</fieldTypeIdentifier> <fieldValue/> </field> </Fields> <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/79/versions/6/relations"/> <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user</resource> <width></width> <height></height> <mimeType>image/svg+xml</mimeType> </Thumbnail> </Version> <login>josevargas</login> <email>aa@bb.cc</email> <enabled>false</enabled> <UserGroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/users/79/groups"/> <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/users/79/roles"/> </User>
{- "RoleList": {
- "_media-type": "application/vnd.ibexa.api.RoleList+json",
- "_href": "/api/ibexa/v2/user/roles",
- "Role": [
- {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/1",
- "identifier": "Anonymous",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/1/policies"
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/2",
- "identifier": "Administrator",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/2/policies"
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/3",
- "identifier": "Editor",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/3/policies"
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/4",
- "identifier": "Member",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/4/policies"
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/10",
- "identifier": "NewRole",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/10/policies"
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/14",
- "identifier": "NewRole5",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/14/policies"
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/15",
- "identifier": "NewRole7",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/15/policies"
}
}
]
}
}Creates a new Role or Role draft.
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The RoleInput schema encoded in XML or JSON.
required | object (RoleInput) This class represents a Role input. |
{- "RoleInput": {
- "identifier": "NewRole"
}
}{- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/21",
- "identifier": "NewRole",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/21/policies"
}
}
}Loads a Role for the given ID.
| id required | string RoleLoadByIdController identifier |
| If-None-Match | string ETag |
{- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/21",
- "identifier": "NewRole",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/21/policies"
}
}
}Creates a new Role draft from an existing Role.
| id required | string RoleDraftCreateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
{- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/6",
- "identifier": "Editor",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/6/policies"
}
}
}Updates a Role. PATCH or POST with header X-HTTP-Method-Override PATCH
| id required | string RoleUpdateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
| If-Match required | string ETag Causes to patch only if the specified ETag is the current one. Otherwise a 412 is returned. |
The RoleInput schema encoded in XML or JSON format.
required | object (RoleInput) This class represents a Role input. |
{- "RoleInput": {
- "identifier": "NewIdentifier"
}
}{- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/21",
- "identifier": "NewIdentifier",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/21/policies"
}
}
}Loads a Role draft by original Role ID.
| id required | string RoleDraftLoadByRoleIdController identifier |
| If-None-Match | string ETag |
{- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/27",
- "identifier": "Anonymous",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/27/policies"
}
}
}Updates a Role draft. PATCH or POST with header X-HTTP-Method-Override PATCH.
| id required | string RoleDraftUpdateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
| If-Match required | string Performs a PATCH only if the specified ETag is the current one. Otherwise a 412 is returned. |
The RoleInput schema encoded in XML or JSON format.
required | object (RoleInput) This class represents a Role input. |
{- "RoleInput": {
- "identifier": "UpdatedIdentifier"
}
}{- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/6",
- "identifier": "UpdatedIdentifier",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/6/policies"
}
}
}Loads Policies for the given Role.
| id required | string RolePolicyListController identifier |
{- "PolicyList": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/1/policies",
- "Policy": [
- {
- "_media-type": "application/vnd.ibexa.api.Policy+json",
- "_href": "/api/ibexa/v2/user/roles/1/policies/349",
- "id": 349,
- "module": "content",
- "function": "read",
- "limitations": {
- "limitation": [
- {
- "_identifier": "Section",
- "values": {
- "ref": [
- {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "1"
}, - {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "3"
}, - {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "6"
}
]
}
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Policy+json",
- "_href": "/api/ibexa/v2/user/roles/1/policies/350",
- "id": 350,
- "module": "user",
- "function": "login",
- "limitations": {
- "limitation": [
- {
- "_identifier": "SiteAccess",
- "values": {
- "ref": [
- {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "2282622326"
}, - {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "1766001124"
}
]
}
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Policy+json",
- "_href": "/api/ibexa/v2/user/roles/1/policies/351",
- "id": 351,
- "module": "content",
- "function": "view_embed",
- "limitations": {
- "limitation": [
- {
- "_identifier": "Class",
- "values": {
- "ref": [
- {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "5"
}, - {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "12"
}
]
}
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Policy+json",
- "_href": "/api/ibexa/v2/user/roles/1/policies/352",
- "id": 352,
- "module": "user",
- "function": "register"
}, - {
- "_media-type": "application/vnd.ibexa.api.Policy+json",
- "_href": "/api/ibexa/v2/user/roles/1/policies/353",
- "id": 353,
- "module": "user",
- "function": "password"
}
]
}
}Creates a Policy
| id required | string RolePolicyCreateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
If set, the updated Policy is returned in XML or JSON format.
required | object (PolicyCreate) This class is used to create a Policy. |
{- "PolicyCreate": {
- "_media-type": "string",
- "_href": "string",
- "module": "string",
- "function": "string",
- "Limitations": [
- {
- "_identifier": "ContentType",
- "values": {
- "ref": [
- {
- "_media-type": "string",
- "_href": "string"
}
]
}
}
]
}
}{- "Policy": {
- "_media-type": "application/vnd.ibexa.api.Policy+json",
- "_href": "/api/ibexa/v2/user/roles/1/policies/352",
- "id": 352,
- "module": "user",
- "function": "register"
}
}Loads a Policy for the given module and function.
| policyId required | string RolePolicyLoadByIdController identifier |
| roleId required | string RolePolicyLoadByIdController identifier |
| If-None-Match | string ETag |
{- "Policy": {
- "_media-type": "application/vnd.ibexa.api.Policy+json",
- "_href": "/api/ibexa/v2/user/roles/1/policies/352",
- "id": 352,
- "module": "user",
- "function": "register"
}
}Updates a Policy. PATCH or POST with header X-HTTP-Method-Override PATCH.
| policyId required | string RolePolicyUpdateController identifier |
| roleId required | string RolePolicyUpdateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
| If-Match required | string Causes to patch only if the specified ETag is the current one. Otherwise a 412 is returned. |
If set, the updated Policy is returned in XML or JSON format.
required | object (PolicyUpdate) This class is used to update a Policy. |
{- "PolicyUpdate": {
- "_media-type": "string",
- "_href": "string",
- "Limitations": [
- {
- "_identifier": "ContentType",
- "values": {
- "ref": [
- {
- "_media-type": "string",
- "_href": "string"
}
]
}
}
]
}
}{- "Policy": {
- "_media-type": "application/vnd.ibexa.api.Policy+json",
- "_href": "/api/ibexa/v2/user/roles/1/policies/352",
- "id": 352,
- "module": "user",
- "function": "register"
}
}{- "PolicyList": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/policies",
- "Policy": [
- {
- "_media-type": "application/vnd.ibexa.api.Policy+json",
- "_href": "/api/ibexa/v2/user/roles/1/policies/349",
- "id": 349,
- "module": "content",
- "function": "read",
- "limitations": {
- "limitation": [
- {
- "_identifier": "Section",
- "values": {
- "ref": [
- {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "1"
}, - {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "3"
}, - {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "6"
}
]
}
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Policy+json",
- "_href": "/api/ibexa/v2/user/roles/1/policies/350",
- "id": 350,
- "module": "user",
- "function": "login",
- "limitations": {
- "limitation": [
- {
- "_identifier": "SiteAccess",
- "values": {
- "ref": [
- {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "2282622326"
}, - {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "1766001124"
}
]
}
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Policy+json",
- "_href": "/api/ibexa/v2/user/roles/1/policies/351",
- "id": 351,
- "module": "content",
- "function": "view_embed",
- "limitations": {
- "limitation": [
- {
- "_identifier": "Class",
- "values": {
- "ref": [
- {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "5"
}, - {
- "_media-type": "application/vnd.ibexa.api.ref+json",
- "_href": "12"
}
]
}
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Policy+json",
- "_href": "/api/ibexa/v2/user/roles/1/policies/352",
- "id": 352,
- "module": "user",
- "function": "register"
}, - {
- "_media-type": "application/vnd.ibexa.api.Policy+json",
- "_href": "/api/ibexa/v2/user/roles/1/policies/353",
- "id": 353,
- "module": "user",
- "function": "password"
}
]
}
}{- "LanguageList": {
- "_media-type": "application/vnd.ibexa.api.LanguageList+json",
- "_href": "/api/ibexa/v2/languages",
- "Language": [
- {
- "_media-type": "application/vnd.ibexa.api.Language+json",
- "_href": "/api/ibexa/v2/languages/eng-GB",
- "languageId": 2,
- "languageCode": "eng-GB",
- "name": "English (United Kingdom)"
}, - {
- "_href": "/api/ibexa/v2/languages/pol-PL",
- "_media-type": "application/vnd.ibexa.api.Language+json",
- "languageCode": "pol-PL",
- "languageId": 4,
- "name": "Polish (polski)"
}
]
}
}Retrieves a LanguageLoadByIdController resource.
| code required | string LanguageLoadByIdController identifier |
{- "Language": {
- "_media-type": "application/vnd.ibexa.api.Language+json",
- "_href": "/api/ibexa/v2/languages/eng-GB",
- "languageId": 2,
- "languageCode": "eng-GB",
- "name": "English (United Kingdom)"
}
}Loads the Location for a given ID (x), remote ID or URL alias.
{- "Location": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/58",
- "id": 58,
- "priority": 0,
- "hidden": false,
- "invisible": false,
- "explicitlyHidden": false,
- "ParentLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2"
}, - "pathString": "/1/2/58/",
- "depth": 2,
- "childCount": 3,
- "remoteId": "0cfe62f27753448d79aaa8acd8d01699",
- "Children": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/58/children"
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/57"
}, - "sortField": "PATH",
- "sortOrder": "ASC",
- "UrlAliases": {
- "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/58/urlaliases"
}, - "ContentInfo": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/57",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/57",
- "_remoteId": "782f5afa9d6587804daa911e88ff5bb9",
- "_id": 57,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1"
}, - "Name": "All Tips",
- "TranslatedName": "All Tips",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/57/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/57/currentversion"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/57/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2021-06-28T11:22:52+00:00",
- "publishedDate": "2021-06-28T11:22:52+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 1,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/57/objectstates"
}
}
}
}
}Loads the Location for the given path e.g. '/content/locations/1/2/61'.
| path required | string LocationLoadByPathController identifier |
| If-None-Match | string ETag |
{- "Location": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/58",
- "id": 58,
- "priority": 0,
- "hidden": false,
- "invisible": false,
- "explicitlyHidden": false,
- "ParentLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2"
}, - "pathString": "/1/2/58/",
- "depth": 2,
- "childCount": 3,
- "remoteId": "0cfe62f27753448d79aaa8acd8d01699",
- "Children": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/58/children"
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/57"
}, - "sortField": "PATH",
- "sortOrder": "ASC",
- "UrlAliases": {
- "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/58/urlaliases"
}, - "ContentInfo": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/57",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/57",
- "_remoteId": "782f5afa9d6587804daa911e88ff5bb9",
- "_id": 57,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1"
}, - "Name": "All Tips",
- "TranslatedName": "All Tips",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/57/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/57/currentversion"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/57/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2021-06-28T11:22:52+00:00",
- "publishedDate": "2021-06-28T11:22:52+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 1,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/57/objectstates"
}
}
}
}
}Deletes the complete subtree for the given path. Every content item which does not have any other Location is deleted. Otherwise the deleted Location is removed from the content item. The children are recursively deleted.
| path required | string LocationSubtreeDeleteController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
Updates the Location. This method can also be used to hide/reveal a Location via the hidden field in the LocationUpdate. PATCH or POST with header X-HTTP-Method-Override PATCH.
| path required | string LocationUpdateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
| If-Match required | string ETag |
The LocationUpdate schema encoded in XML or JSON format.
required | object (LocationUpdateStruct) This class is used for updating Location meta data. |
{- "LocationUpdate": {
- "priority": "3",
- "hidden": true,
- "remoteId": "remoteId-qwert999",
- "sortField": "NAME",
- "sortOrder": "DESC"
}
}{- "Location": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/59",
- "id": 59,
- "priority": 3,
- "hidden": true,
- "invisible": true,
- "explicitlyHidden": true,
- "ParentLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2"
}, - "pathString": "/1/2/59/",
- "depth": 2,
- "childCount": 5,
- "remoteId": "remoteId-qwert999",
- "Children": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/59/children"
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/58"
}, - "sortField": "NAME",
- "sortOrder": "DESC",
- "UrlAliases": {
- "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/59/urlaliases"
}, - "ContentInfo": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/58",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/58",
- "_remoteId": "00b513aae54036a16e00fb3365c4b5f3",
- "_id": 58,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1"
}, - "Name": "Dog Breed Catalog",
- "TranslatedName": "Dog Breed Catalog",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/58/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/58/currentversion"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/58/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2021-06-28T11:23:10+00:00",
- "publishedDate": "2021-06-28T11:23:10+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 1,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/58/objectstates"
}
}
}
}
}Loads all child Locations for the given parent Location.
| path required | string LocationChildrenListController identifier |
{- "LocationList": {
- "_media-type": "string",
- "_href": "string",
- "Location": [
- {
- "_media-type": "string",
- "_href": "string"
}
]
}
}Returns the list of URL aliases for a Location.
| path required | string URLAliasListLocationController identifier |
{- "UrlAliasRefList": {
- "_media-type": "string",
- "_href": "string",
- "UrlAlias": [
- {
- "_media-type": "string",
- "_href": "string"
}
]
}
}Returns a list of all Object state groups.
| If-None-Match | string ETag |
{- "ObjectStateGroupList": {
- "_media-type": "application/vnd.ibexa.api.ObjectStateGroupList+json",
- "_href": "/api/ibexa/v2/content/objectstategroups",
- "ObjectStateGroup": [
- {
- "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/2",
- "id": 2,
- "identifier": "ibexa_lock",
- "defaultLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ObjectStateList+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/2/objectstates"
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Lock"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": ""
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/3",
- "id": 3,
- "identifier": "accessibility",
- "defaultLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ObjectStateList+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/3/objectstates"
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Accessibility"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": ""
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/6",
- "id": 6,
- "identifier": "custom-states",
- "defaultLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ObjectStateList+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/6/objectstates"
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Custom State"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Custom Object state"
}
]
}
}
]
}
}Creates a new Object state group.
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The Object state group input schema encoded in XML or JSON format.
required | object (ObjectStateGroupCreate) This class represents a value for creating Object state groups. |
{- "ObjectStateGroupCreate": {
- "identifier": "custom-states",
- "defaultLanguageCode": "eng-GB",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Custom State"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Custom Object state"
}
]
}
}
}{- "ObjectStateGroup": {
- "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/7",
- "id": 7,
- "identifier": "custom-states",
- "defaultLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ObjectStateList+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/7/objectstates"
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Custom State"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Custom Object state"
}
]
}
}
}Returns the Object state group with the provided ID.
| objectStateGroupId required | string ObjectStateGroupLoadByIdController identifier |
| If-None-Match | string ETag |
{- "ObjectStateGroup": {
- "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/7",
- "id": 7,
- "identifier": "custom-states",
- "defaultLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ObjectStateList+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/7/objectstates"
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Custom State"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Custom Object state"
}
]
}
}
}Updates an Object state group. PATCH or POST with header X-HTTP-Method-Override PATCH.
| objectStateGroupId required | string ObjectStateGroupUpdateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
| If-Match required | string ETag |
The Object state group input schema encoded in XML or JSON format.
required | object (ObjectStateGroupUpdate) This class represents a value for updating Object state groups. |
{- "ObjectStateGroupUpdate": {
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "New Custom State name"
}
]
}
}
}{- "ObjectStateGroup": {
- "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/7",
- "id": 7,
- "identifier": "custom-states",
- "defaultLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ObjectStateList+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/7/objectstates"
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "New Custom State name"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Custom Object state"
}
]
}
}
}Returns a list of all Object states of the given group.
| objectStateGroupId required | string ObjectStateListController identifier |
| If-None-Match | string ETag |
{- "ObjectStateList": {
- "_media-type": "application/vnd.ibexa.api.ObjectStateList+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/2/objectstates",
- "ObjectState": [
- {
- "_media-type": "application/vnd.ibexa.api.ObjectState+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/2/objectstates/1",
- "id": 1,
- "identifier": "not_locked",
- "priority": 0,
- "ObjectStateGroup": {
- "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/2"
}, - "defaultLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Not locked"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": ""
}
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ObjectState+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/2/objectstates/2",
- "id": 2,
- "identifier": "locked",
- "priority": 1,
- "ObjectStateGroup": {
- "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/2"
}, - "defaultLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Locked"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": ""
}
]
}
}
]
}
}Creates a new Object state.
| objectStateGroupId required | string ObjectStateCreateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The Object state input schema encoded in XML or JSON format.
required | object (ObjectStateCreate) This class represents a value for creating Object states. |
{- "ObjectStateCreate": {
- "identifier": "new-state",
- "priority": "1",
- "defaultLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "New State"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "New Object State"
}
]
}
}
}{- "ObjectState": {
- "_media-type": "application/vnd.ibexa.api.ObjectState+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/7/objectstates/7",
- "id": 7,
- "identifier": "new-state",
- "priority": 0,
- "ObjectStateGroup": {
- "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/7"
}, - "defaultLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "New State"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "New Object State"
}
]
}
}
}Returns the Object state.
| objectStateGroupId required | string ObjectStateLoadByIdController identifier |
| objectStateId required | string ObjectStateLoadByIdController identifier |
| If-None-Match | string ETag |
{- "ObjectState": {
- "_media-type": "application/vnd.ibexa.api.ObjectState+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/2/objectstates/2",
- "id": 2,
- "identifier": "locked",
- "priority": 1,
- "ObjectStateGroup": {
- "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/2"
}, - "defaultLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Locked"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": ""
}
]
}
}
}Deletes provided Object state.
| objectStateGroupId required | string ObjectStateDeleteController identifier |
| objectStateId required | string ObjectStateDeleteController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
Updates an Object state. PATCH or POST with header X-HTTP-Method-Override PATCH.
| objectStateGroupId required | string ObjectStateUpdateController identifier |
| objectStateId required | string ObjectStateUpdateController identifier |
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
| If-Match required | string ETag |
The Object state input schema encoded in XML or JSON format.
required | object (ObjectStateUpdate) This class represents a value for updating Object states. |
{- "ObjectStateUpdate": {
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "New Object State name"
}
]
}
}
}{- "ObjectState": {
- "_media-type": "application/vnd.ibexa.api.ObjectState+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/6/objectstates/9",
- "id": 9,
- "identifier": "closed",
- "priority": 1,
- "ObjectStateGroup": {
- "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json",
- "_href": "/api/ibexa/v2/content/objectstategroups/6"
}, - "defaultLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "New Object State name"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": ""
}
]
}
}
}{- "Trash": {
- "_media-type": "application/vnd.ibexa.api.Trash+json",
- "_href": "/api/ibexa/v2/content/trash",
- "TrashItem": [
- {
- "_media-type": "application/vnd.ibexa.api.TrashItem+json",
- "_href": "/api/ibexa/v2/content/trash/87",
- "id": 87,
- "priority": 0,
- "hidden": false,
- "invisible": false,
- "ParentLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/57"
}, - "pathString": "/1/2/57/87/",
- "depth": 3,
- "childCount": 0,
- "remoteId": "7cc6565354858f39a794bf64aa2c2761",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/91"
}, - "sortField": "PATH",
- "sortOrder": "ASC",
- "ContentInfo": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/91",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/91",
- "_remoteId": "de906bef76f08700662bfaf1579871f0",
- "_id": 91,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2"
}, - "Name": "test_article",
- "TranslatedName": "test_article",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/91/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/91/currentversion"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/91/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/11"
}, - "lastModificationDate": "2021-07-19T08:31:01+00:00",
- "publishedDate": "2021-07-19T08:31:01+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 1,
- "alwaysAvailable": false,
- "isHidden": false,
- "status": "TRASHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/91/objectstates"
}
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.TrashItem+json",
- "_href": "/api/ibexa/v2/content/trash/89",
- "id": 89,
- "priority": 0,
- "hidden": false,
- "invisible": false,
- "ParentLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2"
}, - "pathString": "/1/2/89/",
- "depth": 2,
- "childCount": 0,
- "remoteId": "256c2e7d71e927bab32a901878827312",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/96"
}, - "sortField": "PATH",
- "sortOrder": "ASC",
- "ContentInfo": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/96",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/96",
- "_remoteId": "d5bad9eb55cfe8572adf04452a2b206e",
- "_id": 96,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1"
}, - "Name": "All Articles test",
- "TranslatedName": "All Articles test",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/96/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/96/currentversion"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/96/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2021-07-19T12:43:02+00:00",
- "publishedDate": "2021-07-19T12:42:47+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 2,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "TRASHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/96/objectstates"
}
}
}
}
]
}
}Returns the item in Trash with the provided ID.
| trashItemid required | string TrashItemLoadByIdController identifier |
{- "TrashItem": {
- "_media-type": "application/vnd.ibexa.api.TrashItem+json",
- "_href": "/api/ibexa/v2/content/trash/87",
- "id": 87,
- "priority": 0,
- "hidden": false,
- "invisible": false,
- "ParentLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/57"
}, - "pathString": "/1/2/57/87/",
- "depth": 3,
- "childCount": 0,
- "remoteId": "7cc6565354858f39a794bf64aa2c2761",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/91"
}, - "sortField": "PATH",
- "sortOrder": "ASC",
- "ContentInfo": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/91",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/91",
- "_remoteId": "de906bef76f08700662bfaf1579871f0",
- "_id": 91,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2"
}, - "Name": "test_article",
- "TranslatedName": "test_article",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/91/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/91/currentversion"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/91/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/11"
}, - "lastModificationDate": "2021-07-19T08:31:01+00:00",
- "publishedDate": "2021-07-19T08:31:01+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 1,
- "alwaysAvailable": false,
- "isHidden": false,
- "status": "TRASHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/91/objectstates"
}
}
}
}
}{- "UrlAliasRefList": {
- "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json",
- "_href": "/api/ibexa/v2/content/urlaliases",
- "UrlAlias": [
- {
- "_media-type": "application/vnd.ibexa.api.UrlAlias+json",
- "_href": "/api/ibexa/v2/content/urlaliases/0-2cecdff5f90b8595d76b68c417b09f36"
}
]
}
}Creates a URL alias.
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The URL alias input schema encoded in XML or JSON format.
required | object (UrlAliasCreate) |
{- "UrlAliasCreate": {
- "_type": "GLOBAL",
- "resource": "module:content/view/full",
- "path": "example-global",
- "languageCode": "eng-GB",
- "alwaysAvailable": "true",
- "forward": "true"
}
}{- "UrlAlias": {
- "_media-type": "application/vnd.ibexa.api.UrlAlias+json",
- "_href": "/api/ibexa/v2/content/urlaliases/0-f530173ad554787c1fe30dc929d98360",
- "_id": "0-f530173ad554787c1fe30dc929d98360",
- "_type": "RESOURCE",
- "resource": "content/view/full",
- "path": "/example-global",
- "languageCodes": "eng-GB",
- "alwaysAvailable": true,
- "isHistory": false,
- "forward": true,
- "custom": true
}
}Returns the URL alias with the given ID.
| urlAliasId required | string URLAliasLoadByIdController identifier |
{- "UrlAlias": {
- "_media-type": "application/vnd.ibexa.api.UrlAlias+json",
- "_href": "/api/ibexa/v2/content/urlaliases/0-2cecdff5f90b8595d76b68c417b09f36",
- "_id": "0-2cecdff5f90b8595d76b68c417b09f36",
- "_type": "RESOURCE",
- "resource": "content/view/full",
- "path": "/example-global",
- "languageCodes": "eng-GB",
- "alwaysAvailable": true,
- "isHistory": false,
- "forward": true,
- "custom": true
}
}Executes a query and returns a View including the results. View input reflects the criteria model of the public PHP API. Refer to Search Criteria Reference
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The view input in XML or JSON format.
required | object (ViewInput) This class represents a View input. |
{- "ViewInput": {
- "identifier": "TitleView",
- "Query": {
- "Filter": {
- "ContentTypeIdentifierCriterion": "image",
- "SectionIdentifierCriterion": "media",
- "DateMetadataCriterion": {
- "Target": "modified",
- "Value": 1675681020,
- "Operator": "gte"
}
}, - "limit": 10,
- "offset": 0,
- "SortClauses": {
- "ContentName": "ascending"
}, - "Aggregations": [
- {
- "ContentTypeTermAggregation": {
- "name": "some name"
}
}
]
}
}
}<?xml version="1.0" encoding="UTF-8"?> <View href="/views/TitleView" media-type="application/vnd.ibexa.api.View+xml; version=1.1"> <identifier>TitleView</identifier> <User href="/user/users/14" media-type="vnd.ibexa.api.User+xml"/> <public>false</public> <LocationQuery> <Filter> <ParentLocationIdCriterion>2</ParentLocationIdCriterion> </Filter> <limit>10</limit> <offset>0</offset> <SortClauses> <ContentName>ascending</ContentName> </SortClauses> <FacetBuilders> <contentTypeFacetBuilder/> </FacetBuilders> </LocationQuery> <Result href="/content/views/view1234/results" media-type="application/vnd.ibexa.api.ViewResult+xml" count="34" time="31" maxScore="1.0"> <searchHits> <searchHit score="1.0" index="installid1234567890"> <hightlight/> <value> <Location media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2"> <id>2</id> <priority>0</priority> <hidden>false</hidden> <invisible>false</invisible> <ParentLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1"/> <pathString>/1/2/</pathString> <depth>1</depth> <childCount>8</childCount> <remoteId>f3e90596361e31d496d4026eb624c983</remoteId> <Children media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/locations/1/2/children"/> <Content media-type="application/vnd.ibexa.api.Content+xml" href="/api/ibexa/v2/content/objects/57"/> <sortField>PRIORITY</sortField> <sortOrder>ASC</sortOrder> <UrlAliases media-type="application/vnd.ibexa.api.UrlAliasRefList+xml" href="/api/ibexa/v2/content/locations/1/2/urlaliases"/> </Location> </value> </searchHit> <!-- ... --> </searchHits> <facets> <contentTypeFacet> <contentTypeFacetEntry> <contentType href="/content/types/1" media-type="application/vnd.ibexa.api.ContentType+xml"/> <count>3</count> </contentTypeFacetEntry> <contentTypeFacetEntry> <contentType href="/content/types/7" media-type="application/vnd.ibexa.api.ContentType+xml"/> <count>9</count> </contentTypeFacetEntry> <contentTypeFacetEntry> <contentType href="/content/types/11" media-type="application/vnd.ibexa.api.ContentType+xml"/> <count>1</count> </contentTypeFacetEntry> <contentTypeFacetEntry> <contentType href="/content/types/15" media-type="application/vnd.ibexa.api.ContentType+xml"/> <count>8</count> </contentTypeFacetEntry> </contentTypeFacet> </facets> </Result> </View>
Performs a login for the user or checks if session exists and returns the session and session cookie. The client will need to remember both session name/ID and CSRF token as this is for security reasons not exposed via GET.
| Accept required | string If set, the session is returned in XML or JSON format. |
| Content-Type required | string The SessionInput schema encoded in XML or JSON format. |
| Cookie required | string Only needed for session's checking {sessionName}={sessionID}. |
| X-CSRF-Token required | string Only needed for session's checking. The {csrfToken} needed on all unsafe HTTP methods with session. |
The new SessionCreateController resource
| _media-type required | string |
| _href | string |
| login required | string |
| password required | string |
<?xml version="1.0" encoding="UTF-8"?> <SessionInput> <login>admin</login> <password>secret</password> </SessionInput>
<?xml version="1.0" encoding="UTF-8"?> <Session media-type="application/vnd.ibexa.api.Session+xml" href="/api/ibexa/v2/user/sessions/ABCDEFGHIJKLMNOPQRSTUVWXYZ"> <name>IBX_SESSION_ID0123456789ABCDEFGHIJKLMNOPQRSTUV</name> <identifier>ABCDEFGHIJKLMNOPQRSTUVWXYZ</identifier> <csrfToken>0123456789ABCDEF.GHIJKLMNOP_QRSTUVWXYZabcdefghijklmnopqrstuv.wxyz0123456-789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopq</csrfToken> <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> </Session>
Get current user session, if any.
| Cookie required | string Only needed for session's checking {sessionName}={sessionID}. |
| Accept required | string If set, the session is returned in XML or JSON format. |
<?xml version="1.0" encoding="UTF-8"?> <Session media-type="application/vnd.ibexa.api.Session+xml" href="/api/ibexa/v2/user/sessions/ABCDEFGHIJKLMNOPQRSTUVWXYZ"> <name>IBX_SESSION_ID0123456789ABCDEFGHIJKLMNOPQRSTUV</name> <identifier>ABCDEFGHIJKLMNOPQRSTUVWXYZ</identifier> <csrfToken>0123456789ABCDEF.GHIJKLMNOP_QRSTUVWXYZabcdefghijklmnopqrstuv.wxyz0123456-789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopq</csrfToken> <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> </Session>
The user session is removed i.e. the user is logged out.
| sessionId required | string SessionDeleteController identifier |
| Cookie required | string {sessionName}={sessionID} |
| X-CSRF-Token required | string The {csrfToken} needed on all unsafe HTTP methods with session. |
Get the session's User information. Deprecated as of Ibexa DXP 4.6, use GET /user/sessions/current instead.
| sessionId required | string SessionRefreshController identifier |
| Cookie required | string {sessionName}={sessionID} |
| X-CSRF-Token required | string The {csrfToken} needed on all unsafe HTTP methods with session. |
| Accept required | string |
<?xml version="1.0" encoding="UTF-8"?> <Session media-type="application/vnd.ibexa.api.Session+xml" href="/api/ibexa/v2/user/sessions/ABCDEFGHIJKLMNOPQRSTUVWXYZ"> <name>IBX_SESSION_ID0123456789ABCDEFGHIJKLMNOPQRSTUV</name> <identifier>ABCDEFGHIJKLMNOPQRSTUVWXYZ</identifier> <csrfToken>0123456789ABCDEF.GHIJKLMNOP_QRSTUVWXYZabcdefghijklmnopqrstuv.wxyz0123456-789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopq</csrfToken> <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> </Session>
{- "BookmarkList": {
- "_media-type": "application/vnd.ibexa.api.BookmarkList+json",
- "count": 3,
- "items": [
- {
- "_media-type": "application/vnd.ibexa.api.Bookmark+json",
- "__href": "/api/ibexa/v2/bookmark/65",
- "Location": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/57/65",
- "id": 65,
- "priority": 0,
- "hidden": false,
- "invisible": false,
- "explicitlyHidden": false,
- "ParentLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/57"
}, - "pathString": "/1/2/57/65/",
- "depth": 3,
- "childCount": 0,
- "remoteId": "aa538e305aea472eb221ce23d1cc4b50",
- "Children": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/57/65/children"
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/63"
}, - "sortField": "PATH",
- "sortOrder": "ASC",
- "UrlAliases": {
- "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/57/65/urlaliases"
}, - "ContentInfo": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/63",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/63",
- "_remoteId": "211e99934c8fef5900e4813b96ec5c87",
- "_id": 63,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2"
}, - "Name": "Art3",
- "TranslatedName": "Art3",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/63/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/63/currentversion"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/63/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2021-06-28T11:34:17+00:00",
- "publishedDate": "2021-06-28T11:34:17+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 1,
- "alwaysAvailable": false,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/63/objectstates"
}
}
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Bookmark+json",
- "__href": "/api/ibexa/v2/bookmark/68",
- "Location": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/58/68",
- "id": 68,
- "priority": 0,
- "hidden": false,
- "invisible": false,
- "explicitlyHidden": false,
- "ParentLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/58"
}, - "pathString": "/1/2/58/68/",
- "depth": 3,
- "childCount": 0,
- "remoteId": "b8cc4627dbc3ca693c85b6b06a8f7492",
- "Children": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/58/68/children"
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/67"
}, - "sortField": "PUBLISHED",
- "sortOrder": "DESC",
- "UrlAliases": {
- "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/58/68/urlaliases"
}, - "ContentInfo": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/67",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/67",
- "_remoteId": "180adb876af5755d65c1a362fcd619c8",
- "_id": 67,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/45"
}, - "Name": "Tip1",
- "TranslatedName": "Tip1",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/67/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/67/currentversion"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/67/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2021-06-28T11:36:21+00:00",
- "publishedDate": "2021-06-28T11:36:21+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 1,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/67/objectstates"
}
}
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Bookmark+json",
- "__href": "/api/ibexa/v2/bookmark/59",
- "Location": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/59",
- "id": 59,
- "priority": 0,
- "hidden": false,
- "invisible": false,
- "explicitlyHidden": false,
- "ParentLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/2"
}, - "pathString": "/1/2/59/",
- "depth": 2,
- "childCount": 3,
- "remoteId": "fd949fc2eed1fff847d73021ff1a6ea9",
- "Children": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/59/children"
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/58"
}, - "sortField": "PATH",
- "sortOrder": "ASC",
- "UrlAliases": {
- "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json",
- "_href": "/api/ibexa/v2/content/locations/1/2/59/urlaliases"
}, - "ContentInfo": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/58",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/58",
- "_remoteId": "00b513aae54036a16e00fb3365c4b5f3",
- "_id": 58,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1"
}, - "Name": "Dog Breed Catalog",
- "TranslatedName": "Dog Breed Catalog",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/58/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/58/currentversion"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/58/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2021-06-28T11:23:10+00:00",
- "publishedDate": "2021-06-28T11:23:10+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 1,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/58/objectstates"
}
}
}
}
}
]
}
}Calendar event list.
| start required | integer (UnixTimestamp) timestamp (seconds since the Unix Epoch). |
| end required | integer (UnixTimestamp) timestamp. |
| count | integer Maximum number of events returned (10 by default). |
| types | Array of strings Example: types=future_publication,future_hide,page_block_reveal,page_block_hide Comma-separated list of type identifiers. |
| languages | Array of strings Example: languages=eng-GB,fre-FR comma-separated list of language codes. |
| cursor | string Example: cursor=MTc3ODI2NDA0MDpmdXR1cmVfaGlkZTpmdXR1cmVfaGlkZToy Pagination cursor. It's the representation of the event to start the page afterward, as the concatenation of the timestamp, the event type, and the event identifier with a colon separator (" |
{- "EventList": {
- "_media-type": "application/vnd.ibexa.api.EventList+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1597104000&end=1598745600&count=10",
- "totalCount": 5,
- "events": [ ]
}
}Calendar event list grouped by day.
| start required | integer (UnixTimestamp) timestamp (seconds since the Unix Epoch). |
| end required | integer (UnixTimestamp) timestamp. |
| count | integer Maximum number of events returned (10 by default). |
| types | Array of strings Example: types=future_publication,future_hide,page_block_reveal,page_block_hide Comma-separated list of type identifiers. |
| languages | Array of strings Example: languages=eng-GB,fre-FR comma-separated list of language codes. |
| cursor | string Example: cursor=MTc3ODI2NDA0MDpmdXR1cmVfaGlkZTpmdXR1cmVfaGlkZToy Pagination cursor. It's the representation of the event to start the page afterward, as the concatenation of the timestamp, the event type, and the event identifier with a colon separator (" |
{- "EventGroupList": {
- "_media-type": "application/vnd.ibexa.api.EventGroupList+json",
- "groups": [
- {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1597104000&end=1597190400&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1597104000",
- "endDate": "1597190400"
}, - "totalCount": 0,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1597190400&end=1597276800&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1597190400",
- "endDate": "1597276800"
}, - "totalCount": 0,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1597276800&end=1597363200&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1597276800",
- "endDate": "1597363200"
}, - "totalCount": 1,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1597363200&end=1597449600&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1597363200",
- "endDate": "1597449600"
}, - "totalCount": 1,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1597449600&end=1597536000&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1597449600",
- "endDate": "1597536000"
}, - "totalCount": 1,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1597536000&end=1597622400&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1597536000",
- "endDate": "1597622400"
}, - "totalCount": 1,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1597622400&end=1597708800&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1597622400",
- "endDate": "1597708800"
}, - "totalCount": 0,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1597708800&end=1597795200&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1597708800",
- "endDate": "1597795200"
}, - "totalCount": 0,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1597795200&end=1597881600&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1597795200",
- "endDate": "1597881600"
}, - "totalCount": 1,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1597881600&end=1597968000&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1597881600",
- "endDate": "1597968000"
}, - "totalCount": 0,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1597968000&end=1598054400&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1597968000",
- "endDate": "1598054400"
}, - "totalCount": 0,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1598054400&end=1598140800&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1598054400",
- "endDate": "1598140800"
}, - "totalCount": 0,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1598140800&end=1598227200&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1598140800",
- "endDate": "1598227200"
}, - "totalCount": 0,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1598227200&end=1598313600&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1598227200",
- "endDate": "1598313600"
}, - "totalCount": 0,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1598313600&end=1598400000&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1598313600",
- "endDate": "1598400000"
}, - "totalCount": 0,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1598400000&end=1598486400&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1598400000",
- "endDate": "1598486400"
}, - "totalCount": 0,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1598486400&end=1598572800&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1598486400",
- "endDate": "1598572800"
}, - "totalCount": 0,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1598572800&end=1598659200&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1598572800",
- "endDate": "1598659200"
}, - "totalCount": 0,
- "events": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.EventGroup+json",
- "_currentPage": "/api/ibexa/v2/calendar/event?start=1598659200&end=1598745600&count=10",
- "DateRange": {
- "_media-type": "application/vnd.ibexa.api.DateRange+json",
- "startDate": "1598659200",
- "endDate": "1598745600"
}, - "totalCount": 0,
- "events": [ ]
}
]
}
}A calendar action that e.g. reschedules or unschedules calendar events. The event type should always be copied from an event.
| eventType required | string Enum: "future_publication" "future_hide" The type of event to execute an action on. |
Data for the calendar action to execute
required | object (RescheduleAction) This class represents events to reschedule |
{- "RescheduleAction": {
- "events": [
- "string"
], - "dateTime": 0
}
}Loads list of all attributes. Deprecated as of Ibexa DXP 4.3, use POST /product/catalog/attributes/view instead.
Attribute filter
required | object (AttributeListGet) This class represents an attribute list query |
{- "AttributeListGet": {
- "group_name_prefix": "a",
- "name_prefix": "a",
- "offset": 0,
- "limit": 10
}
}{- "AttributeList": {
- "_media-type": "application/vnd.ibexa.api.AttributeList+json",
- "Attribute": [
- {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "attrib1",
- "name": "Attrib1",
- "description": "",
- "type": "Checkbox",
- "type_identifier": "checkbox",
- "value": true,
- "group": "Attribute Group Test",
- "position": 0,
- "options": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "attrib2",
- "name": "Attrib2",
- "description": "",
- "type": "Checkbox",
- "type_identifier": "checkbox",
- "value": true,
- "group": "Attribute Group Test",
- "position": 0,
- "options": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "attrib3",
- "name": "Attrib3",
- "description": "",
- "type": "Checkbox",
- "type_identifier": "checkbox",
- "value": true,
- "group": "Attribute Group Test",
- "position": 0,
- "options": [ ]
}
]
}
}Creates a new attribute.
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The attribute schema encoded in XML or JSON format.
required | object (AttributeCreate) This class is used to create an attribute. |
{- "AttributeCreate": {
- "identifier": "foo",
- "type": "checkbox",
- "group": "attr_group_test",
- "names": {
- "eng-GB": "Attribute"
}, - "descriptions": {
- "eng-GB": "description"
}, - "position": 0,
- "options": {
- "foo": "bar"
}
}
}{- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "foo",
- "name": "Attribute",
- "description": "description",
- "type": "Checkbox",
- "type_identifier": "checkbox",
- "value": true,
- "group": "Attribute Test",
- "position": 0,
- "options": [ ]
}
}The given translation is removed from the attribute.
| id required | string AttributeTranslationDeleteController identifier |
| languageCode required | string AttributeTranslationDeleteController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API.
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The view input in XML or JSON format.
required | object (AttributeViewInput) This class represents an attribute view input. |
{- "ViewInput": {
- "identifier": "TitleView",
- "AttributeQuery": {
- "limit": "10",
- "offset": "0",
- "Query": {
- "AttributeNameCriterion": "measure",
- "AttributeGroupIdentifierCriterion": "test_attribute_group"
}
}
}
}{- "AttributeView": {
- "_media-type": "application/vnd.ibexa.api.AttributeView+json",
- "identifier": "TitleView",
- "AttributeQuery": {
- "_media-type": "application/vnd.ibexa.api.AttributeQuery+json"
}, - "Result": {
- "_media-type": "application/vnd.ibexa.api.ViewResult+json",
- "count": 1,
- "AttributeList": {
- "_media-type": "application/vnd.ibexa.api.AttributeList+json",
- "Attribute": [
- {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "measure",
- "name": "measure",
- "description": "",
- "type": "Measurement",
- "type_identifier": "measurement",
- "group": "Test Attribute group",
- "position": 0,
- "options": {
- "type": "length",
- "unit": "centimeter",
- "measurementRange": {
- "minimum": 12,
- "maximum": 15
}, - "measurementDefaultRange": {
- "defaultRangeMinimumValue": null,
- "defaultRangeMaximumValue": null
}
}
}
]
}
}
}
}Loads given attribute.
| id required | string AttributeLoadByIdentifierController identifier |
{- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "attrib2",
- "name": "Attrib2",
- "description": "",
- "type": "Checkbox",
- "type_identifier": "checkbox",
- "value": true,
- "group": "Attribute Group Test",
- "position": 0,
- "options": [ ]
}
}Updates an attribute.
| id required | string AttributeUpdateController identifier |
| group_id required | string AttributeUpdateController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
If set, the updated attribute group is returned in XML or JSON format.
required | object (AttributeUpdate) This class is used to update an attribute. |
{- "AttributeUpdate": {
- "identifier": "attr_group",
- "names": {
- "eng-GB": "Attribute Group"
}, - "descriptions": {
- "eng-GB": "description"
}, - "position": 0,
- "options": {
- "foo": "bar"
}
}
}{- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "attr_group",
- "name": "Attribute Group",
- "description": "description",
- "type": "Checkbox",
- "type_identifier": "checkbox",
- "value": true,
- "group": "Attribute Group",
- "position": 0,
- "options": [ ]
}
}Returns a list of attribute groups. Deprecated as of Ibexa DXP 4.3, use POST /product/catalog/attribute_groups/view instead.
The AttributeGroupListGet schema encoded in XML or JSON format.
required | object (AttributeGroupListGet) This class represents an attribute group list request. |
{- "AttributeGroupListGet": {
- "prefix": "s",
- "offset": 0,
- "limit": 10
}
}{- "AttributeGroupList": {
- "_media-type": "application/vnd.ibexa.api.AttributeGroupList+json",
- "AttributeGroup": [
- {
- "_media-type": "application/vnd.ibexa.api.AttributeGroup+json",
- "name": "Attribute Group Test",
- "identifier": "attr_group_test",
- "position": 0
}, - {
- "_media-type": "application/vnd.ibexa.api.AttributeGroup+json",
- "name": "Dimensions",
- "identifier": "ag_dimensions",
- "position": 0
}
]
}
}Creates a new attribute group.
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The AttributeGroup schema encoded in XML or JSON format.
required | object (AttributeGroupCreate) This class is used to create an attribute group. |
{- "AttributeGroupCreate": {
- "identifier": "attr_group_test",
- "names": {
- "eng-GB": "Attribute Group Test"
}, - "position": 0
}
}{- "AttributeGroup": {
- "_media-type": "application/vnd.ibexa.api.AttributeGroup+json",
- "name": "Attribute Group Test",
- "identifier": "attr_group_test",
- "position": 0
}
}Deletes given translation from attribute group.
| id required | string AttributeGroupTranslationDeleteController identifier |
| languageCode required | string AttributeGroupTranslationDeleteController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API.
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The view input in XML or JSON format.
required | object (AttributeGroupViewInput) This class represents an attribute group view input. |
{- "ViewInput": {
- "identifier": "TitleView",
- "AttributeGroupQuery": {
- "limit": "10",
- "offset": "0",
- "name_prefix": "test"
}
}
}{- "AttributeGroupView": {
- "_media-type": "application/vnd.ibexa.api.AttributeGroupView+json",
- "identifier": "TitleView",
- "AttributeGroupQuery": {
- "_media-type": "application/vnd.ibexa.api.AttributeGroupQuery+json"
}, - "Result": {
- "_media-type": "application/vnd.ibexa.api.ViewResult+json",
- "count": 1,
- "AttributeGroupList": {
- "_media-type": "application/vnd.ibexa.api.AttributeGroupList+json",
- "AttributeGroup": [
- {
- "_media-type": "application/vnd.ibexa.api.AttributeGroup+json",
- "name": "Test Attribute group",
- "identifier": "test_attribute_group",
- "position": 0
}
]
}
}
}
}Returns the given attribute group.
| id required | string AttributeGroupLoadByIdentifierController identifier |
An optional AttributeGroupGet schema encoded in XML or JSON format.
required | object (AttributeGroupGet) This class represents an attribute group query. |
{- "AttributeGroupGet": {
- "languages": [
- "eng-GB"
]
}
}{- "AttributeGroup": {
- "_media-type": "application/vnd.ibexa.api.AttributeGroup+json",
- "name": "Attribute Group Test",
- "identifier": "attr_group_test",
- "position": 0
}
}Updates an attribute group.
| id required | string AttributeGroupUpdateController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The attribute group update schema is sent in XML or JSON format.
required | object (AttributeGroupUpdate) This class is used to update an attribute group. |
{- "AttributeGroupUpdate": {
- "identifier": "ag_colors",
- "names": {
- "eng-GB": "Colors Group"
}, - "position": 0
}
}{- "AttributeGroup": {
- "_media-type": "application/vnd.ibexa.api.AttributeGroup+json",
- "name": "Colors Group",
- "identifier": "ag_colors",
- "position": 0
}
}Creates a new catalog.
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The catalog schema encoded in XML or JSON format.
required | object (CatalogCreate) This class is used to create a catalog. |
{- "CatalogCreate": {
- "identifier": "test_catalog",
- "criteria": {
- "ProductCodeCriterion": [
- "ski",
- "snowboard"
], - "ProductAvailabilityCriterion": true,
- "ColorAttributeCriterion": {
- "identifier": "color",
- "value": [
- "#000000",
- "#FFFFFF"
]
}, - "CreatedAtCriterion": {
- "operator": ">=",
- "created_at": "12-09-2022"
}, - "FloatAttributeCriterion": {
- "identifier": "width",
- "value": 16.6
}, - "IntegerAttributeRangeCriterion": {
- "identifier": "length",
- "min": 180,
- "max": 230
}
}, - "names": {
- "eng-GB": "Snow Equipment"
}, - "status": "draft"
}
}{- "Catalog": {
- "_media-type": "application/vnd.ibexa.api.Catalog+json",
- "identifier": "test_catalog_copied",
- "name": "Snow Equipment updated",
- "description": "Snow Equipment catalog for 2022",
- "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "created": 1666091820,
- "modified": 1666091820,
- "status": "draft",
- "Criteria": [
- {
- "_media-type": "application/vnd.ibexa.api.ProductCode+json",
- "ProductCodeCriterion": {
- "_media-type": "application/vnd.ibexa.api.ProductCodeCriterion+json",
- "codes": [
- "ski"
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductAvailability+json",
- "ProductAvailabilityCriterion": {
- "_media-type": "application/vnd.ibexa.api.ProductAvailabilityCriterion+json",
- "is_available": false
}
}, - {
- "_media-type": "application/vnd.ibexa.api.CreatedAt+json",
- "CreatedAtCriterion": {
- "_media-type": "application/vnd.ibexa.api.CreatedAtCriterion+json",
- "created_at": {
- "date": "2022-12-12 00:00:00.000000",
- "timezone_type": 3,
- "timezone": "Europe/Warsaw"
}, - "operator": ">="
}
}
]
}
}Copies a catalog.
| identifier required | string CatalogCopyController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
If set, the copied catalog is returned in XML or JSON format.
required | object (CatalogCopy) This class is used to copy a catalog. |
{- "CatalogCopy": {
- "identifier": "test_catalog_copied",
- "creator_id": 14
}
}{- "Catalog": {
- "_media-type": "application/vnd.ibexa.api.Catalog+json",
- "identifier": "test_catalog_copied",
- "name": "Snow Equipment updated",
- "description": "Snow Equipment catalog for 2022",
- "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "created": 1666091820,
- "modified": 1666091820,
- "status": "draft",
- "Criteria": [
- {
- "_media-type": "application/vnd.ibexa.api.ProductCode+json",
- "ProductCodeCriterion": {
- "_media-type": "application/vnd.ibexa.api.ProductCodeCriterion+json",
- "codes": [
- "ski"
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductAvailability+json",
- "ProductAvailabilityCriterion": {
- "_media-type": "application/vnd.ibexa.api.ProductAvailabilityCriterion+json",
- "is_available": false
}
}, - {
- "_media-type": "application/vnd.ibexa.api.CreatedAt+json",
- "CreatedAtCriterion": {
- "_media-type": "application/vnd.ibexa.api.CreatedAtCriterion+json",
- "created_at": {
- "date": "2022-12-12 00:00:00.000000",
- "timezone_type": 3,
- "timezone": "Europe/Warsaw"
}, - "operator": ">="
}
}
]
}
}{- "ProductFilterList": {
- "_media-type": "application/vnd.ibexa.api.ProductFilterList+json",
- "ProductFilter": [
- {
- "_media-type": "application/vnd.ibexa.api.ProductFilter+json",
- "name": "CreatedAtCriterion"
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductFilter+json",
- "name": "CreatedAtRangeCriterion"
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductFilter+json",
- "name": "ProductCategoryCriterion"
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductFilter+json",
- "name": "ColorAttributeCriterion"
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductFilter+json",
- "name": "FloatAttributeCriterion"
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductFilter+json",
- "name": "FloatAttributeRangeCriterion"
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductFilter+json",
- "name": "IntegerAttributeCriterion"
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductFilter+json",
- "name": "IntegerAttributeRangeCriterion"
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductFilter+json",
- "name": "SelectionAttributeCriterion"
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductFilter+json",
- "name": "ProductCodeCriterion"
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductFilter+json",
- "name": "ProductNameCriterion"
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductFilter+json",
- "name": "ProductAvailabilityCriterion"
}
]
}
}{- "ProductSortClauseList": {
- "_media-type": "application/vnd.ibexa.api.ProductSortClauseList+json",
- "ProductSortClause": [
- {
- "_media-type": "application/vnd.ibexa.api.ProductSortClause+json",
- "name": "ProductName"
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductSortClause+json",
- "name": "ProductCode"
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductSortClause+json",
- "name": "ProductAvailability"
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductSortClause+json",
- "name": "CreatedAt"
}
]
}
}Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API.
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The view input in XML or JSON format.
required | object (CatalogViewInput) This class represents a catalog view input. |
{- "ViewInput": {
- "identifier": "TitleView",
- "CatalogQuery": {
- "Query": {
- "CatalogIdentifierCriterion": "test",
- "CatalogNameCriterion": "test"
}
}
}
}{- "CatalogView": {
- "_media-type": "application/vnd.ibexa.api.CatalogView+json",
- "identifier": "TitleView",
- "CatalogQuery": {
- "_media-type": "application/vnd.ibexa.api.CatalogQuery+json"
}, - "Result": {
- "_media-type": "application/vnd.ibexa.api.ViewResult+json",
- "count": 1,
- "CatalogList": {
- "_media-type": "application/vnd.ibexa.api.CatalogList+json",
- "Catalog": [
- {
- "_media-type": "application/vnd.ibexa.api.Catalog+json",
- "identifier": "test",
- "name": "test",
- "description": "",
- "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "created": 1665479475,
- "modified": 1665479475,
- "status": "draft",
- "Criteria": [
- {
- "_media-type": "application/vnd.ibexa.api.ProductCode+json",
- "ProductCodeCriterion": {
- "_media-type": "application/vnd.ibexa.api.ProductCodeCriterion+json",
- "codes": [
- "test"
]
}
}
]
}
]
}
}
}
}Loads the given catalog.
| identifier required | string CatalogLoadByIdentifierController identifier |
{- "Catalog": {
- "_media-type": "application/vnd.ibexa.api.Catalog+json",
- "identifier": "test_catalog",
- "name": "Snow Equipment",
- "description": "",
- "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "created": 1666090438,
- "modified": 1666090438,
- "status": "draft",
- "Criteria": [
- {
- "_media-type": "application/vnd.ibexa.api.ProductCode+json",
- "ProductCodeCriterion": {
- "_media-type": "application/vnd.ibexa.api.ProductCodeCriterion+json",
- "codes": [
- "ski",
- "snowboard"
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductAvailability+json",
- "ProductAvailabilityCriterion": {
- "_media-type": "application/vnd.ibexa.api.ProductAvailabilityCriterion+json",
- "is_available": true
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ColorAttribute+json",
- "ColorAttributeCriterion": {
- "_media-type": "application/vnd.ibexa.api.ColorAttributeCriterion+json",
- "identifier": "color",
- "value": [
- "#000000",
- "#FFFFFF"
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.CreatedAt+json",
- "CreatedAtCriterion": {
- "_media-type": "application/vnd.ibexa.api.CreatedAtCriterion+json",
- "created_at": {
- "date": "2022-09-12 00:00:00.000000",
- "timezone_type": 3,
- "timezone": "Europe/Warsaw"
}, - "operator": ">="
}
}, - {
- "_media-type": "application/vnd.ibexa.api.FloatAttribute+json",
- "FloatAttributeCriterion": {
- "_media-type": "application/vnd.ibexa.api.FloatAttributeCriterion+json",
- "identifier": "width",
- "value": 16.6
}
}, - {
- "_media-type": "application/vnd.ibexa.api.IntegerAttributeRange+json",
- "IntegerAttributeRangeCriterion": {
- "_media-type": "application/vnd.ibexa.api.IntegerAttributeRangeCriterion+json",
- "identifier": "length",
- "min": 180,
- "max": 230
}
}
]
}
}Updates a catalog.
| identifier required | string CatalogUpdateController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
If set, the updated catalog is returned in XML or JSON format.
required | object (CatalogUpdate) This class is used to update a catalog. |
{- "CatalogUpdate": {
- "identifier": "test_catalog_updated",
- "criteria": {
- "ProductCodeCriterion": [
- "ski"
], - "ProductAvailabilityCriterion": false,
- "CreatedAtCriterion": {
- "operator": ">=",
- "created_at": "12-12-2022"
}
}, - "names": {
- "eng-GB": "Snow Equipment updated"
}, - "descriptions": {
- "eng-GB": "Snow Equipment catalog for 2022"
}, - "transition": "publish"
}
}{- "Catalog": {
- "_media-type": "application/vnd.ibexa.api.Catalog+json",
- "identifier": "test_catalog_updated",
- "name": "Snow Equipment updated",
- "description": "Snow Equipment catalog for 2022",
- "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "created": 1666090438,
- "modified": 1666091260,
- "status": "published",
- "Criteria": [
- {
- "_media-type": "application/vnd.ibexa.api.ProductCode+json",
- "ProductCodeCriterion": {
- "_media-type": "application/vnd.ibexa.api.ProductCodeCriterion+json",
- "codes": [
- "ski"
]
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductAvailability+json",
- "ProductAvailabilityCriterion": {
- "_media-type": "application/vnd.ibexa.api.ProductAvailabilityCriterion+json",
- "is_available": false
}
}, - {
- "_media-type": "application/vnd.ibexa.api.CreatedAt+json",
- "CreatedAtCriterion": {
- "_media-type": "application/vnd.ibexa.api.CreatedAtCriterion+json",
- "created_at": {
- "date": "2022-12-12 00:00:00.000000",
- "timezone_type": 3,
- "timezone": "Europe/Warsaw"
}, - "operator": ">="
}
}
]
}
}Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API.
| identifier required | string CatalogProductsViewController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The view input in XML or JSON format.
required | object (ProductViewInput) This class represents a product view input. |
{- "ViewInput": {
- "identifier": "TitleView",
- "ProductQuery": {
- "Query": {
- "ProductCodeCriterion": "test",
- "ProductAvailabilityCriterion": true
}
}
}
}{- "ProductView": {
- "_media-type": "application/vnd.ibexa.api.ProductView+json",
- "identifier": "TitleView",
- "ProductQuery": {
- "_media-type": "application/vnd.ibexa.api.ProductQuery+json"
}, - "Result": {
- "_media-type": "application/vnd.ibexa.api.ViewResult+json",
- "count": 1,
- "ProductList": {
- "_media-type": "application/vnd.ibexa.api.ProductList+json",
- "Product": [
- {
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "test",
- "name": "test",
- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "quickdraw",
- "name": "Quickdraw",
- "AttributeAssignmentList": [ ]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/187",
- "_remoteId": "b0608be4ef4dc978ad603d02ac3c9ad1",
- "_id": 187,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/55"
}, - "Name": "test",
- "TranslatedName": "test",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/187/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/187/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/187/versions/1",
- "VersionInfo": {
- "id": 665,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2022-08-26T11:16:49+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2022-08-26T11:16:49+02:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "test"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/187"
}
}, - "Fields": {
- "field": [
- {
- "id": 915,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "test"
}, - {
- "id": 916,
- "fieldDefinitionIdentifier": "product_specification",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_product_specification",
- "fieldValue": {
- "id": 60,
- "code": "test",
- "attributes": [ ]
}
}, - {
- "id": 917,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}, - {
- "id": 918,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image_asset",
- "fieldValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}
}, - {
- "id": 919,
- "fieldDefinitionIdentifier": "category",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment",
- "fieldValue": {
- "taxonomy_entries": [ ],
- "taxonomy": null
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/187/versions/1/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/187/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2022-08-26T11:16:49+02:00",
- "publishedDate": "2022-08-26T11:16:49+02:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 1,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/187/objectstates"
}
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}, - "created_at": 1661505409,
- "updated_at": 1661505409,
- "AttributesList": [ ]
}
]
}
}
}
}{- "CurrencyList": {
- "_media-type": "application/vnd.ibexa.api.CurrencyList+json",
- "Currency": [
- {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 1,
- "code": "AFN",
- "subunits": 1,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 3,
- "code": "ALL",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 4,
- "code": "DZD",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 5,
- "code": "USD",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 6,
- "code": "AOA",
- "subunits": 2,
- "enabled": false
}
]
}
}Creates a new currency.
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The Currency schema encoded in XML or JSON format.
required | object (CurrencyCreate) This class is used to create currency. |
{- "CurrencyCreate": {
- "code": "cur",
- "subunits": 1,
- "enabled": true
}
}{- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 181,
- "code": "cur",
- "subunits": 1,
- "enabled": true
}
}Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API.
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The view input in XML or JSON format.
required | object (CurrencyViewInput) This class represents a currency view input. |
{- "ViewInput": {
- "identifier": "TitleView",
- "CurrencyQuery": {
- "limit": "10",
- "offset": "0"
}
}
}{- "CurrencyView": {
- "_media-type": "application/vnd.ibexa.api.CurrencyView+json",
- "identifier": "TitleView",
- "CurrencyQuery": {
- "_media-type": "application/vnd.ibexa.api.CurrencyQuery+json"
}, - "Result": {
- "_media-type": "application/vnd.ibexa.api.ViewResult+json",
- "count": 179,
- "CurrencyList": {
- "_media-type": "application/vnd.ibexa.api.CurrencyList+json",
- "Currency": [
- {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 1,
- "code": "AFN",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 3,
- "code": "ALL",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 4,
- "code": "DZD",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 5,
- "code": "USD",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 6,
- "code": "AOA",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 7,
- "code": "XCD",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 8,
- "code": "ARS",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 9,
- "code": "AMD",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 10,
- "code": "AWG",
- "subunits": 2,
- "enabled": false
}
]
}
}
}
}Loads a currency.
| id required | string CurrencyLoadByIdController identifier |
{- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 3,
- "code": "ALL",
- "subunits": 2,
- "enabled": false
}
}Updates a currency.
| id required | string CurrencyUpdateController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The CurrencyUpdate schema encoded in XML or JSON format.
required | object (CurrencyUpdate) This class is used to update currency. |
{- "CurrencyUpdate": {
- "subunits": 1,
- "enabled": false
}
}{- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 1,
- "code": "AFN",
- "subunits": 1,
- "enabled": false
}
}{- "CustomerGroupList": {
- "_media-type": "application/vnd.ibexa.api.CustomerGroupList+json",
- "CustomerGroup": [
- {
- "_media-type": "application/vnd.ibexa.api.CustomerGroup+json",
- "id": 1,
- "name": "Resellers",
- "identifier": "resellers",
- "description": "",
- "users": [ ],
- "global_price_rate": "0.00"
}, - {
- "_media-type": "application/vnd.ibexa.api.CustomerGroup+json",
- "id": 2,
- "name": "Contractors",
- "identifier": "contractors",
- "description": "",
- "users": [ ],
- "global_price_rate": "-20.00"
}
]
}
}Creates a new customer group.
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The CustomerGroupCreate schema encoded in XML or JSON format.
required | object (CustomerGroupCreate) This class is used to create a customer group. |
{- "CustomerGroupCreate": {
- "identifier": "customer_group",
- "names": {
- "eng-GB": "Customer Group"
}, - "descriptions": {
- "eng-GB": "Customer Group description"
}, - "global_price_rate": "1"
}
}{- "CustomerGroup": {
- "_media-type": "application/vnd.ibexa.api.CustomerGroup+json",
- "id": 5,
- "name": "test-en",
- "identifier": "test",
- "description": "test-desc-en",
- "users": [ ],
- "global_price_rate": "1.00"
}
}Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API.
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The view input in XML or JSON format.
required | object (CustomerGroupViewInput) This class represents a customer group view input. |
{- "ViewInput": {
- "identifier": "TitleView",
- "CustomerGroupQuery": {
- "limit": "10",
- "offset": "0"
}
}
}{- "CustomerGroupView": {
- "_media-type": "application/vnd.ibexa.api.CustomerGroupView+json",
- "identifier": "TitleView",
- "CustomerGroupQuery": {
- "_media-type": "application/vnd.ibexa.api.CustomerGroupQuery+json"
}, - "Result": {
- "_media-type": "application/vnd.ibexa.api.ViewResult+json",
- "count": 1,
- "CustomerGroupList": {
- "_media-type": "application/vnd.ibexa.api.CustomerGroupList+json",
- "CustomerGroup": [
- {
- "_media-type": "application/vnd.ibexa.api.CustomerGroup+json",
- "id": 1,
- "name": "Business",
- "identifier": "business",
- "description": "Most trusted business customers, being our partners for at least 5 years.",
- "users": [ ],
- "global_price_rate": "15.00"
}
]
}
}
}
}Returns a customer group
| identifier required | string CustomerGroupLoadByIdentifierController identifier |
{- "CustomerGroup": {
- "_media-type": "application/vnd.ibexa.api.CustomerGroup+json",
- "id": 1,
- "name": "Resellers",
- "identifier": "resellers",
- "description": "",
- "users": [ ],
- "global_price_rate": "0.00"
}
}Updates the given customer group.
| identifier required | string CustomerGroupUpdateController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The CustomerGroupUpdate schema encoded in XML or JSON format.
required | object (CustomerGroupUpdate) This class is used to update a customer group. |
{- "CustomerGroupUpdate": {
- "identifier": "customer_group",
- "names": {
- "eng-GB": "Customer Group"
}, - "global_price_rate": "1"
}
}{- "CustomerGroup": {
- "_media-type": "application/vnd.ibexa.api.CustomerGroup+json",
- "id": 1,
- "name": "Customer Group",
- "identifier": "customer_group",
- "description": "",
- "users": [ ],
- "global_price_rate": "1.00"
}
}Returns a customer group
| id required | integer CustomerGroupLoadByIdController identifier |
{- "CustomerGroup": {
- "_media-type": "application/vnd.ibexa.api.CustomerGroup+json",
- "id": 1,
- "name": "Customer Group",
- "identifier": "customer_group",
- "description": "",
- "users": [ ],
- "global_price_rate": "1.00"
}
}Returns a list of products. Deprecated as of Ibexa DXP 4.3, use POST /product/catalog/products/view instead.
The product list schema encoded in XML or JSON format.
required | object (ProductListGet) This class represents a product list GET. |
{- "ProductListGet": {
- "offset": 0,
- "limit": 10,
- "languages": [
- "eng-GB"
]
}
}{- "ProductList": {
- "_media-type": "application/vnd.ibexa.api.ProductList+json",
- "Product": [
- {
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "wsk_98845",
- "name": "HUMMINGBIRD PRO DRY 9,2MM",
- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "d_rope",
- "name": "Dynamic ropes",
- "AttributeAssignmentList": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}, - "created_at": 1645787815,
- "updated_at": 1645787815,
- "AttributesList": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "wsst_34456",
- "name": "Simond XC 60m",
- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "s_rope",
- "name": "Static ropes",
- "AttributeAssignmentList": [ ]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/141",
- "_remoteId": "86fdab24802923a9c30994858165ba9b",
- "_id": 141,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/54"
}, - "Name": "HUMMINGBIRD PRO DRY 9,2MM",
- "TranslatedName": "HUMMINGBIRD PRO DRY 9,2MM",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/141/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/141/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/141/versions/2",
- "VersionInfo": {
- "id": 618,
- "versionNo": 2,
- "status": "PUBLISHED",
- "modificationDate": "2022-05-27T09:29:33+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2022-05-27T09:29:33+00:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "HUMMINGBIRD PRO DRY 9,2MM"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/141"
}
}, - "Fields": {
- "field": [
- {
- "id": 612,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "HUMMINGBIRD PRO DRY 9,2MM"
}, - {
- "id": 613,
- "fieldDefinitionIdentifier": "product_specification",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_product_specification",
- "fieldValue": {
- "id": 25,
- "code": "wsk_98845",
- "attributes": [
- 10
]
}
}, - {
- "id": 614,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}, - {
- "id": 615,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image_asset",
- "fieldValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/141/versions/2/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/141/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2022-05-27T09:29:33+00:00",
- "publishedDate": "2022-05-27T06:51:36+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 2,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/141/objectstates"
}
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}, - "created_at": 1645787893,
- "updated_at": 1645787893,
- "AttributesList": [ ]
}
]
}
}Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API.
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The view input in XML or JSON format.
required | object (ProductViewInput) This class represents a product view input. |
{- "ViewInput": {
- "identifier": "TitleView",
- "ProductQuery": {
- "limit": "10",
- "offset": "0",
- "Filter": {
- "ProductTypeCriterion": "desk",
- "ProductAvailabilityCriterion": false
}, - "SortClauses": {
- "ProductName": "descending"
}, - "Aggregations": [
- {
- "ProductPriceRange": {
- "name": "price",
- "currencyCode": "EUR",
- "ranges": [
- {
- "from": 0,
- "to": 10000
}, - {
- "from": 10000,
- "to": null
}
]
}
}
]
}
}
}{- "ProductView": {
- "_media-type": "application/vnd.ibexa.api.ProductView+json",
- "identifier": "TitleView",
- "ProductQuery": {
- "_media-type": "application/vnd.ibexa.api.ProductQuery+json"
}, - "Result": {
- "_media-type": "application/vnd.ibexa.api.ViewResult+json",
- "count": 2,
- "ProductList": {
- "_media-type": "application/vnd.ibexa.api.ProductList+json",
- "Product": [
- {
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "OTHER",
- "isBaseProduct": false,
- "isVariant": false,
- "name": "Other Office Desk",
- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "desk",
- "name": "Desk",
- "AttributeAssignmentList": [
- {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": false,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "color",
- "name": "Color",
- "description": "",
- "type": "Selection",
- "type_identifier": "selection",
- "group": "Desk",
- "position": 0,
- "options": {
- "choices": [
- {
- "label": {
- "eng-GB": "Black"
}, - "value": "black"
}, - {
- "label": {
- "eng-GB": "White"
}, - "value": "white"
}
]
}, - "value": null
}
}, - {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": false,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "width",
- "name": "Width",
- "description": "",
- "type": "Measurement (single)",
- "type_identifier": "measurement_single",
- "group": "Desk",
- "position": 0,
- "options": {
- "sign": "none",
- "type": "length",
- "unit": "centimeter",
- "defaultValue": null
}, - "value": null
}
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/67",
- "_remoteId": "c5c22c68912af81992b74851f158db4a",
- "_id": 67,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/53"
}, - "Name": "Other Office Desk",
- "TranslatedName": "Other Office Desk",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/67/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/67/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/67/versions/2",
- "VersionInfo": {
- "id": 529,
- "versionNo": 2,
- "status": "PUBLISHED",
- "modificationDate": "2023-04-12T14:06:25+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-04-12T14:06:25+00:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Other Office Desk"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/67"
}
}, - "Fields": {
- "field": [
- {
- "id": 301,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Other Office Desk"
}, - {
- "id": 302,
- "fieldDefinitionIdentifier": "product_specification",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_product_specification",
- "fieldValue": {
- "id": 4,
- "code": "OTHER",
- "attributes": [
- "white",
- [ ]
]
}
}, - {
- "id": 303,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}, - {
- "id": 304,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image_asset",
- "fieldValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}
}, - {
- "id": 305,
- "fieldDefinitionIdentifier": "category",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment",
- "fieldValue": {
- "taxonomy_entries": [ ],
- "taxonomy": "product_categories"
}
}, - {
- "id": 306,
- "fieldDefinitionIdentifier": "field_64369cb9130a7",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_seo",
- "fieldValue": ""
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/67/versions/2/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/placeholder",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/67/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2023-04-12T14:06:25+00:00",
- "publishedDate": "2023-04-12T11:59:17+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 2,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/67/objectstates"
}
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/placeholder",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}, - "created_at": 1681308385,
- "updated_at": 1681308385,
- "AttributesList": [
- {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "color",
- "name": "Color",
- "description": "",
- "type": "Selection",
- "type_identifier": "selection",
- "group": "Desk",
- "position": 0,
- "options": {
- "choices": [
- {
- "label": {
- "eng-GB": "Black"
}, - "value": "black"
}, - {
- "label": {
- "eng-GB": "White"
}, - "value": "white"
}
]
}, - "value": "white"
}, - {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "width",
- "name": "Width",
- "description": "",
- "type": "Measurement (single)",
- "type_identifier": "measurement_single",
- "group": "Desk",
- "position": 0,
- "options": {
- "sign": "none",
- "type": "length",
- "unit": "centimeter",
- "defaultValue": null
}, - "value": null
}
], - "Price": {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "amount": "160.00",
- "base_amount": "160.00",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": true
}, - "money": "16000",
- "base_money": "16000"
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "ERGO",
- "isBaseProduct": false,
- "isVariant": false,
- "name": "Ergo Office Desk",
- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "desk",
- "name": "Desk",
- "AttributeAssignmentList": [
- {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": false,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "color",
- "name": "Color",
- "description": "",
- "type": "Selection",
- "type_identifier": "selection",
- "group": "Desk",
- "position": 0,
- "options": {
- "choices": [
- {
- "label": {
- "eng-GB": "Black"
}, - "value": "black"
}, - {
- "label": {
- "eng-GB": "White"
}, - "value": "white"
}
]
}, - "value": null
}
}, - {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": false,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "width",
- "name": "Width",
- "description": "",
- "type": "Measurement (single)",
- "type_identifier": "measurement_single",
- "group": "Desk",
- "position": 0,
- "options": {
- "sign": "none",
- "type": "length",
- "unit": "centimeter",
- "defaultValue": null
}, - "value": null
}
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/66",
- "_remoteId": "1e7449c13671b56ed3907929a2af3ad9",
- "_id": 66,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/53"
}, - "Name": "Ergo Office Desk",
- "TranslatedName": "Ergo Office Desk",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/66/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/66/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/66/versions/2",
- "VersionInfo": {
- "id": 528,
- "versionNo": 2,
- "status": "PUBLISHED",
- "modificationDate": "2023-04-12T14:06:14+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-04-12T14:06:14+00:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Ergo Office Desk"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/66"
}
}, - "Fields": {
- "field": [
- {
- "id": 295,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Ergo Office Desk"
}, - {
- "id": 296,
- "fieldDefinitionIdentifier": "product_specification",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_product_specification",
- "fieldValue": {
- "id": 3,
- "code": "ERGO",
- "attributes": [
- "black",
- [ ]
]
}
}, - {
- "id": 297,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}, - {
- "id": 298,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image_asset",
- "fieldValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}
}, - {
- "id": 299,
- "fieldDefinitionIdentifier": "category",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment",
- "fieldValue": {
- "taxonomy_entries": [ ],
- "taxonomy": "product_categories"
}
}, - {
- "id": 300,
- "fieldDefinitionIdentifier": "field_64369cb9130a7",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_seo",
- "fieldValue": ""
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/66/versions/2/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/placeholder",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/66/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2023-04-12T14:06:14+00:00",
- "publishedDate": "2023-04-12T11:58:00+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 2,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/66/objectstates"
}
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/placeholder",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}, - "created_at": 1681308374,
- "updated_at": 1681308374,
- "AttributesList": [
- {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "color",
- "name": "Color",
- "description": "",
- "type": "Selection",
- "type_identifier": "selection",
- "group": "Desk",
- "position": 0,
- "options": {
- "choices": [
- {
- "label": {
- "eng-GB": "Black"
}, - "value": "black"
}, - {
- "label": {
- "eng-GB": "White"
}, - "value": "white"
}
]
}, - "value": "black"
}, - {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "width",
- "name": "Width",
- "description": "",
- "type": "Measurement (single)",
- "type_identifier": "measurement_single",
- "group": "Desk",
- "position": 0,
- "options": {
- "sign": "none",
- "type": "length",
- "unit": "centimeter",
- "defaultValue": null
}, - "value": null
}
], - "Price": {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "amount": "99.00",
- "base_amount": "99.00",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": true
}, - "money": "9900",
- "base_money": "9900"
}
}
]
}, - "aggregations": [
- {
- "_media-type": "application/vnd.ibexa.api.RangeAggregationResult+json",
- "name": "price",
- "entries": [
- {
- "_media-type": "application/vnd.ibexa.api.RangeAggregationResultEntry+json",
- "key": {
- "Range": {
- "_media-type": "application/vnd.ibexa.api.Range+json",
- "from": 0,
- "to": 10000
}
}, - "count": 1
}
]
}
]
}
}
}Loads the given product.
| code required | string ProductLoadByCodeController identifier |
An optional product schema encoded in XML or JSON format.
required | object (ProductGet) This class represents a product GET. |
{- "ProductGet": {
- "languages": [
- "eng-GB"
]
}
}{- "Product": {
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "DRESUN",
- "name": "Yellow sundress",
- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "dress",
- "name": "Dress",
- "AttributeAssignmentList": [
- {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": false,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "size",
- "name": "Size",
- "description": "",
- "type": "Integer",
- "type_identifier": "integer",
- "value": 5,
- "group": "Hat",
- "position": 0,
- "options": [ ]
}
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/141",
- "_remoteId": "86fdab24802923a9c30994858165ba9b",
- "_id": 141,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/54"
}, - "Name": "Yellow sundress",
- "TranslatedName": "Yellow sundress",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/141/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/141/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/141/versions/2",
- "VersionInfo": {
- "id": 618,
- "versionNo": 2,
- "status": "PUBLISHED",
- "modificationDate": "2022-05-27T09:29:33+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2022-05-27T09:29:33+00:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Yellow sundress"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/141"
}
}, - "Fields": {
- "field": [
- {
- "id": 612,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Yellow sundress"
}, - {
- "id": 613,
- "fieldDefinitionIdentifier": "product_specification",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_product_specification",
- "fieldValue": {
- "id": 25,
- "code": "DRESUN",
- "attributes": [
- 10
]
}
}, - {
- "id": 614,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}, - {
- "id": 615,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image_asset",
- "fieldValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/141/versions/2/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/141/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2022-05-27T09:29:33+00:00",
- "publishedDate": "2022-05-27T06:51:36+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 2,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/141/objectstates"
}
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}, - "created_at": 1647006758,
- "updated_at": 1647006758,
- "AttributesList": [
- {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "size",
- "name": "Size",
- "description": "",
- "type": "Integer",
- "type_identifier": "integer",
- "value": 5,
- "group": "Clothes",
- "position": 0,
- "options": [ ]
}
]
}
}Updates product.
| code required | string ProductUpdateController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
If set, the updated product is returned in XML or JSON format.
required | object (ProductUpdate) This class is used to update a product. |
{- "ProductUpdate": {
- "ContentUpdate": {
- "__url": "/api/ibexa/v2/content/objects/67",
- "fields": {
- "field": [
- {
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "IN6.1200tze205"
}
]
}
}, - "code": "NEWCODE"
}
}{- "Product": {
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "bbbb",
- "name": "fgh",
- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "test_pt321",
- "name": "New Product Type",
- "AttributeAssignmentList": [
- {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": true,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "testAttr",
- "name": "testAttr",
- "description": "",
- "type": "Checkbox",
- "type_identifier": "checkbox",
- "value": true,
- "group": "Test Attribute group",
- "position": 0,
- "options": [ ]
}
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/141",
- "_remoteId": "86fdab24802923a9c30994858165ba9b",
- "_id": 141,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/54"
}, - "Name": "fgh",
- "TranslatedName": "fgh",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/141/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/141/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/141/versions/2",
- "VersionInfo": {
- "id": 618,
- "versionNo": 2,
- "status": "PUBLISHED",
- "modificationDate": "2022-05-27T09:29:33+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2022-05-27T09:29:33+00:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "fgh"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/141"
}
}, - "Fields": {
- "field": [
- {
- "id": 612,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "fgh"
}, - {
- "id": 613,
- "fieldDefinitionIdentifier": "product_specification",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_product_specification",
- "fieldValue": {
- "id": 25,
- "code": "bbbb",
- "attributes": [
- 10
]
}
}, - {
- "id": 614,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}, - {
- "id": 615,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image_asset",
- "fieldValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/141/versions/2/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/141/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2022-05-27T09:29:33+00:00",
- "publishedDate": "2022-05-27T06:51:36+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 2,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/141/objectstates"
}
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}, - "created_at": 1646398748,
- "updated_at": 1646398748,
- "AttributesList": [
- {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "testAttr",
- "name": "testAttr",
- "description": "",
- "type": "Checkbox",
- "type_identifier": "checkbox",
- "value": true,
- "group": "Test Attribute group",
- "position": 0,
- "options": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "nnnn",
- "name": "nnnn",
- "description": "",
- "type": "Checkbox",
- "type_identifier": "checkbox",
- "value": true,
- "group": "Test Attribute group",
- "position": 0,
- "options": [ ]
}
]
}
}Loads the list of product prices.
| code required | string PriceLoadAllController identifier |
{- "PriceList": {
- "_media-type": "application/vnd.ibexa.api.PriceList+json",
- "prices": [
- {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "id": 1,
- "amount": "12.00",
- "base_amount": "12.00",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": true
}, - "money": "1200",
- "base_money": "1200"
}, - {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "id": 2,
- "amount": "12.00",
- "base_amount": "12.00",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 5,
- "code": "USD",
- "subunits": 2,
- "enabled": true
}, - "money": "1200",
- "base_money": "1200"
}
], - "totalCount": 2
}
}Create product price or custom price.
| code required | string PriceCreateController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The product price schema encoded in JSON format.
required | object (CustomPriceCreateStruct) This class represents a custom price creation structure. |
{- "CustomPriceCreateStruct": {
- "customerGroup": "test",
- "amount": 2500,
- "customAmount": 1500,
- "currency": "EUR"
}
}{- "CustomPrice": {
- "_media-type": "application/vnd.ibexa.api.CustomPrice+json",
- "id": 5,
- "amount": "15.00",
- "base_amount": "25.00",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": true
}, - "money": "1500",
- "base_money": "2500",
- "custom_money": "1500",
- "custom_amount": "15.00"
}
}Get price in given currency.
| code required | string PriceLoadByProductCodeController identifier |
| currencyCode required | string PriceLoadByProductCodeController identifier |
{- "Price": {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "id": 1,
- "amount": "12.00",
- "base_amount": "12.00",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": true
}, - "money": "1200",
- "base_money": "1200"
}
}Get price in given currency and customer group.
| code required | string PriceLoadByProductCodeController identifier |
| currencyCode required | string PriceLoadByProductCodeController identifier |
| customerGroupIdentifier required | string PriceLoadByProductCodeController identifier |
{- "CustomPrice": {
- "_media-type": "application/vnd.ibexa.api.CustomPrice+json",
- "id": 3,
- "amount": "11.50",
- "base_amount": "10.00",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 5,
- "code": "USD",
- "subunits": 2,
- "enabled": true
}, - "money": "1150",
- "base_money": "1000",
- "custom_money": "1150",
- "custom_amount": "11.50",
- "custom_rule": "15.00"
}
}Updates product price.
| code required | string PriceUpdateController identifier |
| id required | string PriceUpdateController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
Update price or custom price for given currency.
required | object (CustomPriceUpdateStruct) This class represents a custom price updating structure. |
{- "CustomPriceUpdateStruct": {
- "amount": 2500,
- "customAmount": 1700,
- "currency": "USD"
}
}{- "CustomPrice": {
- "_media-type": "application/vnd.ibexa.api.CustomPrice+json",
- "id": 3,
- "amount": "17.00",
- "base_amount": "35.00",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 5,
- "code": "USD",
- "subunits": 2,
- "enabled": true
}, - "money": "1700",
- "base_money": "3500",
- "custom_money": "1700",
- "custom_amount": "17.00",
- "custom_rule": null
}
}Creates a new product.
| productTypeIdentifier required | string ProductCreateController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The product schema encoded in XML or JSON format.
required | object (ProductCreate) This class is used to create a product. |
{- "ProductCreate": {
- "ContentCreate": {
- "ContentType": {
- "_href": "/api/ibexa/v2/content/types/46",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/260/fieldDefinitions",
- "FieldDefinition": [ ]
}
}, - "LocationCreate": {
- "_media-type": "application/vnd.ibexa.api.LocationCreate",
- "ParentLocation": {
- "_href": "/api/ibexa/v2/content/locations/1/2"
}, - "priority": "0",
- "hidden": "false",
- "sortField": "PATH",
- "sortOrder": "ASC"
}, - "alwaysAvailable": "true",
- "fields": {
- "field": [
- {
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "new PT"
}
]
}, - "mainLanguageCode": "eng-GB"
}, - "code": "ggg",
- "attributes": {
- "attr1": "fffffff"
}
}
}{- "Product": {
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "wsk_98845",
- "name": "HUMMINGBIRD PRO DRY 9,2MM",
- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "d_rope",
- "name": "Dynamic ropes",
- "AttributeAssignmentList": [ ]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/141",
- "_remoteId": "86fdab24802923a9c30994858165ba9b",
- "_id": 141,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/54"
}, - "Name": "HUMMINGBIRD PRO DRY 9,2MM",
- "TranslatedName": "HUMMINGBIRD PRO DRY 9,2MM",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/141/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/141/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/141/versions/2",
- "VersionInfo": {
- "id": 618,
- "versionNo": 2,
- "status": "PUBLISHED",
- "modificationDate": "2022-05-27T09:29:33+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2022-05-27T09:29:33+00:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "HUMMINGBIRD PRO DRY 9,2MM"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/141"
}
}, - "Fields": {
- "field": [
- {
- "id": 612,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "HUMMINGBIRD PRO DRY 9,2MM"
}, - {
- "id": 613,
- "fieldDefinitionIdentifier": "product_specification",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_product_specification",
- "fieldValue": {
- "id": 25,
- "code": "wsk_98845",
- "attributes": [
- 10
]
}
}, - {
- "id": 614,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
}
}, - {
- "id": 615,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image_asset",
- "fieldValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/141/versions/2/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/141/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2022-05-27T09:29:33+00:00",
- "publishedDate": "2022-05-27T06:51:36+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 2,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/141/objectstates"
}
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}, - "created_at": 1645787815,
- "updated_at": 1645787815,
- "AttributesList": [ ]
}
}Returns a list of product types. Deprecated as of Ibexa DXP 4.3, use POST /product/catalog/product_types/view instead.
The ProductTypeList schema encoded in XML or JSON format.
required | object (ProductTypeListGet) This class represents a product type list query. |
{- "ProductTypeListGet": {
- "name_prefix": "s",
- "offset": 0,
- "limit": 10
}
}{- "ProductTypeList": {
- "_media-type": "application/vnd.ibexa.api.ProductTypeList+json",
- "ProductType": [
- {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "s_rope",
- "name": "Static ropes",
- "AttributeAssignmentList": [ ]
}
]
}
}Creates a new product type.
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The ProductType schema encoded in XML or JSON format.
required | object (ProductTypeCreate) This class is used to create a product type. |
{- "ProductTypeCreate": {
- "ContentTypeCreateStruct": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/2",
- "id": 2,
- "status": "DEFINED",
- "identifier": "test_pt321",
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Article"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "creationDate": "2002-06-18T09:21:38+00:00",
- "modificationDate": "2021-06-28T11:31:22+00:00",
- "remoteId": "c15b600eb9198b1924063b5a68758232",
- "urlAliasSchema": "",
- "nameSchema": "<short_title|title>",
- "isContainer": true,
- "mainLanguageCode": "eng-GB",
- "defaultAlwaysAvailable": false,
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "FieldDefinitions": {
- "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions",
- "FieldDefinition": [
- {
- "_media-type": "application/vnd.ibexa.api.FieldDefinition+json",
- "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/1",
- "id": 1,
- "identifier": "title",
- "fieldType": "ibexa_string",
- "fieldGroup": "",
- "position": 1,
- "isTranslatable": true,
- "isRequired": true,
- "isInfoCollector": false,
- "defaultValue": "New article",
- "isSearchable": true,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Title"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": null
}
]
}, - "fieldSettings": [ ],
- "validatorConfiguration": {
- "StringLengthValidator": {
- "maxStringLength": 255,
- "minStringLength": null
}
}
}
]
}
}, - "main_language_code": "eng-GB",
- "assigned_attributes": [
- {
- "identifier": "testAttr",
- "is_required": false,
- "is_discriminator": true
}
]
}
}{- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "test_pt321",
- "name": "New Product Type",
- "AttributeAssignmentList": [
- {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": true,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "testAttr",
- "name": "testAttr",
- "description": "",
- "type": "Checkbox",
- "type_identifier": "checkbox",
- "value": true,
- "group": "Test Attribute group",
- "position": 0,
- "options": [ ]
}
}
]
}
}Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API.
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The view input in XML or JSON format.
required | object (ProductTypeViewInput) This class represents a product type view input. |
{- "ViewInput": {
- "identifier": "TitleView",
- "ProductTypeQuery": {
- "limit": "10",
- "offset": "0",
- "name_prefix": "new"
}
}
}{- "ProductTypeView": {
- "_media-type": "application/vnd.ibexa.api.ProductTypeView+json",
- "identifier": "TitleView",
- "ProductTypeQuery": {
- "_media-type": "application/vnd.ibexa.api.ProductTypeQuery+json"
}, - "Result": {
- "_media-type": "application/vnd.ibexa.api.ViewResult+json",
- "count": 1,
- "ProductTypeList": {
- "_media-type": "application/vnd.ibexa.api.ProductTypeList+json",
- "ProductType": [
- {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "climbing_shoe",
- "name": "New Product Type",
- "AttributeAssignmentList": [
- {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": false,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "measure",
- "name": "measure",
- "description": "",
- "type": "Measurement",
- "type_identifier": "measurement",
- "group": "Test Attribute group",
- "position": 0,
- "options": {
- "type": "length",
- "unit": "centimeter",
- "measurementRange": {
- "minimum": 12,
- "maximum": 15
}, - "measurementDefaultRange": {
- "defaultRangeMinimumValue": null,
- "defaultRangeMaximumValue": null
}
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": false,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "leather_color",
- "name": "leather color",
- "description": "",
- "type": "Color",
- "type_identifier": "color",
- "value": "#000000",
- "group": "Test Attribute group",
- "position": 0,
- "options": [ ]
}
}
]
}
]
}
}
}
}Returns the given product type.
| identifier required | string ProductTypeLoadByIdentifierController identifier |
{- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "d_rope",
- "name": "Dynamic ropes",
- "AttributeAssignmentList": [ ]
}
}Updates product type.
| id required | string ProductTypeUpdateController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
If set, the updated product type is returned in XML or JSON format.
required | object (ProductTypeUpdate) This class is used to update a product type. |
{- "ProductTypeUpdate": {
- "ContentTypeUpdateStruct": {
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "pt_1_updated"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "updated"
}
]
}
}, - "assigned_attributes": [
- {
- "identifier": "size",
- "is_required": false,
- "is_discriminator": true
}
]
}
}{- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "NEW",
- "name": "pt_1_updated",
- "AttributeAssignmentList": [
- {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": true,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "size",
- "name": "Size",
- "description": "",
- "type": "Integer",
- "type_identifier": "integer",
- "value": 5,
- "group": "Hat",
- "position": 0,
- "options": [ ]
}
}
]
}
}Loads the given product variant.
| code required | string ProductVariantLoadByCodeController identifier |
{- "ProductVariant": {
- "_media-type": "application/vnd.ibexa.api.ProductVariant+json",
- "code": "macbook",
- "name": "Macbook Air 32/232",
- "Product": {
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "mac_air",
- "name": "Macbook Air",
- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "laptop",
- "name": "Laptop",
- "AttributeAssignmentList": [
- {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": true,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "number",
- "name": "number",
- "description": "",
- "type": "Float",
- "type_identifier": "float",
- "value": 1.5,
- "group": "test",
- "position": 0,
- "options": {
- "min": 4,
- "max": 5
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": true,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "testattr",
- "name": "testAttr",
- "description": "",
- "type": "Integer",
- "type_identifier": "integer",
- "value": 5,
- "group": "test",
- "position": 0,
- "options": {
- "min": 4,
- "max": 5
}
}
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/152",
- "_remoteId": "2d61ff8d0043eb299ca8c29c74f25441",
- "_id": 152,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/56"
}, - "Name": "Macbook Air",
- "TranslatedName": "Macbook Air",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/152/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/152/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/152/versions/1",
- "VersionInfo": {
- "id": 635,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2022-07-21T15:17:18+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2022-07-21T15:17:18+02:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Macbook Air"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/152"
}
}, - "Fields": {
- "field": [
- {
- "id": 716,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Macbook Air"
}, - {
- "id": 717,
- "fieldDefinitionIdentifier": "product_specification",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_product_specification",
- "fieldValue": {
- "id": 89,
- "code": "mac_air",
- "attributes": [ ]
}
}, - {
- "id": 718,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:ezxhtml=\"http://ibexa.co/xmlns/dxp/docbook/xhtml\" xmlns:ezcustom=\"http://ibexa.co/xmlns/dxp/docbook/custom\" version=\"5.0-variant ezpublish-1.0\"><para>test</para></section>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>test</p></section>\n"
}
}, - {
- "id": 719,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image_asset",
- "fieldValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}
}, - {
- "id": 720,
- "fieldDefinitionIdentifier": "category",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment",
- "fieldValue": {
- "taxonomy_entries": [ ],
- "taxonomy": null
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/152/versions/1/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/152/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2022-07-21T15:17:18+02:00",
- "publishedDate": "2022-07-21T15:17:18+02:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 1,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/152/objectstates"
}
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}, - "created_at": 1658409438,
- "updated_at": 1658409438,
- "AttributesList": [ ]
}, - "DiscriminatorAttributesList": [
- {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "number",
- "name": "number",
- "description": "",
- "type": "Float",
- "type_identifier": "float",
- "value": 1.5,
- "group": "test",
- "position": 0,
- "options": {
- "min": 4,
- "max": 5
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "testattr",
- "name": "testAttr",
- "description": "",
- "type": "Integer",
- "type_identifier": "integer",
- "value": 5,
- "group": "test",
- "position": 0,
- "options": {
- "min": 4,
- "max": 5
}
}
]
}
}Generates new product variants based on selected (discriminator) attributes.
| baseProductCode required | string ProductVariantGenereateController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The product variant schema encoded in XML or JSON format.
required | object (ProductVariantGenerate) This class is used to generate a product variant. |
{- "ProductVariantGenerate": {
- "attributes": {
- "width": [
- 123
], - "colors": [
- "#000000",
- "#ffffff",
- "#d4d400",
- "#ff0000"
]
}
}
}Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API.
| baseProductCode required | string ProductVariantViewController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The view input in XML or JSON format.
required | object (ProductVariantViewInput) This class represents a product variant view input. |
{- "ViewInput": {
- "identifier": "TitleView",
- "ProductVariantQuery": {
- "offset": "0",
- "limit": "10"
}
}
}{- "ProductVariantView": {
- "_media-type": "application/vnd.ibexa.api.ProductVariantView+json",
- "identifier": "TitleView",
- "ProductVariantQuery": {
- "_media-type": "application/vnd.ibexa.api.ProductVariantQuery+json"
}, - "Result": {
- "_media-type": "application/vnd.ibexa.api.ViewResult+json",
- "count": 2,
- "ProductVariantList": {
- "_media-type": "application/vnd.ibexa.api.ProductVariantList+json",
- "ProductVariant": [
- {
- "_media-type": "application/vnd.ibexa.api.ProductVariant+json",
- "code": "test",
- "name": "Macbook Air 2/10",
- "Product": {
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "mac_air",
- "name": "Macbook Air",
- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "laptop",
- "name": "Laptop",
- "AttributeAssignmentList": [
- {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": true,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "number",
- "name": "number",
- "description": "",
- "type": "Float",
- "type_identifier": "float",
- "value": 1.5,
- "group": "test",
- "position": 0,
- "options": {
- "min": 4,
- "max": 5
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": true,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "testattr",
- "name": "testAttr",
- "description": "",
- "type": "Integer",
- "type_identifier": "integer",
- "value": 5,
- "group": "test",
- "position": 0,
- "options": {
- "min": 4,
- "max": 5
}
}
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/152",
- "_remoteId": "2d61ff8d0043eb299ca8c29c74f25441",
- "_id": 152,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/56"
}, - "Name": "Macbook Air",
- "TranslatedName": "Macbook Air",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/152/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/152/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/152/versions/1",
- "VersionInfo": {
- "id": 635,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2022-07-21T15:17:18+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2022-07-21T15:17:18+02:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Macbook Air"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/152"
}
}, - "Fields": {
- "field": [
- {
- "id": 716,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Macbook Air"
}, - {
- "id": 717,
- "fieldDefinitionIdentifier": "product_specification",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_product_specification",
- "fieldValue": {
- "id": 89,
- "code": "mac_air",
- "attributes": [ ]
}
}, - {
- "id": 718,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:ezxhtml=\"http://ibexa.co/xmlns/dxp/docbook/xhtml\" xmlns:ezcustom=\"http://ibexa.co/xmlns/dxp/docbook/custom\" version=\"5.0-variant ezpublish-1.0\"><para>test</para></section>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>test</p></section>\n"
}
}, - {
- "id": 719,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image_asset",
- "fieldValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}
}, - {
- "id": 720,
- "fieldDefinitionIdentifier": "category",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment",
- "fieldValue": {
- "taxonomy_entries": [ ],
- "taxonomy": null
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/152/versions/1/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/152/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2022-07-21T15:17:18+02:00",
- "publishedDate": "2022-07-21T15:17:18+02:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 1,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/152/objectstates"
}
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}, - "created_at": 1658409438,
- "updated_at": 1658409438,
- "AttributesList": [ ]
}, - "DiscriminatorAttributesList": [
- {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "number",
- "name": "number",
- "description": "",
- "type": "Float",
- "type_identifier": "float",
- "value": 1.5,
- "group": "test",
- "position": 0,
- "options": {
- "min": 4,
- "max": 5
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "testattr",
- "name": "testAttr",
- "description": "",
- "type": "Integer",
- "type_identifier": "integer",
- "value": 5,
- "group": "test",
- "position": 0,
- "options": {
- "min": 4,
- "max": 5
}
}
]
}, - {
- "_media-type": "application/vnd.ibexa.api.ProductVariant+json",
- "code": "fdsfds",
- "name": "Macbook Air 32/232",
- "Product": {
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "mac_air",
- "name": "Macbook Air",
- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "laptop",
- "name": "Laptop",
- "AttributeAssignmentList": [
- {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": true,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "number",
- "name": "number",
- "description": "",
- "type": "Float",
- "type_identifier": "float",
- "value": 1.5,
- "group": "test",
- "position": 0,
- "options": {
- "min": 4,
- "max": 5
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": true,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "testattr",
- "name": "testAttr",
- "description": "",
- "type": "Integer",
- "type_identifier": "integer",
- "value": 5,
- "group": "test",
- "position": 0,
- "options": {
- "min": 4,
- "max": 5
}
}
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/152",
- "_remoteId": "2d61ff8d0043eb299ca8c29c74f25441",
- "_id": 152,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/56"
}, - "Name": "Macbook Air",
- "TranslatedName": "Macbook Air",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/152/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/152/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/152/versions/1",
- "VersionInfo": {
- "id": 635,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2022-07-21T15:17:18+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2022-07-21T15:17:18+02:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Macbook Air"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/152"
}
}, - "Fields": {
- "field": [
- {
- "id": 716,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Macbook Air"
}, - {
- "id": 717,
- "fieldDefinitionIdentifier": "product_specification",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_product_specification",
- "fieldValue": {
- "id": 89,
- "code": "mac_air",
- "attributes": [ ]
}
}, - {
- "id": 718,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:ezxhtml=\"http://ibexa.co/xmlns/dxp/docbook/xhtml\" xmlns:ezcustom=\"http://ibexa.co/xmlns/dxp/docbook/custom\" version=\"5.0-variant ezpublish-1.0\"><para>test</para></section>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>test</p></section>\n"
}
}, - {
- "id": 719,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image_asset",
- "fieldValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}
}, - {
- "id": 720,
- "fieldDefinitionIdentifier": "category",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment",
- "fieldValue": {
- "taxonomy_entries": [ ],
- "taxonomy": null
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/152/versions/1/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/152/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2022-07-21T15:17:18+02:00",
- "publishedDate": "2022-07-21T15:17:18+02:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 1,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/152/objectstates"
}
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}, - "created_at": 1658409438,
- "updated_at": 1658409438,
- "AttributesList": [ ]
}, - "DiscriminatorAttributesList": [
- {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "number",
- "name": "number",
- "description": "",
- "type": "Float",
- "type_identifier": "float",
- "value": 1.5,
- "group": "test",
- "position": 0,
- "options": {
- "min": 4,
- "max": 5
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "testattr",
- "name": "testAttr",
- "description": "",
- "type": "Integer",
- "type_identifier": "integer",
- "value": 5,
- "group": "test",
- "position": 0,
- "options": {
- "min": 4,
- "max": 5
}
}
]
}
]
}
}
}
}Creates a new product variant.
| baseProductCode required | string ProductVariantCreateController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The product variant schema encoded in XML or JSON format.
required | object (ProductVariantCreate) This class is used to create a product variant. |
{- "ProductVariantCreate": {
- "attributes": {
- "width": 100,
- "height": 50,
- "color": "#000000"
}, - "code": "macbook_pro"
}
}Updates product variant.
| code required | string ProductVariantUpdateController identifier |
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The product variant update schema encoded in XML or JSON format.
required | object (ProductVariantUpdate) This class is used to update a product variant. |
{- "ProductVariantUpdate": {
- "code": "test",
- "attributes": {
- "number": 2,
- "testattr": 10
}
}
}{- "ProductVariant": {
- "_media-type": "application/vnd.ibexa.api.ProductVariant+json",
- "code": "test",
- "name": "Macbook Air ",
- "Product": {
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "mac_air",
- "name": "Macbook Air",
- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "laptop",
- "name": "Laptop",
- "AttributeAssignmentList": [
- {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": true,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "number",
- "name": "number",
- "description": "",
- "type": "Float",
- "type_identifier": "float",
- "value": 1.5,
- "group": "test",
- "position": 0,
- "options": {
- "min": 4,
- "max": 5
}
}
}, - {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": true,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "testattr",
- "name": "testAttr",
- "description": "",
- "type": "Integer",
- "type_identifier": "integer",
- "value": 5,
- "group": "test",
- "position": 0,
- "options": {
- "min": 4,
- "max": 5
}
}
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/152",
- "_remoteId": "2d61ff8d0043eb299ca8c29c74f25441",
- "_id": 152,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/56"
}, - "Name": "Macbook Air",
- "TranslatedName": "Macbook Air",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/152/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/152/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/152/versions/1",
- "VersionInfo": {
- "id": 635,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2022-07-21T15:17:18+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2022-07-21T15:17:18+02:00",
- "initialLanguageCode": "eng-GB",
- "languageCodes": "eng-GB",
- "VersionTranslationInfo": {
- "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
- "Language": [
- {
- "languageCode": "eng-GB"
}
]
}, - "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Macbook Air"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/152"
}
}, - "Fields": {
- "field": [
- {
- "id": 716,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Macbook Air"
}, - {
- "id": 717,
- "fieldDefinitionIdentifier": "product_specification",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_product_specification",
- "fieldValue": {
- "id": 89,
- "code": "mac_air",
- "attributes": [ ]
}
}, - {
- "id": 718,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_richtext",
- "fieldValue": {
- "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:ezxhtml=\"http://ibexa.co/xmlns/dxp/docbook/xhtml\" xmlns:ezcustom=\"http://ibexa.co/xmlns/dxp/docbook/custom\" version=\"5.0-variant ezpublish-1.0\"><para>test</para></section>\n",
- "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>test</p></section>\n"
}
}, - {
- "id": 719,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image_asset",
- "fieldValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}
}, - {
- "id": 720,
- "fieldDefinitionIdentifier": "category",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment",
- "fieldValue": {
- "taxonomy_entries": [ ],
- "taxonomy": null
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/152/versions/1/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/152/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2022-07-21T15:17:18+02:00",
- "publishedDate": "2022-07-21T15:17:18+02:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 1,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/152/objectstates"
}
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}, - "created_at": 1658409438,
- "updated_at": 1658409438,
- "AttributesList": [ ]
}, - "DiscriminatorAttributesList": [ ]
}
}{- "RegionList": {
- "_media-type": "application/vnd.ibexa.api.RegionList+json",
- "Region": [
- {
- "_media-type": "application/vnd.ibexa.api.Region+json",
- "identifier": "france"
}, - {
- "_media-type": "application/vnd.ibexa.api.Region+json",
- "identifier": "__REGION_2__"
}, - {
- "_media-type": "application/vnd.ibexa.api.Region+json",
- "identifier": "__REGION_1__"
}, - {
- "_media-type": "application/vnd.ibexa.api.Region+json",
- "identifier": "foo"
}, - {
- "_media-type": "application/vnd.ibexa.api.Region+json",
- "identifier": "bar"
}
]
}
}Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API.
| X-CSRF-Token required | string The CSRF token is required when passing user session. |
The view input in XML or JSON format.
required | object (RegionViewInput) This class represents a region view input. |
{- "ViewInput": {
- "identifier": "TitleView",
- "RegionQuery": {
- "limit": "10",
- "offset": "0"
}
}
}{- "RegionView": {
- "_media-type": "application/vnd.ibexa.api.RegionView+json",
- "identifier": "TitleView",
- "RegionQuery": {
- "_media-type": "application/vnd.ibexa.api.RegionQuery+json"
}, - "Result": {
- "_media-type": "application/vnd.ibexa.api.ViewResult+json",
- "count": 2,
- "RegionList": {
- "_media-type": "application/vnd.ibexa.api.RegionList+json",
- "Region": [
- {
- "_media-type": "application/vnd.ibexa.api.Region+json",
- "identifier": "region_1"
}, - {
- "_media-type": "application/vnd.ibexa.api.Region+json",
- "identifier": "region_2"
}
]
}
}
}
}Loads a VAT category for the given region.
| region required | string VatCategoriesListController identifier |
{- "VatCategoryList": {
- "_media-type": "application/vnd.ibexa.api.VatCategoryList+json",
- "VatCategory": [
- {
- "_media-type": "application/vnd.ibexa.api.VatCategory+json",
- "identifier": "standard",
- "region": "region_1",
- "vatValue": 18
}, - {
- "_media-type": "application/vnd.ibexa.api.VatCategory+json",
- "identifier": "reduced",
- "region": "region_1",
- "vatValue": 6
}, - {
- "_media-type": "application/vnd.ibexa.api.VatCategory+json",
- "identifier": "none",
- "region": "region_1",
- "vatValue": null
}
]
}
}Loads a VAT category for the given identifier.
| region required | string VatCategoryLoadByIdentifierController identifier |
| identifier required | string VatCategoryLoadByIdentifierController identifier |
{- "VatCategory": {
- "_media-type": "application/vnd.ibexa.api.VatCategory+json",
- "identifier": "standard",
- "region": "region_1",
- "vatValue": 18
}
}Bulk removes several taxonomy entries.
| taxonomyName required | string TaxonomyEntryBulkRemoveController identifier |
| X-CSRF-Token required | string The CSRF token. |
TaxonomyEntryBulkRemove schema encoded in XML or JSON format.
required | object (TaxonomyEntryBulkRemove) This class is used to bulk remove taxonomy entries. |
{- "TaxonomyEntryBulkRemove": {
- "entries": [
- 2,
- 3
]
}
}Bulk move several taxonomy entries relative to sibling.
| taxonomyName required | string TaxonomyEntryBulkMoveController identifier |
| X-CSRF-Token required | string The CSRF token. |
The TaxonomyEntryBulkMove schema encoded in XML or JSON format.
required | object (TaxonomyEntryBulkMove) This class is used to bulk move taxonomy entries. |
{- "TaxonomyEntryBulkMove": {
- "entries": [
- {
- "entry": 2,
- "sibling": 1,
- "position": "next"
}, - {
- "entry": 3,
- "sibling": 1,
- "position": "prev"
}
]
}
}Gets taxonomy entry Assignment by its ID.
| taxonomyName required | string TaxonomyEntryAssignmentLoadByIdController identifier |
| id required | string TaxonomyEntryAssignmentLoadByIdController identifier |
{- "TaxonomyEntryAssignment": {
- "id": 0,
- "content": {
- "_media-type": "string",
- "_href": "string",
- "Content": {
- "_media-type": "string",
- "_href": "string",
- "_remoteId": "string",
- "_id": 0,
- "ContentType": {
- "_media-type": "string",
- "_href": "string"
}, - "Name": "string",
- "Versions": {
- "_media-type": "string",
- "_href": "string"
}, - "CurrentVersion": {
- "_media-type": "string",
- "_href": "string"
}, - "Section": {
- "_media-type": "string",
- "_href": "string"
}, - "Locations": {
- "_media-type": "string",
- "_href": "string"
}, - "Owner": {
- "_media-type": "string",
- "_href": "string"
}, - "lastModificationDate": "2019-08-24T14:15:22Z",
- "publishedDate": "2019-08-24T14:15:22Z",
- "mainLanguageCode": "string",
- "currentVersionNo": 0,
- "alwaysAvailable": true,
- "status": "string",
- "ObjectStates": {
- "_media-type": "string",
- "_href": "string"
}
}
}, - "entry": {
- "_media-type": "string",
- "_href": "string",
- "TaxonomyEntry": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "identifier": "string",
- "name": "string",
- "content": {
- "_media-type": "string",
- "_href": "string"
}, - "taxonomy": "string"
}
}
}
}Assigns taxonomy entry to a content item.
| taxonomyName required | string TaxonomyEntryAssignmentAssignController identifier |
| X-CSRF-Token required | string The CSRF token. |
TaxonomyEntryAssignToContent schema encoded in JSON format.
required | object (TaxonomyEntryAssignToContent) This class is used to assign taxonomy entry to content. |
{- "TaxonomyEntryAssignToContent": {
- "content": 130,
- "entries": [
- 2,
- 3
]
}
}Gets taxonomy entries assigned to a content item by its ID.
| taxonomyName required | string TaxonomyEntryAssignmentLoadController identifier |
| contentId required | string TaxonomyEntryAssignmentLoadController identifier |
{- "EntryAssignmentCollection": {
- "_media-type": "application/vnd.ibexa.api.EntryAssignmentCollection+json",
- "content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/1",
- "_remoteId": "9459d3c29e15006e45197295722c7ade",
- "_id": 1,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1"
}, - "Name": "Ibexa Platform",
- "TranslatedName": "Ibexa Platform",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/1/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/1/currentversion"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/1/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2023-01-01T00:00:00+00:00",
- "publishedDate": "2015-11-30T13:10:46+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 10,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/1/objectstates"
}
}
}, - "assignments": [
- {
- "_media-type": "application/vnd.ibexa.api.TaxonomyEntryAssignment+json",
- "id": 1,
- "content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/1",
- "_remoteId": "9459d3c29e15006e45197295722c7ade",
- "_id": 1,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/1"
}, - "Name": "Ibexa Platform",
- "TranslatedName": "Ibexa Platform",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/1/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/1/currentversion"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/1"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/1/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2023-01-01T00:00:00+00:00",
- "publishedDate": "2015-11-30T13:10:46+00:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 10,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/1/objectstates"
}
}
}, - "entry": {
- "_media-type": "application/vnd.ibexa.api.TaxonomyEntry+json",
- "TaxonomyEntry": {
- "_media-type": "application/vnd.ibexa.api.TaxonomyEntry+json",
- "id": 3,
- "identifier": "example",
- "name": "Example",
- "contentId": 65,
- "content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/65"
}, - "taxonomy": "tags"
}
}
}
]
}
}Unassigns taxonomy entry from a content item.
| taxonomyName required | string TaxonomyEntryAssignmentUnassignController identifier |
| X-CSRF-Token required | string The CSRF token. |
TaxonomyEntryUnassignFromContent schema encoded in JSON format.
required | object (TaxonomyEntryUnassignFromContent) This class is used to unassign taxonomy entry from content. |
{- "TaxonomyEntryUnassignFromContent": {
- "content": 130,
- "entries": [
- 2,
- 3
]
}
}Loads taxonomy Entry by its Content ID.
| taxonomyName required | string TaxonomyEntryLoadByContentIdController identifier |
| contentId required | string TaxonomyEntryLoadByContentIdController identifier |
{- "TaxonomyEntry": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "identifier": "string",
- "name": "string",
- "content": {
- "_media-type": "string",
- "_href": "string"
}, - "taxonomy": "string"
}
}Loads taxonomy Entry by its Entry identifier.
| taxonomyName required | string TaxonomyEntryLoadByIdentifierController identifier |
| identifier required | string TaxonomyEntryLoadByIdentifierController identifier |
{- "TaxonomyEntry": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "identifier": "string",
- "name": "string",
- "content": {
- "_media-type": "string",
- "_href": "string"
}, - "taxonomy": "string"
}
}Loads taxonomy Entry by its Entry ID.
| taxonomyName required | string TaxonomyEntryLoadByIdController identifier |
| id required | string TaxonomyEntryLoadByIdController identifier |
{- "TaxonomyEntry": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "identifier": "string",
- "name": "string",
- "content": {
- "_media-type": "string",
- "_href": "string"
}, - "taxonomy": "string"
}
}Lists the layouts and blocks available for building Pages, with the zones of every layout and the views and attributes of every block.
| contentTypeIdentifier | string Example: contentTypeIdentifier=landing_page Identifier of a content type holding a Page. When given, only the layouts and blocks allowed for that content type are returned. When omitted or empty, the whole catalogue is returned. |
{- "PageStructure": {
- "_media-type": "application/vnd.ibexa.api.PageStructure+json",
- "layouts": [
- {
- "_media-type": "application/vnd.ibexa.api.PageStructureLayout+json",
- "identifier": "default",
- "name": "default",
- "description": "Default layout for Landing Page",
- "zones": [
- {
- "_media-type": "application/vnd.ibexa.api.PageStructureZone+json",
- "identifier": "default_id",
- "name": "default",
- "description": ""
}
]
}
], - "blocks": [
- {
- "_media-type": "application/vnd.ibexa.api.PageStructureBlock+json",
- "identifier": "richtext",
- "name": "Text",
- "description": "Holds formatted rich text authored in the editor.",
- "category": "default",
- "views": [
- {
- "_media-type": "application/vnd.ibexa.api.PageStructureView+json",
- "identifier": "default",
- "name": "Default view",
- "description": ""
}
], - "attributes": [
- {
- "_media-type": "application/vnd.ibexa.api.PageStructureAttribute+json",
- "identifier": "content",
- "name": "Content",
- "type": "richtext",
- "category": "default",
- "options": [ ]
}
]
}, - {
- "_media-type": "application/vnd.ibexa.api.PageStructureBlock+json",
- "identifier": "collection",
- "name": "Collection",
- "description": "Shows a hand-picked, ordered collection of content items.",
- "category": "default",
- "views": [
- {
- "_media-type": "application/vnd.ibexa.api.PageStructureView+json",
- "identifier": "default",
- "name": "Default block layout",
- "description": ""
}
], - "attributes": [
- {
- "_media-type": "application/vnd.ibexa.api.PageStructureAttribute+json",
- "identifier": "locationlist",
- "name": "Location list",
- "type": "locationlist",
- "category": "default",
- "options": {
- "match": {
- "default": [ ]
}
}
}
]
}
]
}
}{- "SegmentGroupList": {
- "_media-type": "application/vnd.ibexa.api.SegmentGroupList+json",
- "_href": "/api/ibexa/v2/segment_groups",
- "SegmentGroup": [
- {
- "_media-type": "application/vnd.ibexa.api.SegmentGroup+json",
- "_href": "/api/ibexa/v2/segment_groups/corporate_accounts",
- "id": 1,
- "identifier": "corporate_accounts",
- "name": "Corporate Accounts"
}
]
}
}Loads segment group.
| identifier required | string SegmentGroupViewController identifier |
{- "SegmentGroup": {
- "_media-type": "application/vnd.ibexa.api.SegmentGroup+json",
- "_href": "/api/ibexa/v2/segment_groups/corporate_accounts",
- "id": 1,
- "identifier": "corporate_accounts",
- "name": "Corporate Accounts"
}
}Lists segment group's segments.
| identifier required | string SegmentListController identifier |
{- "SegmentList": {
- "_media-type": "application/vnd.ibexa.api.SegmentList+json",
- "_href": "/api/ibexa/v2/segment_groups/corporate_accounts/segments",
- "Segment": [ ]
}
}Loads the identified segment.
| identifier required | string SegmentViewController identifier |
{- "Segment": {
- "_media-type": "application/vnd.ibexa.api.Segment+json",
- "_href": "/api/ibexa/v2/segments/corporate_account",
- "id": 1,
- "identifier": "corporate_account",
- "name": "Corporate Account",
- "source": "cohesivo",
- "lastUpdatedBy": "14",
- "updatedAt": "2026-06-30T12:00:00+00:00",
- "SegmentGroup": {
- "_media-type": "application/vnd.ibexa.api.SegmentGroup+json",
- "_href": "/api/ibexa/v2/segment_groups/corporate_accounts"
}
}
}{- "ActivityLogGroupList": {
- "_media-type": "application/vnd.ibexa.api.ActivityLogGroupList+json",
- "_href": "/api/ibexa/v2/activity-log-group/list",
- "ActivityLogGroups": [
- {
- "_media-type": "application/vnd.ibexa.api.ActivityLogGroup+json",
- "user_id": 14,
- "logged_at": 1707478796,
- "ActivityLogEntries": [
- {
- "_media-type": "application/vnd.ibexa.api.ActivityLog+json",
- "object_id": "396",
- "object_class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content",
- "action": "create",
- "data": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.ActivityLog+json",
- "object_id": "396",
- "object_class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content",
- "action": "publish",
- "data": [ ]
}
]
}, - {
- "_media-type": "application/vnd.ibexa.api.ActivityLogGroup+json",
- "user_id": 14,
- "logged_at": 1707475048,
- "ActivityLogEntries": [
- {
- "_media-type": "application/vnd.ibexa.api.ActivityLog+json",
- "object_id": "395",
- "object_class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content",
- "action": "create",
- "data": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.ActivityLog+json",
- "object_id": "395",
- "object_class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content",
- "action": "publish",
- "data": [ ]
}
]
}
]
}
}Lists last activity log groups and their entries.
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The query to filter activity log groups.
required | object (ActivityLogGroupListInput) This class represents the activity log group search query's criteria and sort clauses. |
{- "ActivityLogGroupListInput": {
- "offset": 0,
- "limit": 10,
- "criteria": [
- {
- "type": "object_class",
- "class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content"
}, - {
- "type": "action",
- "value": [
- "create"
]
}, - {
- "type": "logged_at",
- "value": "- 1 hour",
- "operator": ">="
}
], - "sortClauses": [
- {
- "type": "logged_at",
- "direction": "DESC"
}
]
}
}{- "ActivityLogGroupList": {
- "_media-type": "application/vnd.ibexa.api.ActivityLogGroupList+json",
- "_href": "/api/ibexa/v2/activity-log-group/list",
- "ActivityLogGroups": [
- {
- "_media-type": "application/vnd.ibexa.api.ActivityLogGroup+json",
- "user_id": 14,
- "logged_at": 1707478796,
- "ActivityLogEntries": [
- {
- "_media-type": "application/vnd.ibexa.api.ActivityLog+json",
- "object_id": "396",
- "object_class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content",
- "action": "create",
- "data": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.ActivityLog+json",
- "object_id": "396",
- "object_class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content",
- "action": "publish",
- "data": [ ]
}
]
}, - {
- "_media-type": "application/vnd.ibexa.api.ActivityLogGroup+json",
- "user_id": 14,
- "logged_at": 1707475048,
- "ActivityLogEntries": [
- {
- "_media-type": "application/vnd.ibexa.api.ActivityLog+json",
- "object_id": "395",
- "object_class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content",
- "action": "create",
- "data": [ ]
}, - {
- "_media-type": "application/vnd.ibexa.api.ActivityLog+json",
- "object_id": "395",
- "object_class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content",
- "action": "publish",
- "data": [ ]
}
]
}
]
}
}{- "ActionTypeList": {
- "_media-type": "application/vnd.ibexa.api.ai.ActionTypeList+json",
- "_href": "/api/ibexa/v2/ai/action-types",
- "ActionType": [
- {
- "_media-type": "application/vnd.ibexa.api.ai.ActionType+json",
- "identifier": "generate_alt_text",
- "name": "Generate alternative text",
- "inputIdentifier": "image",
- "outputIdentifier": "text",
- "options": {
- "width": 512,
- "height": 512,
- "image_quality": 85
}
}, - {
- "_media-type": "application/vnd.ibexa.api.ai.ActionType+json",
- "identifier": "refine_text",
- "name": "Refine text",
- "inputIdentifier": "text",
- "outputIdentifier": "text",
- "options": [ ]
}
]
}
}Returns an action type by its unique string identifier.
| identifier required | string Example: generate_alt_text ActionTypeLoadByIdentifierController identifier |
{- "ActionType": {
- "_media-type": "application/vnd.ibexa.api.ai.ActionType+json",
- "identifier": "generate_alt_text",
- "name": "Generate alternative text",
- "inputIdentifier": "image",
- "outputIdentifier": "text",
- "options": {
- "width": 512,
- "height": 512,
- "image_quality": 85
}
}
}{- "ActionConfigurationList": {
- "_media-type": "application/vnd.ibexa.api.ai.ActionConfigurationList+json",
- "_href": "/api/ibexa/v2/ai/actions",
- "ActionConfiguration": [
- {
- "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json",
- "identifier": "rewrite_with_friendly_tone",
- "name": "Rewrite in friendly tone",
- "description": "",
- "enabled": true,
- "ActionType": {
- "_media-type": "application/vnd.ibexa.api.ai.ActionType+json",
- "identifier": "refine_text",
- "name": "Refine text",
- "inputIdentifier": "text",
- "outputIdentifier": "text",
- "options": [ ]
}, - "actionTypeOptions": [ ],
- "actionHandlerIdentifier": "openai-text-to-text",
- "actionHandlerOptions": {
- "max_tokens": 4000,
- "temperature": 1,
- "prompt": "Rewrite text in friendly tone. Preserve meaning and crucial information.",
- "model": "gpt-4-turbo"
}, - "createdAt": "2025-08-07T13:16:47+02:00",
- "updatedAt": "2025-08-07T13:16:47+02:00"
}, - {
- "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json",
- "identifier": "rewrite_with_professional_tone",
- "name": "Rewrite in professional tone",
- "description": "",
- "enabled": true,
- "ActionType": {
- "_media-type": "application/vnd.ibexa.api.ai.ActionType+json",
- "identifier": "refine_text",
- "name": "Refine text",
- "inputIdentifier": "text",
- "outputIdentifier": "text",
- "options": [ ]
}, - "actionTypeOptions": [ ],
- "actionHandlerIdentifier": "openai-text-to-text",
- "actionHandlerOptions": {
- "max_tokens": 4000,
- "temperature": 1,
- "prompt": "Rewrite text in professional tone. Preserve meaning and crucial information.",
- "model": "gpt-4-turbo"
}, - "createdAt": "2025-08-07T13:16:47+02:00",
- "updatedAt": "2025-08-07T13:16:47+02:00"
}, - {
- "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json",
- "identifier": "summarize_text",
- "name": "Summarize",
- "description": "",
- "enabled": true,
- "ActionType": {
- "_media-type": "application/vnd.ibexa.api.ai.ActionType+json",
- "identifier": "refine_text",
- "name": "Refine text",
- "inputIdentifier": "text",
- "outputIdentifier": "text",
- "options": [ ]
}, - "actionTypeOptions": [ ],
- "actionHandlerIdentifier": "openai-text-to-text",
- "actionHandlerOptions": {
- "max_tokens": 4000,
- "temperature": 1,
- "prompt": "Summarize text into one sentence. Preserve meaning and crucial information.",
- "model": "gpt-4-turbo"
}, - "createdAt": "2025-08-07T13:16:47+02:00",
- "updatedAt": "2025-08-07T13:16:47+02:00"
}, - {
- "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json",
- "identifier": "expand_text",
- "name": "Expand text",
- "description": "",
- "enabled": true,
- "ActionType": {
- "_media-type": "application/vnd.ibexa.api.ai.ActionType+json",
- "identifier": "refine_text",
- "name": "Refine text",
- "inputIdentifier": "text",
- "outputIdentifier": "text",
- "options": [ ]
}, - "actionTypeOptions": [ ],
- "actionHandlerIdentifier": "openai-text-to-text",
- "actionHandlerOptions": {
- "max_tokens": 4000,
- "temperature": 1,
- "prompt": "Expand the given text by 25%. Preserve meaning and crucial information.",
- "model": "gpt-4-turbo"
}, - "createdAt": "2025-08-07T13:16:47+02:00",
- "updatedAt": "2025-08-07T13:16:47+02:00"
}, - {
- "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json",
- "identifier": "shorten_text",
- "name": "Shorten text",
- "description": "",
- "enabled": true,
- "ActionType": {
- "_media-type": "application/vnd.ibexa.api.ai.ActionType+json",
- "identifier": "refine_text",
- "name": "Refine text",
- "inputIdentifier": "text",
- "outputIdentifier": "text",
- "options": [ ]
}, - "actionTypeOptions": [ ],
- "actionHandlerIdentifier": "openai-text-to-text",
- "actionHandlerOptions": {
- "max_tokens": 4000,
- "temperature": 1,
- "prompt": "Shorten the given text by 25%. Preserve meaning and crucial information.",
- "model": "gpt-4-turbo"
}, - "createdAt": "2025-08-07T13:16:47+02:00",
- "updatedAt": "2025-08-07T13:16:47+02:00"
}, - {
- "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json",
- "identifier": "proofread",
- "name": "Proofread",
- "description": "",
- "enabled": true,
- "ActionType": {
- "_media-type": "application/vnd.ibexa.api.ai.ActionType+json",
- "identifier": "refine_text",
- "name": "Refine text",
- "inputIdentifier": "text",
- "outputIdentifier": "text",
- "options": [ ]
}, - "actionTypeOptions": [ ],
- "actionHandlerIdentifier": "openai-text-to-text",
- "actionHandlerOptions": {
- "max_tokens": 4000,
- "temperature": 1,
- "prompt": "Rewrite given text to identify and fix grammatical and punctuation errors. Preserve meaning and crucial information.",
- "model": "gpt-4-turbo"
}, - "createdAt": "2025-08-07T13:16:47+02:00",
- "updatedAt": "2025-08-07T13:16:47+02:00"
}, - {
- "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json",
- "identifier": "improve_readability",
- "name": "Improve readability",
- "description": "",
- "enabled": true,
- "ActionType": {
- "_media-type": "application/vnd.ibexa.api.ai.ActionType+json",
- "identifier": "refine_text",
- "name": "Refine text",
- "inputIdentifier": "text",
- "outputIdentifier": "text",
- "options": [ ]
}, - "actionTypeOptions": [ ],
- "actionHandlerIdentifier": "openai-text-to-text",
- "actionHandlerOptions": {
- "max_tokens": 4000,
- "temperature": 1,
- "prompt": "Rewrite this content to improve readability. Preserve meaning and crucial information.",
- "model": "gpt-4-turbo"
}, - "createdAt": "2025-08-07T13:16:47+02:00",
- "updatedAt": "2025-08-07T13:16:47+02:00"
}, - {
- "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json",
- "identifier": "gen_alt_text",
- "name": "Generate alternative text",
- "description": "",
- "enabled": true,
- "ActionType": {
- "_media-type": "application/vnd.ibexa.api.ai.ActionType+json",
- "identifier": "generate_alt_text",
- "name": "Generate alternative text",
- "inputIdentifier": "image",
- "outputIdentifier": "text",
- "options": {
- "width": 512,
- "height": 512,
- "image_quality": 85
}
}, - "actionTypeOptions": {
- "max_length": 140
}, - "actionHandlerIdentifier": "openai-image-to-text",
- "actionHandlerOptions": {
- "max_tokens": 4000,
- "temperature": 1,
- "prompt": "",
- "model": "gpt-4-turbo"
}, - "createdAt": "2025-08-07T13:16:47+02:00",
- "updatedAt": "2025-08-07T13:16:47+02:00"
}
]
}
}Returns action configuration list based on the given query.
| X-CSRF-Token required | string CSRF token obtained during the authentication. |
Query action configuration search criteria
| query | string |
| action_type_identifier | string |
| enabled | boolean |
| limit | integer |
| page | integer |
{- "ActionConfigurationListInput": {
- "query": "Rewrite",
- "action_type_identifier": "refine_text",
- "enabled": true,
- "limit": 25,
- "page": 1
}
}{- "ActionConfigurationList": {
- "_media-type": "application/vnd.ibexa.api.ai.ActionConfigurationList+json",
- "_href": "/api/ibexa/v2/ai/actions",
- "ActionConfiguration": [
- {
- "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json",
- "identifier": "rewrite_with_professional_tone",
- "name": "Rewrite in professional tone",
- "description": "",
- "enabled": true,
- "ActionType": {
- "_media-type": "application/vnd.ibexa.api.ai.ActionType+json",
- "identifier": "refine_text",
- "name": "Refine text",
- "inputIdentifier": "text",
- "outputIdentifier": "text",
- "options": [ ]
}, - "actionTypeOptions": [ ],
- "actionHandlerIdentifier": "openai-text-to-text",
- "actionHandlerOptions": {
- "max_tokens": 4000,
- "temperature": 1,
- "prompt": "Rewrite text in professional tone. Preserve meaning and crucial information.",
- "model": "gpt-4-turbo"
}, - "createdAt": "2025-08-07T13:16:47+02:00",
- "updatedAt": "2025-08-07T13:16:47+02:00"
}, - {
- "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json",
- "identifier": "rewrite_with_friendly_tone",
- "name": "Rewrite in friendly tone",
- "description": "",
- "enabled": true,
- "ActionType": {
- "_media-type": "application/vnd.ibexa.api.ai.ActionType+json",
- "identifier": "refine_text",
- "name": "Refine text",
- "inputIdentifier": "text",
- "outputIdentifier": "text",
- "options": [ ]
}, - "actionTypeOptions": [ ],
- "actionHandlerIdentifier": "openai-text-to-text",
- "actionHandlerOptions": {
- "max_tokens": 4000,
- "temperature": 1,
- "prompt": "Rewrite text in friendly tone. Preserve meaning and crucial information.",
- "model": "gpt-4-turbo"
}, - "createdAt": "2025-08-07T13:16:47+02:00",
- "updatedAt": "2025-08-07T13:16:47+02:00"
}
]
}
}Executes the given AI Action using configured ActionConfiguration or ActionHandler, if passed. Might consume AI agent resources.
| actionConfigurationIdentifier required | string Examples:
Configured action name (obtain by listing the configured actions via GET |
| X-CSRF-Token required | string CSRF token obtained during the authentication. |
Input to execute the action. An Input type must match the action type.
| _media-type | string Enum: "application/vnd.ibexa.api.ai.RefineText+json" "application/vnd.ibexa.api.ai.RefineText+xml" |
required | object |
required | object (RuntimeContext) |
{- "RefineText": {
- "Text": {
- "text": [
- "Hey, wassup. What you've been doing the whole day?"
]
}, - "RuntimeContext": [ ]
}
}{- "Text": {
- "_media-type": "application/vnd.ibexa.api.ai.Text+json",
- "text": [
- "Hello, how have you been spending your day?"
]
}
}Returns an action configuration by its unique string identifier.
| identifier required | string Example: rewrite_with_friendly_tone ActionConfigurationLoadByIdentifierController identifier |
{- "ActionConfiguration": {
- "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json",
- "identifier": "rewrite_with_friendly_tone",
- "name": "Rewrite in friendly tone",
- "description": "",
- "enabled": true,
- "ActionType": {
- "_media-type": "application/vnd.ibexa.api.ai.ActionType+json",
- "identifier": "refine_text",
- "name": "Refine text",
- "inputIdentifier": "text",
- "outputIdentifier": "text",
- "options": [ ]
}, - "actionTypeOptions": [ ],
- "actionHandlerIdentifier": "openai-text-to-text",
- "actionHandlerOptions": {
- "max_tokens": 4000,
- "temperature": 1,
- "prompt": "Rewrite text in friendly tone. Preserve meaning and crucial information.",
- "model": "gpt-4-turbo"
}, - "createdAt": "2025-08-07T13:16:47+02:00",
- "updatedAt": "2025-08-07T13:18:00+02:00"
}
}Creates a new collaboration session with participants and returns the session details.
Session creation payload
required | object |
<?xml version="1.0" encoding="UTF-8"?> <ExampleSessionCreate> <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14" > </Owner> <ParticipantListCreate media-type="application/vnd.ibexa.api.ParticipantListCreate+xml"> <ParticipantCreate media-type="application/vnd.ibexa.api.InternalParticipantCreate+xml"> <scope>view</scope> <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14" > </User> </ParticipantCreate> <ParticipantCreate media-type="application/vnd.ibexa.api.ExternalParticipantCreate+xml"> <email>user@link.invalid</email> <scope>view</scope> </ParticipantCreate> </ParticipantListCreate> <subject>example</subject> </ExampleSessionCreate>
<?xml version="1.0"?> <CollaborationSession media-type="application/vnd.ibexa.api.ExampleSession+xml"> <id>123</id> <token>abc123def456ghi789</token> <createdAt>2023-11-15T10:30:00+00:00</createdAt> <updatedAt>2023-11-15T14:45:00+00:00</updatedAt> <ParticipantList media-type="application/vnd.ibexa.api.ParticipantList+xml"> <Participant media-type="application/vnd.ibexa.api.InternalParticipant+xml"> <id>1</id> <name>John Doe</name> <scope>edit</scope> <User href="/api/ibexa/v2/user/users/14" media-type="application/vnd.ibexa.api.User+xml"/> <createdAt>2023-11-15T10:30:00+00:00</createdAt> <updatedAt>2023-11-15T10:30:00+00:00</updatedAt> </Participant> <Participant media-type="application/vnd.ibexa.api.ExternalParticipant+xml"> <id>2</id> <name>guest@example.com</name> <scope>view</scope> <email>guest@example.com</email> <createdAt>2023-11-15T11:00:00+00:00</createdAt> <updatedAt>2023-11-15T11:00:00+00:00</updatedAt> </Participant> </ParticipantList> <Owner href="/api/ibexa/v2/user/users/14" media-type="application/vnd.ibexa.api.User+xml"/> <subject>Project Collaboration Session</subject> <isActive>true</isActive> <hasPublicLink>false</hasPublicLink> </CollaborationSession>
Retrieves a collaboration session by its token.
| sessionToken required | string The session token to retrieve. |
<?xml version="1.0"?> <CollaborationSession media-type="application/vnd.ibexa.api.ExampleSession+xml"> <id>123</id> <token>abc123def456ghi789</token> <createdAt>2023-11-15T10:30:00+00:00</createdAt> <updatedAt>2023-11-15T14:45:00+00:00</updatedAt> <ParticipantList media-type="application/vnd.ibexa.api.ParticipantList+xml"> <Participant media-type="application/vnd.ibexa.api.InternalParticipant+xml"> <id>1</id> <name>John Doe</name> <scope>edit</scope> <User href="/api/ibexa/v2/user/users/14" media-type="application/vnd.ibexa.api.User+xml"/> <createdAt>2023-11-15T10:30:00+00:00</createdAt> <updatedAt>2023-11-15T10:30:00+00:00</updatedAt> </Participant> <Participant media-type="application/vnd.ibexa.api.ExternalParticipant+xml"> <id>2</id> <name>guest@example.com</name> <scope>view</scope> <email>guest@example.com</email> <createdAt>2023-11-15T11:00:00+00:00</createdAt> <updatedAt>2023-11-15T11:00:00+00:00</updatedAt> </Participant> </ParticipantList> <Owner href="/api/ibexa/v2/user/users/14" media-type="application/vnd.ibexa.api.User+xml"/> <subject>Project Collaboration Session</subject> <isActive>true</isActive> <hasPublicLink>false</hasPublicLink> </CollaborationSession>
Updates collaboration session properties.
| sessionToken required | string The session token to update. |
Session update payload
required | object |
<?xml version="1.0" encoding="UTF-8"?> <ExampleSessionUpdate> <hasPublicLink>true</hasPublicLink> </ExampleSessionUpdate>
<?xml version="1.0"?> <CollaborationSession media-type="application/vnd.ibexa.api.ExampleSession+xml"> <id>123</id> <token>abc123def456ghi789</token> <createdAt>2023-11-15T10:30:00+00:00</createdAt> <updatedAt>2023-11-15T14:45:00+00:00</updatedAt> <ParticipantList media-type="application/vnd.ibexa.api.ParticipantList+xml"> <Participant media-type="application/vnd.ibexa.api.InternalParticipant+xml"> <id>1</id> <name>John Doe</name> <scope>edit</scope> <User href="/api/ibexa/v2/user/users/14" media-type="application/vnd.ibexa.api.User+xml"/> <createdAt>2023-11-15T10:30:00+00:00</createdAt> <updatedAt>2023-11-15T10:30:00+00:00</updatedAt> </Participant> <Participant media-type="application/vnd.ibexa.api.ExternalParticipant+xml"> <id>2</id> <name>guest@example.com</name> <scope>view</scope> <email>guest@example.com</email> <createdAt>2023-11-15T11:00:00+00:00</createdAt> <updatedAt>2023-11-15T11:00:00+00:00</updatedAt> </Participant> </ParticipantList> <Owner href="/api/ibexa/v2/user/users/14" media-type="application/vnd.ibexa.api.User+xml"/> <subject>Project Collaboration Session</subject> <isActive>true</isActive> <hasPublicLink>false</hasPublicLink> </CollaborationSession>
Creates an invitation for a participant to join a collaboration session.
| sessionToken required | string The session token. |
Invitation creation payload
required | object |
<?xml version="1.0" encoding="UTF-8"?> <InvitationCreate> <Sender media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14" > </Sender> <email>anonymous@link.invalid</email> <context> <simple_array> <element>test</element> <element>value1</element> <element>value2</element> <element>value3</element> <element>value4</element> <element>value5</element> </simple_array> <single_value>value</single_value> <extended_array> <bar>bar_value</bar> <baz>baz_value</baz> <foo>foo_value</foo> </extended_array> </context> </InvitationCreate>
Retrieves a list of all participants in a collaboration session.
| sessionToken required | string The session token. |
<?xml version="1.0"?> <ParticipantList media-type="application/vnd.ibexa.api.ParticipantList+xml"> <Participant media-type="application/vnd.ibexa.api.InternalParticipant+xml"> <id>1</id> <name>John Doe</name> <scope>edit</scope> <User href="/api/ibexa/v2/user/users/14" media-type="application/vnd.ibexa.api.User+xml"/> <createdAt>2023-11-15T10:30:00+00:00</createdAt> <updatedAt>2023-11-15T10:30:00+00:00</updatedAt> </Participant> <Participant media-type="application/vnd.ibexa.api.ExternalParticipant+xml"> <id>2</id> <name>guest@example.com</name> <scope>view</scope> <email>guest@example.com</email> <createdAt>2023-11-15T11:00:00+00:00</createdAt> <updatedAt>2023-11-15T11:00:00+00:00</updatedAt> </Participant> </ParticipantList>
Adds new participants to an existing collaboration session.
| sessionToken required | string The session token. |
Participant list creation payload
required | object |
<?xml version="1.0" encoding="UTF-8"?> <ParticipantListCreate> <ParticipantCreate media-type="application/vnd.ibexa.api.InternalParticipantCreate+xml"> <scope>view</scope> <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14" > </User> </ParticipantCreate> <ParticipantCreate media-type="application/vnd.ibexa.api.ExternalParticipantCreate+xml"> <email>user@link.invalid</email> <scope>view</scope> </ParticipantCreate> </ParticipantListCreate>
<?xml version="1.0"?> <ParticipantList media-type="application/vnd.ibexa.api.ParticipantList+xml"> <Participant media-type="application/vnd.ibexa.api.InternalParticipant+xml"> <id>1</id> <name>John Doe</name> <scope>edit</scope> <User href="/api/ibexa/v2/user/users/14" media-type="application/vnd.ibexa.api.User+xml"/> <createdAt>2023-11-15T10:30:00+00:00</createdAt> <updatedAt>2023-11-15T10:30:00+00:00</updatedAt> </Participant> <Participant media-type="application/vnd.ibexa.api.ExternalParticipant+xml"> <id>2</id> <name>guest@example.com</name> <scope>view</scope> <email>guest@example.com</email> <createdAt>2023-11-15T11:00:00+00:00</createdAt> <updatedAt>2023-11-15T11:00:00+00:00</updatedAt> </Participant> </ParticipantList>
Updates properties of a participant in a collaboration session.
| sessionToken required | string The session token. |
| participantId required | integer The participant ID to update. |
Participant update payload
required | object |
<?xml version="1.0" encoding="UTF-8"?> <InternalParticipantUpdate> <scope>view</scope> </InternalParticipantUpdate>