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 |
| 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 |
| 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 |
| 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"
}
}
}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 |
| 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 |
{- "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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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"
}
]
}
}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 |
{- "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 |
| versionNo required | string |
| 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 |
| versionNo required | string |
| 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"
}
}
}A specific draft is updated. PATCH or POST with header X-HTTP-Method-Override PATCH.
| contentId required | string |
| versionNo required | string |
| 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 |
| versionNo required | string |
{- "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 |
| versionNo required | string |
| 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 |
| versionNo required | string |
| relationId required | string |
{- "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"
}
}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 |
| 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 |
| 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 |
{- "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 |
| 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 |
| 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 |
| 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 |
{- "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 |
| 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 |
{- "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 |
| 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 |
| fieldDefinitionId required | 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": [ ]
}
}Updates the attributes of a Field definition.
| contentTypeId required | string |
| fieldDefinitionId required | string |
| 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 |
{- "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 |
| fieldDefinitionId required | 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 content type group to which content type belongs to.
| contentTypeId required | string |
{- "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 |
| 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 |
| id required | string |
| 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. |
{- "UserList": {
- "_media-type": "application/vnd.ibexa.api.UserList+json",
- "_href": "/api/ibexa/v2/user/users",
- "User": [
- {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/79",
- "_id": 79,
- "_remoteId": "bcf0764b417f05af21852a1f03fb1f13",
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/4"
}, - "name": "Jose Vargas",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/79/versions"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/2"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/5/12/79"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/79/locations"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json",
- "_href": "/api/ibexa/v2/user/users/79/groups"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/10"
}, - "publishDate": "2021-06-29T08:23:42+00:00",
- "lastModificationDate": "2021-06-29T08:23:42+00:00",
- "mainLanguageCode": "eng-GB",
- "alwaysAvailable": true,
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/79/versions/1",
- "VersionInfo": {
- "id": 547,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2021-06-29T08:23:42+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/10"
}, - "creationDate": "2021-06-29T08:23:42+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": "Jose Vargas"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/79"
}
}, - "Fields": {
- "field": [
- {
- "id": 342,
- "fieldDefinitionIdentifier": "first_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Jose"
}, - {
- "id": 343,
- "fieldDefinitionIdentifier": "last_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Vargas"
}, - {
- "id": 344,
- "fieldDefinitionIdentifier": "user_account",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_user",
- "fieldValue": {
- "hasStoredLogin": true,
- "contentId": 79,
- "login": "josevargas",
- "email": "aa@bb.cc",
- "passwordUpdatedAt": 1624955022,
- "enabled": true,
- "maxLogin": 0,
- "plainPassword": null
}
}, - {
- "id": 345,
- "fieldDefinitionIdentifier": "signature",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_text",
- "fieldValue": null
}, - {
- "id": 346,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image",
- "fieldValue": null
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/79/versions/1/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}, - "login": "josevargas",
- "email": "aa@bb.cc",
- "enabled": true,
- "UserGroups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/users/79/groups"
}, - "Roles": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/users/79/roles"
}
}
]
}
}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. |
{- "UserList": {
- "_media-type": "application/vnd.ibexa.api.UserList+json",
- "_href": "/api/ibexa/v2/user/users",
- "User": [
- {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/79",
- "_id": 79,
- "_remoteId": "bcf0764b417f05af21852a1f03fb1f13",
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/4"
}, - "name": "Jose Vargas",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/79/versions"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/2"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/5/12/79"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/79/locations"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json",
- "_href": "/api/ibexa/v2/user/users/79/groups"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/10"
}, - "publishDate": "2021-06-29T08:23:42+00:00",
- "lastModificationDate": "2021-06-29T08:23:42+00:00",
- "mainLanguageCode": "eng-GB",
- "alwaysAvailable": true,
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/79/versions/1",
- "VersionInfo": {
- "id": 547,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2021-06-29T08:23:42+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/10"
}, - "creationDate": "2021-06-29T08:23:42+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": "Jose Vargas"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/79"
}
}, - "Fields": {
- "field": [
- {
- "id": 342,
- "fieldDefinitionIdentifier": "first_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Jose"
}, - {
- "id": 343,
- "fieldDefinitionIdentifier": "last_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Vargas"
}, - {
- "id": 344,
- "fieldDefinitionIdentifier": "user_account",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_user",
- "fieldValue": {
- "hasStoredLogin": true,
- "contentId": 79,
- "login": "josevargas",
- "email": "aa@bb.cc",
- "passwordUpdatedAt": 1624955022,
- "enabled": true,
- "maxLogin": 0,
- "plainPassword": null
}
}, - {
- "id": 345,
- "fieldDefinitionIdentifier": "signature",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_text",
- "fieldValue": null
}, - {
- "id": 346,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image",
- "fieldValue": null
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/79/versions/1/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}, - "login": "josevargas",
- "email": "aa@bb.cc",
- "enabled": true,
- "UserGroups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/users/79/groups"
}, - "Roles": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/users/79/roles"
}
}
]
}
}Loads User with the given ID.
| userId required | string |
| Accept required | string If set, the User is returned in XML or JSON format. |
| If-None-Match required | string ETag |
{- "UserList": {
- "_media-type": "application/vnd.ibexa.api.UserList+json",
- "_href": "/api/ibexa/v2/user/users",
- "User": [
- {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/79",
- "_id": 79,
- "_remoteId": "bcf0764b417f05af21852a1f03fb1f13",
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/4"
}, - "name": "Jose Vargas",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/79/versions"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/2"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/5/12/79"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/79/locations"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json",
- "_href": "/api/ibexa/v2/user/users/79/groups"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/10"
}, - "publishDate": "2021-06-29T08:23:42+00:00",
- "lastModificationDate": "2021-06-29T08:23:42+00:00",
- "mainLanguageCode": "eng-GB",
- "alwaysAvailable": true,
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/79/versions/1",
- "VersionInfo": {
- "id": 547,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2021-06-29T08:23:42+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/10"
}, - "creationDate": "2021-06-29T08:23:42+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": "Jose Vargas"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/79"
}
}, - "Fields": {
- "field": [
- {
- "id": 342,
- "fieldDefinitionIdentifier": "first_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Jose"
}, - {
- "id": 343,
- "fieldDefinitionIdentifier": "last_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Vargas"
}, - {
- "id": 344,
- "fieldDefinitionIdentifier": "user_account",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_user",
- "fieldValue": {
- "hasStoredLogin": true,
- "contentId": 79,
- "login": "josevargas",
- "email": "aa@bb.cc",
- "passwordUpdatedAt": 1624955022,
- "enabled": true,
- "maxLogin": 0,
- "plainPassword": null
}
}, - {
- "id": 345,
- "fieldDefinitionIdentifier": "signature",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_text",
- "fieldValue": null
}, - {
- "id": 346,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image",
- "fieldValue": null
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/79/versions/1/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}, - "login": "josevargas",
- "email": "aa@bb.cc",
- "enabled": true,
- "UserGroups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/users/79/groups"
}, - "Roles": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/users/79/roles"
}
}
]
}
}Updates a User.
| userId required | string |
| 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
required | object (UserUpdate) This class is used to update a User. |
{- "UserUpdate": {
- "login": "josevargas",
- "enabled": false
}
}{- "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/79",
- "_id": 79,
- "_remoteId": "bcf0764b417f05af21852a1f03fb1f13",
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/4"
}, - "name": "Jose Vargas",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/79/versions"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/2"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/5/12/79"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/79/locations"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json",
- "_href": "/api/ibexa/v2/user/users/79/groups"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/10"
}, - "publishDate": "2021-06-29T08:23:42+00:00",
- "lastModificationDate": "2021-07-29T12:00:24+00:00",
- "mainLanguageCode": "eng-GB",
- "alwaysAvailable": true,
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/79/versions/11",
- "VersionInfo": {
- "id": 614,
- "versionNo": 11,
- "status": "PUBLISHED",
- "modificationDate": "2021-07-29T12:00:24+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2021-07-29T12:00:24+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": "Jose Vargas"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/79"
}
}, - "Fields": {
- "field": [
- {
- "id": 342,
- "fieldDefinitionIdentifier": "first_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Jose"
}, - {
- "id": 343,
- "fieldDefinitionIdentifier": "last_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Vargas"
}, - {
- "id": 344,
- "fieldDefinitionIdentifier": "user_account",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_user",
- "fieldValue": {
- "hasStoredLogin": true,
- "contentId": 79,
- "login": "josevargas",
- "email": "aa@bb.cc",
- "passwordUpdatedAt": null,
- "enabled": false,
- "maxLogin": 0,
- "plainPassword": null
}
}, - {
- "id": 345,
- "fieldDefinitionIdentifier": "signature",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_text",
- "fieldValue": null
}, - {
- "id": 346,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image",
- "fieldValue": null
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/79/versions/11/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}, - "login": "josevargas",
- "email": "aa@bb.cc",
- "enabled": false,
- "UserGroups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/users/79/groups"
}, - "Roles": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/users/79/roles"
}
}
}Loads user's drafts
| userId required | string |
| Accept required | string If set, the version list is returned in XML or JSON format. |
{- "VersionList": {
- "_media-type": "string",
- "_href": "string",
- "VersionItem": [
- {
- "Version": {
- "_media-type": "string",
- "_href": "string"
}, - "VersionInfo": {
- "id": 0,
- "versionNo": 0,
- "status": "DRAFT",
- "modificationDate": "2019-08-24T14:15:22Z",
- "Creator": {
- "_media-type": "string",
- "_href": "string"
}, - "creationDate": "2019-08-24T14:15:22Z",
- "initialLanguageCode": "string",
- "languageCodes": "string",
- "VersionTranslationInfo": null,
- "names": {
- "value": [
- {
- "_languageCode": "string",
- "#text": "string"
}
]
}, - "Content": {
- "_media-type": "string",
- "_href": "string"
}
}
}
]
}
}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 |
| Accept required | string If set, the link list of User Groups is returned in XML or JSON format. |
{- "UserGroupRefList": {
- "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json",
- "_href": "/api/ibexa/v2/user/users/57/groups",
- "UserGroup": [
- {
- "_media-type": "application/vnd.ibexa.api.UserGroup+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/13"
}
]
}
}Assigns the User to a User Group.
| userId required | string |
| Accept required | string If set, the link list of User Groups is returned in XML or JSON format. |
{- "UserGroupRefList": {
- "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json",
- "_href": "/api/ibexa/v2/user/users/57/groups",
- "UserGroup": [
- {
- "_media-type": "application/vnd.ibexa.api.UserGroup+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/13"
}
]
}
}Unassigns the User from a User Group.
| userId required | string |
| groupId required | string |
| Accept required | string If set, the link list of User Groups is returned in XML or JSON format. |
{- "UserGroupRefList": {
- "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json",
- "_href": "/api/ibexa/v2/user/users/57/groups",
- "UserGroup": [
- {
- "_media-type": "application/vnd.ibexa.api.UserGroup+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/13"
}
]
}
}Returns a list of all Roles assigned to the given User.
| userId required | string |
{- "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 |
| 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 |
| roleId required | string |
{- "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 |
| roleId required | string |
| 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"
}
}
]
}
}{- "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": "ibexa",
- "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 |
| 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"
]
}
}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. |
{- "UserGroupList": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/groups",
- "UserGroup": [
- {
- "_media-type": "application/vnd.ibexa.api.UserGroup+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/13/15",
- "_id": 14,
- "_remoteId": "1bb4fe25487f05527efa8bfd394cecc7",
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/4"
}, - "name": "Administrator User",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/14/versions"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/2"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/5/13/15"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/14/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "publishDate": "2002-10-06T16:13:50+00:00",
- "lastModificationDate": "2011-03-25T14:07:04+00:00",
- "mainLanguageCode": "eng-GB",
- "alwaysAvailable": true,
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/14/versions/3",
- "VersionInfo": {
- "id": 499,
- "versionNo": 3,
- "status": "PUBLISHED",
- "modificationDate": "2011-03-25T14:07:04+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2011-03-25T14:03:03+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": "Administrator User"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/14"
}
}, - "Fields": {
- "field": [
- {
- "id": 28,
- "fieldDefinitionIdentifier": "first_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Administrator"
}, - {
- "id": 29,
- "fieldDefinitionIdentifier": "last_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "User"
}, - {
- "id": 30,
- "fieldDefinitionIdentifier": "user_account",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_user",
- "fieldValue": {
- "hasStoredLogin": true,
- "contentId": 14,
- "login": "admin",
- "email": "admin@link.invalid",
- "passwordUpdatedAt": null,
- "enabled": true,
- "maxLogin": 10,
- "plainPassword": null
}
}, - {
- "id": 178,
- "fieldDefinitionIdentifier": "signature",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_text",
- "fieldValue": null
}, - {
- "id": 180,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image",
- "fieldValue": null
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/14/versions/3/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}, - "ParentUserGroup": {
- "_media-type": "application/vnd.ibexa.api.UserGroup+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/13"
}, - "Subgroups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/13/15/subgroups"
}, - "Users": {
- "_media-type": "application/vnd.ibexa.api.UserList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/13/15/users"
}, - "Roles": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/13/15/roles"
}
}
]
}
}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
required | object (UserGroupCreate) This class is used to create a User Group. |
{- "UserGroupCreate": {
- "mainLanguageCode": "eng-GB",
- "remoteId": "remoteId-qwert098",
- "fields": {
- "field": [
- {
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldValue": "UserGroup2"
}, - {
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldValue": "This is the description of the user group"
}
]
}
}
}{- "UserGroup": {
- "_media-type": "application/vnd.ibexa.api.UserGroup+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/81",
- "_id": 87,
- "_remoteId": "remoteId-qwert098",
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/3"
}, - "name": "UserGroup2",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/87/versions"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/2"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/5/81"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/87/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "publishDate": "2021-08-09T09:06:49+00:00",
- "lastModificationDate": "2021-08-09T09:06:49+00:00",
- "mainLanguageCode": "eng-GB",
- "alwaysAvailable": true,
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/87/versions/1",
- "VersionInfo": {
- "id": 578,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2021-08-09T09:06:49+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2021-08-09T09:06: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": "UserGroup2"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/87"
}
}, - "Fields": {
- "field": [
- {
- "id": 384,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "UserGroup2"
}, - {
- "id": 385,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "This is the description of the user group"
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/87/versions/1/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user_group",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}, - "ParentUserGroup": {
- "_media-type": "application/vnd.ibexa.api.UserGroup+json",
- "_href": "/api/ibexa/v2/user/groups/1/5"
}, - "Subgroups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/81/subgroups"
}, - "Users": {
- "_media-type": "application/vnd.ibexa.api.UserList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/81/users"
}, - "Roles": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/81/roles"
}
}
}Loads User Groups for the given {path}.
| path required | string |
| Accept required | string If set, the new User Group is returned in XML or JSON format. |
| If-None-Match required | string ETag |
{- "UserGroup": {
- "_media-type": "application/vnd.ibexa.api.UserGroup+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/81",
- "_id": 87,
- "_remoteId": "remoteId-qwert098",
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/3"
}, - "name": "UserGroup2",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/87/versions"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/2"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/5/81"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/87/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "publishDate": "2021-08-09T09:06:49+00:00",
- "lastModificationDate": "2021-08-09T09:06:49+00:00",
- "mainLanguageCode": "eng-GB",
- "alwaysAvailable": true,
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/87/versions/1",
- "VersionInfo": {
- "id": 578,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2021-08-09T09:06:49+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2021-08-09T09:06: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": "UserGroup2"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/87"
}
}, - "Fields": {
- "field": [
- {
- "id": 384,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "UserGroup2"
}, - {
- "id": 385,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "This is the description of the user group"
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/87/versions/1/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user_group",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}, - "ParentUserGroup": {
- "_media-type": "application/vnd.ibexa.api.UserGroup+json",
- "_href": "/api/ibexa/v2/user/groups/1/5"
}, - "Subgroups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/81/subgroups"
}, - "Users": {
- "_media-type": "application/vnd.ibexa.api.UserList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/81/users"
}, - "Roles": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/81/roles"
}
}
}Updates a User Group. PATCH or POST with header X-HTTP-Method-Override PATCH.
| path required | string |
| 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 (UserGroupUpdate) This class is used to update a User group in the Repository. |
{- "UserGroupUpdate": {
- "Section": {
- "_href": "/api/ibexa/v2/content/sections/2"
}
}
}{- "UserGroup": {
- "_media-type": "application/vnd.ibexa.api.UserGroup+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/81",
- "_id": 87,
- "_remoteId": "remoteId-qwert098",
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/3"
}, - "name": "UserGroup2",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/87/versions"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/2"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/5/81"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/87/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "publishDate": "2021-08-09T09:06:49+00:00",
- "lastModificationDate": "2021-08-09T09:06:49+00:00",
- "mainLanguageCode": "eng-GB",
- "alwaysAvailable": true,
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/87/versions/1",
- "VersionInfo": {
- "id": 578,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2021-08-09T09:06:49+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2021-08-09T09:06: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": "UserGroup2"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/87"
}
}, - "Fields": {
- "field": [
- {
- "id": 384,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "UserGroup2"
}, - {
- "id": 385,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "This is the description of the user group"
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/87/versions/1/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user_group",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}, - "ParentUserGroup": {
- "_media-type": "application/vnd.ibexa.api.UserGroup+json",
- "_href": "/api/ibexa/v2/user/groups/1/5"
}, - "Subgroups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/81/subgroups"
}, - "Users": {
- "_media-type": "application/vnd.ibexa.api.UserList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/81/users"
}, - "Roles": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/81/roles"
}
}
}Returns a list of all Roles assigned to the given User Group.
| path required | string |
{- "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 |
| 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 |
| roleId required | string |
{- "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 |
| roleId required | string |
| 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 |
| 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. |
{- "UserGroupList": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/groups",
- "UserGroup": [
- {
- "_media-type": "application/vnd.ibexa.api.UserGroup+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/13/15",
- "_id": 14,
- "_remoteId": "1bb4fe25487f05527efa8bfd394cecc7",
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/4"
}, - "name": "Administrator User",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/14/versions"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/2"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/5/13/15"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/14/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "publishDate": "2002-10-06T16:13:50+00:00",
- "lastModificationDate": "2011-03-25T14:07:04+00:00",
- "mainLanguageCode": "eng-GB",
- "alwaysAvailable": true,
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/14/versions/3",
- "VersionInfo": {
- "id": 499,
- "versionNo": 3,
- "status": "PUBLISHED",
- "modificationDate": "2011-03-25T14:07:04+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2011-03-25T14:03:03+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": "Administrator User"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/14"
}
}, - "Fields": {
- "field": [
- {
- "id": 28,
- "fieldDefinitionIdentifier": "first_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Administrator"
}, - {
- "id": 29,
- "fieldDefinitionIdentifier": "last_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "User"
}, - {
- "id": 30,
- "fieldDefinitionIdentifier": "user_account",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_user",
- "fieldValue": {
- "hasStoredLogin": true,
- "contentId": 14,
- "login": "admin",
- "email": "admin@link.invalid",
- "passwordUpdatedAt": null,
- "enabled": true,
- "maxLogin": 10,
- "plainPassword": null
}
}, - {
- "id": 178,
- "fieldDefinitionIdentifier": "signature",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_text",
- "fieldValue": null
}, - {
- "id": 180,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image",
- "fieldValue": null
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/14/versions/3/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}, - "ParentUserGroup": {
- "_media-type": "application/vnd.ibexa.api.UserGroup+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/13"
}, - "Subgroups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/13/15/subgroups"
}, - "Users": {
- "_media-type": "application/vnd.ibexa.api.UserList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/13/15/users"
}, - "Roles": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/13/15/roles"
}
}
]
}
}Creates a new User Group under the given parent. To create a top level group use '/user/groups/subgroups'.
| path required | string |
| 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
required | object (UserGroupCreate) This class is used to create a User Group. |
{- "UserGroupCreate": {
- "mainLanguageCode": "eng-GB",
- "remoteId": "remoteId-qwert098",
- "fields": {
- "field": [
- {
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldValue": "UserGroup2"
}, - {
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldValue": "This is the description of the user group"
}
]
}
}
}{- "UserGroup": {
- "_media-type": "application/vnd.ibexa.api.UserGroup+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/81",
- "_id": 87,
- "_remoteId": "remoteId-qwert098",
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/3"
}, - "name": "UserGroup2",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/87/versions"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/2"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/5/81"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/87/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "publishDate": "2021-08-09T09:06:49+00:00",
- "lastModificationDate": "2021-08-09T09:06:49+00:00",
- "mainLanguageCode": "eng-GB",
- "alwaysAvailable": true,
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/87/versions/1",
- "VersionInfo": {
- "id": 578,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2021-08-09T09:06:49+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2021-08-09T09:06: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": "UserGroup2"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/87"
}
}, - "Fields": {
- "field": [
- {
- "id": 384,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "UserGroup2"
}, - {
- "id": 385,
- "fieldDefinitionIdentifier": "description",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "This is the description of the user group"
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/87/versions/1/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user_group",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}, - "ParentUserGroup": {
- "_media-type": "application/vnd.ibexa.api.UserGroup+json",
- "_href": "/api/ibexa/v2/user/groups/1/5"
}, - "Subgroups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/81/subgroups"
}, - "Users": {
- "_media-type": "application/vnd.ibexa.api.UserList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/81/users"
}, - "Roles": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/groups/1/5/81/roles"
}
}
}Loads the Users of the Group with the given ID.
| path required | string |
| 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. |
{- "_media-type": "string",
- "_href": "string",
}Creates a new User in the given Group.
| path required | string |
| 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
required | object (UserCreate) This class is used to create a User. |
{- "UserCreate": {
- "mainLanguageCode": "eng-GB",
- "remoteId": "remoteId-23456789",
- "login": "johnsmith2",
- "email": "example@example.com",
- "password": "Secrepassword5!",
- "fields": {
- "field": [
- {
- "fieldDefinitionIdentifier": "first_name",
- "languageCode": "eng-GB",
- "fieldValue": "John"
}, - {
- "fieldDefinitionIdentifier": "last_name",
- "languageCode": "eng-GB",
- "fieldValue": "Smith"
}, - {
- "fieldDefinitionIdentifier": "user_account",
- "languageCode": "eng-GB",
- "fieldValue": {
- "hasStoredLogin": true,
- "contentId": 14,
- "login": "johnsmith",
- "email": "example@example.com",
- "enabled": true,
- "maxLogin": 10
}
}
]
}
}
}{- "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/79",
- "_id": 79,
- "_remoteId": "bcf0764b417f05af21852a1f03fb1f13",
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/4"
}, - "name": "Jose Vargas",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/79/versions"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/2"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/5/12/79"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/79/locations"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json",
- "_href": "/api/ibexa/v2/user/users/79/groups"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/10"
}, - "publishDate": "2021-06-29T08:23:42+00:00",
- "lastModificationDate": "2021-07-29T12:00:24+00:00",
- "mainLanguageCode": "eng-GB",
- "alwaysAvailable": true,
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/79/versions/11",
- "VersionInfo": {
- "id": 614,
- "versionNo": 11,
- "status": "PUBLISHED",
- "modificationDate": "2021-07-29T12:00:24+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2021-07-29T12:00:24+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": "Jose Vargas"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/79"
}
}, - "Fields": {
- "field": [
- {
- "id": 342,
- "fieldDefinitionIdentifier": "first_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Jose"
}, - {
- "id": 343,
- "fieldDefinitionIdentifier": "last_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Vargas"
}, - {
- "id": 344,
- "fieldDefinitionIdentifier": "user_account",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_user",
- "fieldValue": {
- "hasStoredLogin": true,
- "contentId": 79,
- "login": "josevargas",
- "email": "aa@bb.cc",
- "passwordUpdatedAt": null,
- "enabled": false,
- "maxLogin": 0,
- "plainPassword": null
}
}, - {
- "id": 345,
- "fieldDefinitionIdentifier": "signature",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_text",
- "fieldValue": null
}, - {
- "id": 346,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image",
- "fieldValue": null
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/79/versions/11/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}, - "login": "josevargas",
- "email": "aa@bb.cc",
- "enabled": false,
- "UserGroups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/users/79/groups"
}, - "Roles": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/users/79/roles"
}
}
}{- "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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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"
}
}
}{- "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 |
| 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 |
| 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 |
| 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 |
{- "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 |
| 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 |
| 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 |
| 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"
}
}
}
}
}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 |
| 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 |
| 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 |
| 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 |
| 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 |
| objectStateId required | string |
| 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": ""
}
]
}
}
}Updates an Object state. PATCH or POST with header X-HTTP-Method-Override PATCH.
| objectStateGroupId required | string |
| objectStateId required | string |
| 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 |
{- "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"
}
}
}
}
}{- "UrlWildcardList": {
- "_media-type": "application/vnd.ibexa.api.UrlWildcardList+json",
- "_href": "/api/ibexa/v2/content/urlwildcards",
- "UrlWildcard": [
- {
- "_media-type": "application/vnd.ibexa.api.UrlWildcard+json",
- "_href": "/api/ibexa/v2/content/urlwildcards/1",
- "_id": 1,
- "sourceUrl": "/api/ibexa/v2/content/location/2",
- "destinationUrl": "/api/ibexa/v2/content/location/59",
- "forward": true
}
]
}
}Creates a new URL wildcard.
| X-CSRF-Token required | string The CSRF Token needed on all unsafe HTTP methods with session. |
The URL Wildcard input schema encoded in XML or JSON format.
required | object (UrlWildcardCreate) Creates a new URL wildcard. |
{- "URLWildcardCreate": {
- "sourceUrl": "/api/ibexa/v2/content/location/2",
- "destinationUrl": "/api/ibexa/v2/content/location/59",
- "forward": true
}
}{- "UrlWildcard": {
- "_media-type": "application/vnd.ibexa.api.UrlWildcard+json",
- "_href": "/api/ibexa/v2/content/urlwildcards/6",
- "_id": 6,
- "sourceUrl": "/api/ibexa/v2/content/location/2",
- "destinationUrl": "/api/ibexa/v2/content/location/59",
- "forward": true
}
}Returns the URL wildcard with the given ID.
| wildcardId required | string |
{- "UrlWildcard": {
- "_media-type": "application/vnd.ibexa.api.UrlWildcard+json",
- "_href": "/api/ibexa/v2/content/urlwildcards/4",
- "_id": 4,
- "sourceUrl": "/api/ibexa/v2/content/location/2",
- "destinationUrl": "/api/ibexa/v2/content/location/59",
- "forward": true
}
}{- "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 |
{- "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
required | object (SessionInput) This class represents a session input. |
{- "SessionInput": {
- "login": "admin",
- "password": "secret"
}
}{- "Session": {
- "_media-type": "application/vnd.ibexa.api.Session",
- "name": "eZSSID",
- "identifier": "go327ij2cirpo59pb6rrv2a4el2",
- "csrfToken": "23lkneri34ijajedfw39orj3j93",
- "User": {
- "_href": "/user/users/14",
- "_media-type": "application/vnd.ibexa.api.User+json"
}
}
}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. |
{- "Session": {
- "_media-type": "application/vnd.ibexa.api.Session",
- "name": "eZSSID",
- "identifier": "go327ij2cirpo59pb6rrv2a4el2",
- "csrfToken": "23lkneri34ijajedfw39orj3j93",
- "User": {
- "_href": "/user/users/14",
- "_media-type": "application/vnd.ibexa.api.User+json"
}
}
}Get the session's User information. Deprecated as of Ibexa DXP 4.6, use GET /user/sessions/current instead.
| sessionId required | string |
| Cookie required | string {sessionName}={sessionID} |
| X-CSRF-Token required | string The {csrfToken} needed on all unsafe HTTP methods with session. |
| Accept required | string |
{- "Session": {
- "_media-type": "application/vnd.ibexa.api.Session",
- "name": "eZSSID",
- "identifier": "go327ij2cirpo59pb6rrv2a4el2",
- "csrfToken": "23lkneri34ijajedfw39orj3j93",
- "User": {
- "_href": "/user/users/14",
- "_media-type": "application/vnd.ibexa.api.User+json"
}
}
}{- "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"
}
}
}
}
}
]
}
}Creates JWT authentication token.
The credentials in JWTInput JSON format.
required | object (JWTInput) This class represents the input for a JWT authentication token |
{- "JWTInput": {
- "_media-type": "application/vnd.ibexa.api.JWTInput",
- "username": "admin",
- "password": "publish"
}
}{- "JWT": {
- "_media-type": "application/vnd.ibexa.api.JWT+json",
- "_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MDI4NDA3ODAsImV4cCI6MTYwMjg0NDM4MCwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoiYWRtaW4ifQ.0LHa799HwSwwfDBZd2V0q2xHwGt86PpyZamKnXHQyYI",
- "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MDI4NDA3ODAsImV4cCI6MTYwMjg0NDM4MCwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoiYWRtaW4ifQ.0LHa799HwSwwfDBZd2V0q2xHwGt86PpyZamKnXHQyYI"
}
}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": [
- "hide_publication:123"
], - "dateTime": "1775556271"
}
}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": [ ]
}
}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
}
}
}
]
}
}
}
}{- "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 |
| group_id required | string |
| 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
}
}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 |
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 |
| 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 |
| 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"
]
}
}
]
}
]
}
}
}
}{- "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 |
| 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 |
| 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
}
]
}
}
}
}Updates a currency.
| id required | string |
| 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"
}
]
}
}
}
}{- "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 |
| 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"
}
}{- "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 |
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 |
| 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 |
{- "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 |
| 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 |
| currencyCode required | string |
{- "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 |
| currencyCode required | string |
| customerGroupIdentifier required | string |
{- "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 |
| id required | string |
| 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 |
| 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": [ ]
}
}
]
}
]
}
}
}
}Updates product type.
| id required | string |
| 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": [ ]
}
}
]
}
}{- "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 |
| 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 |
| 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 |
| 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 |
| 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 |
{- "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 |
| identifier required | string |
{- "VatCategory": {
- "_media-type": "application/vnd.ibexa.api.VatCategory+json",
- "identifier": "standard",
- "region": "region_1",
- "vatValue": 18
}
}Bulk removes several taxonomy entries.
| taxonomyName required | string |
| 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 |
| 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 |
| id required | string |
{- "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 |
| 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 |
| contentId required | string |
{- "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 |
| 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 |
| contentId required | string |
{- "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 |
| identifier required | string |
{- "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 |
| id required | string |
{- "TaxonomyEntry": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "identifier": "string",
- "name": "string",
- "content": {
- "_media-type": "string",
- "_href": "string"
}, - "taxonomy": "string"
}
}{- "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 |
{- "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 |
{- "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 |
{- "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": "ibexa",
- "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"
}
}
}Provides basic information about Corporate Account endpoints and configuration.
{- "CorporateAccountRoot": {
- "_media-type": "application/vnd.ibexa.api.CorporateAccountRoot+json",
- "links": [
- {
- "_media-type": "application/vnd.ibexa.api.CompaniesList+json",
- "_rel": "ca-companies",
- "_href": "/api/ibexa/v2/corporate/companies"
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json",
- "_rel": "ca-types",
- "_href": "/api/ibexa/v2/content/typegroups?identifier=corporate_account"
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_rel": "ca-types-company",
- "_href": "/api/ibexa/v2/content/types/48"
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_rel": "ca-types-member",
- "_href": "/api/ibexa/v2/content/types/47"
}, - {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_rel": "ca-types-address",
- "_href": "/api/ibexa/v2/content/types/49"
}, - {
- "_media-type": "application/vnd.ibexa.api.SalesRepresentativesList+json",
- "_rel": "ca-sales-representatives",
- "_href": "/api/ibexa/v2/corporate/sales-representatives"
}, - {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_rel": "ca-role-admin",
- "_href": "/api/ibexa/v2/user/roles/14"
}, - {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_rel": "ca-role-buyer",
- "_href": "/api/ibexa/v2/user/roles/15"
}
]
}
}{- "CompanyList": {
- "_media-type": "application/vnd.ibexa.api.CompanyList+json",
- "companies": [
- {
- "_media-type": "application/vnd.ibexa.api.Company+json",
- "id": 66,
- "name": "Ibexa AS",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/66",
- "_remoteId": "9f20fb03d0ab0a6aef9930f7e6720377",
- "_id": 66,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/48"
}, - "Name": "Ibexa AS",
- "TranslatedName": "Ibexa AS",
- "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/1",
- "VersionInfo": {
- "id": 593,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2023-04-03T13:09:40+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-04-03T13:09:40+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": "Ibexa AS"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/66"
}
}, - "Fields": {
- "field": [
- {
- "id": 295,
- "fieldDefinitionIdentifier": "active",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_boolean",
- "fieldValue": true
}, - {
- "id": 296,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Ibexa AS"
}, - {
- "id": 297,
- "fieldDefinitionIdentifier": "vat",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "123 456 789"
}, - {
- "id": 298,
- "fieldDefinitionIdentifier": "website",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
}, - {
- "id": 299,
- "fieldDefinitionIdentifier": "customer_group",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_customer_group",
- "fieldValue": {
- "customer_group_id": 1
}
}, - {
- "id": 300,
- "fieldDefinitionIdentifier": "sales_rep",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 14,
- "destinationContentHref": "/api/ibexa/v2/content/objects/14"
}
}, - {
- "id": 301,
- "fieldDefinitionIdentifier": "contact",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 74,
- "destinationContentHref": "/api/ibexa/v2/content/objects/74"
}
}, - {
- "id": 302,
- "fieldDefinitionIdentifier": "default_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 69,
- "destinationContentHref": "/api/ibexa/v2/content/objects/69"
}
}, - {
- "id": 303,
- "fieldDefinitionIdentifier": "billing_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_address",
- "fieldValue": {
- "name": "Headquarters",
- "country": "NO",
- "fields": {
- "region": "Company HQ location region",
- "locality": "Company HQ location city",
- "street": "Company HQ location street and building",
- "postal_code": "00000",
- "email": "company@email.invalid",
- "phone_number": "+47 000 000 000"
}
}
}, - {
- "id": 305,
- "fieldDefinitionIdentifier": "members",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 67,
- "destinationContentHref": "/api/ibexa/v2/content/objects/67"
}
}, - {
- "id": 304,
- "fieldDefinitionIdentifier": "address_book",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 68,
- "destinationContentHref": "/api/ibexa/v2/content/objects/68"
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/66/versions/6/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/10"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/67"
}, - "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-03T13:09:40+02:00",
- "publishedDate": "2023-03-31T14:33:36+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/66/objectstates"
}
}, - "billingAddress": {
- "name": "Headquarters",
- "country": "NO",
- "fields": {
- "region": "Company HQ location region",
- "locality": "Company HQ location city",
- "street": "Company HQ location street and building",
- "postal_code": "00000",
- "email": "company@email.invalid",
- "phone_number": "+47 000 000 000"
}
}, - "contactId": 74,
- "salesRepresentativeId": 80,
- "defaultAddressId": 69,
- "addressBookId": 68,
- "membersId": 67,
- "MemberList": {
- "_media-type": "application/vnd.ibexa.api.MemberList+json",
- "_href": "/api/ibexa/v2/corporate/companies/66/members"
}, - "Location": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/67"
}, - "locationPath": "/1/65/67/",
- "isActive": true
}, - {
- "_media-type": "application/vnd.ibexa.api.Company+json",
- "id": 75,
- "name": "QNTM Group AB",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/75",
- "_remoteId": "1d7eaec5b4371f7a35f253d15ecd5258",
- "_id": 75,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/48"
}, - "Name": "QNTM Group AB",
- "TranslatedName": "QNTM Group AB",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/75/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/75/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/75/versions/3",
- "VersionInfo": {
- "id": 546,
- "versionNo": 3,
- "status": "PUBLISHED",
- "modificationDate": "2023-03-31T15:24:49+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-03-31T15:24: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": "QNTM Group AB"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/75"
}
}, - "Fields": {
- "field": [
- {
- "id": 341,
- "fieldDefinitionIdentifier": "active",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_boolean",
- "fieldValue": true
}, - {
- "id": 342,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "QNTM Group AB"
}, - {
- "id": 343,
- "fieldDefinitionIdentifier": "vat",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "123 456 789"
}, - {
- "id": 344,
- "fieldDefinitionIdentifier": "website",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
}, - {
- "id": 345,
- "fieldDefinitionIdentifier": "customer_group",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_customer_group",
- "fieldValue": {
- "customer_group_id": 1
}
}, - {
- "id": 346,
- "fieldDefinitionIdentifier": "sales_rep",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 14,
- "destinationContentHref": "/api/ibexa/v2/content/objects/14"
}
}, - {
- "id": 347,
- "fieldDefinitionIdentifier": "contact",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": null
}
}, - {
- "id": 348,
- "fieldDefinitionIdentifier": "default_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": null
}
}, - {
- "id": 349,
- "fieldDefinitionIdentifier": "billing_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_address",
- "fieldValue": {
- "name": null,
- "country": null,
- "fields": [ ]
}
}, - {
- "id": 351,
- "fieldDefinitionIdentifier": "members",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 76,
- "destinationContentHref": "/api/ibexa/v2/content/objects/76"
}
}, - {
- "id": 350,
- "fieldDefinitionIdentifier": "address_book",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 77,
- "destinationContentHref": "/api/ibexa/v2/content/objects/77"
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/75/versions/3/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/10"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/76"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/75/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2023-03-31T15:24:49+02:00",
- "publishedDate": "2023-03-31T15:24:48+02:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 3,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/75/objectstates"
}
}, - "billingAddress": {
- "name": null,
- "country": null,
- "fields": [ ]
}, - "contactId": null,
- "salesRepresentativeId": 14,
- "defaultAddressId": null,
- "addressBookId": 77,
- "membersId": 76,
- "MemberList": {
- "_media-type": "application/vnd.ibexa.api.MemberList+json",
- "_href": "/api/ibexa/v2/corporate/companies/75/members"
}, - "Location": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/76"
}, - "locationPath": "/1/65/76/",
- "isActive": true
}
]
}
}Creates a CompanyCreateController resource.
| X-CSRF-Token required | string Only needed for session's checking. The {csrfToken} needed on all unsafe HTTP methods with session. |
The CompanyCreate schema encoded in XML or JSON format.
required | object (CompanyCreate) This class is used to create a company. |
{- "CompanyCreate": {
- "fields": {
- "field": [
- {
- "fieldDefinitionIdentifier": "active",
- "fieldValue": true
}, - {
- "fieldDefinitionIdentifier": "name",
- "fieldValue": "Ibexa Sp. z o. o."
}, - {
- "fieldDefinitionIdentifier": "vat",
- "fieldValue": "123 456 789"
}, - {
- "fieldDefinitionIdentifier": "customer_group",
- "fieldValue": {
- "customer_group_id": 1
}
}, - {
- "fieldDefinitionIdentifier": "sales_rep",
- "fieldValue": {
- "destinationContentId": 14
}
}, - {
- "fieldDefinitionIdentifier": "billing_address",
- "fieldValue": {
- "name": "HQ",
- "country": "PL",
- "fields": {
- "region": "Silesia",
- "locality": "Katowice",
- "street": "Gliwicka 6/5",
- "postal_code": "40-079",
- "email": "company@email.invalid",
- "phone_number": "+48 000 000 000"
}
}
}
]
}
}
}{- "Company": {
- "_media-type": "application/vnd.ibexa.api.Company+json",
- "id": 66,
- "name": "Ibexa AS",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/66",
- "_remoteId": "9f20fb03d0ab0a6aef9930f7e6720377",
- "_id": 66,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/48"
}, - "Name": "Ibexa AS",
- "TranslatedName": "Ibexa AS",
- "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/1",
- "VersionInfo": {
- "id": 593,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2023-04-03T13:09:40+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-04-03T13:09:40+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": "Ibexa AS"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/66"
}
}, - "Fields": {
- "field": [
- {
- "id": 295,
- "fieldDefinitionIdentifier": "active",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_boolean",
- "fieldValue": true
}, - {
- "id": 296,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Ibexa AS"
}, - {
- "id": 297,
- "fieldDefinitionIdentifier": "vat",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "123 456 789"
}, - {
- "id": 298,
- "fieldDefinitionIdentifier": "website",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
}, - {
- "id": 299,
- "fieldDefinitionIdentifier": "customer_group",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_customer_group",
- "fieldValue": {
- "customer_group_id": 1
}
}, - {
- "id": 300,
- "fieldDefinitionIdentifier": "sales_rep",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 14,
- "destinationContentHref": "/api/ibexa/v2/content/objects/14"
}
}, - {
- "id": 301,
- "fieldDefinitionIdentifier": "contact",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 74,
- "destinationContentHref": "/api/ibexa/v2/content/objects/74"
}
}, - {
- "id": 302,
- "fieldDefinitionIdentifier": "default_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 69,
- "destinationContentHref": "/api/ibexa/v2/content/objects/69"
}
}, - {
- "id": 303,
- "fieldDefinitionIdentifier": "billing_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_address",
- "fieldValue": {
- "name": "Headquarters",
- "country": "NO",
- "fields": {
- "region": "Company HQ location region",
- "locality": "Company HQ location city",
- "street": "Company HQ location street and building",
- "postal_code": "00000",
- "email": "company@email.invalid",
- "phone_number": "+47 000 000 000"
}
}
}, - {
- "id": 305,
- "fieldDefinitionIdentifier": "members",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 67,
- "destinationContentHref": "/api/ibexa/v2/content/objects/67"
}
}, - {
- "id": 304,
- "fieldDefinitionIdentifier": "address_book",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 68,
- "destinationContentHref": "/api/ibexa/v2/content/objects/68"
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/66/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/10"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/67"
}, - "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-03T13:09:40+02:00",
- "publishedDate": "2023-03-31T14:33:36+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/66/objectstates"
}
}, - "billingAddress": {
- "name": "Headquarters",
- "country": "NO",
- "fields": {
- "region": "Company HQ location region",
- "locality": "Company HQ location city",
- "street": "Company HQ location street and building",
- "postal_code": "00000",
- "email": "company@email.invalid",
- "phone_number": "+47 000 000 000"
}
}, - "contactId": 74,
- "salesRepresentativeId": 80,
- "defaultAddressId": 69,
- "addressBookId": 68,
- "membersId": 67,
- "MemberList": {
- "_media-type": "application/vnd.ibexa.api.MemberList+json",
- "_href": "/api/ibexa/v2/corporate/companies/66/members"
}, - "Location": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/67"
}, - "locationPath": "/1/65/67/",
- "isActive": true
}
}Returns the company by given company ID.
| companyId required | string |
| If-None-match | string ETag |
{- "Company": {
- "_media-type": "application/vnd.ibexa.api.Company+json",
- "id": 66,
- "name": "Ibexa AS",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/66",
- "_remoteId": "9f20fb03d0ab0a6aef9930f7e6720377",
- "_id": 66,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/48"
}, - "Name": "Ibexa AS",
- "TranslatedName": "Ibexa AS",
- "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/1",
- "VersionInfo": {
- "id": 593,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2023-04-03T13:09:40+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-04-03T13:09:40+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": "Ibexa AS"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/66"
}
}, - "Fields": {
- "field": [
- {
- "id": 295,
- "fieldDefinitionIdentifier": "active",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_boolean",
- "fieldValue": true
}, - {
- "id": 296,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Ibexa AS"
}, - {
- "id": 297,
- "fieldDefinitionIdentifier": "vat",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "123 456 789"
}, - {
- "id": 298,
- "fieldDefinitionIdentifier": "website",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
}, - {
- "id": 299,
- "fieldDefinitionIdentifier": "customer_group",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_customer_group",
- "fieldValue": {
- "customer_group_id": 1
}
}, - {
- "id": 300,
- "fieldDefinitionIdentifier": "sales_rep",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 14,
- "destinationContentHref": "/api/ibexa/v2/content/objects/14"
}
}, - {
- "id": 301,
- "fieldDefinitionIdentifier": "contact",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 74,
- "destinationContentHref": "/api/ibexa/v2/content/objects/74"
}
}, - {
- "id": 302,
- "fieldDefinitionIdentifier": "default_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 69,
- "destinationContentHref": "/api/ibexa/v2/content/objects/69"
}
}, - {
- "id": 303,
- "fieldDefinitionIdentifier": "billing_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_address",
- "fieldValue": {
- "name": "Headquarters",
- "country": "NO",
- "fields": {
- "region": "Company HQ location region",
- "locality": "Company HQ location city",
- "street": "Company HQ location street and building",
- "postal_code": "00000",
- "email": "company@email.invalid",
- "phone_number": "+47 000 000 000"
}
}
}, - {
- "id": 305,
- "fieldDefinitionIdentifier": "members",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 67,
- "destinationContentHref": "/api/ibexa/v2/content/objects/67"
}
}, - {
- "id": 304,
- "fieldDefinitionIdentifier": "address_book",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 68,
- "destinationContentHref": "/api/ibexa/v2/content/objects/68"
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/66/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/10"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/67"
}, - "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-03T13:09:40+02:00",
- "publishedDate": "2023-03-31T14:33:36+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/66/objectstates"
}
}, - "billingAddress": {
- "name": "Headquarters",
- "country": "NO",
- "fields": {
- "region": "Company HQ location region",
- "locality": "Company HQ location city",
- "street": "Company HQ location street and building",
- "postal_code": "00000",
- "email": "company@email.invalid",
- "phone_number": "+47 000 000 000"
}
}, - "contactId": 74,
- "salesRepresentativeId": 80,
- "defaultAddressId": 69,
- "addressBookId": 68,
- "membersId": 67,
- "MemberList": {
- "_media-type": "application/vnd.ibexa.api.MemberList+json",
- "_href": "/api/ibexa/v2/corporate/companies/66/members"
}, - "Location": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/67"
}, - "locationPath": "/1/65/67/",
- "isActive": true
}
}Updates a company. PATCH or POST with header X-HTTP-Method-Override PATCH.
| companyId required | string |
| X-CSRF-Token required | string Only needed for session's checking. The {csrfToken} needed on all unsafe HTTP methods with session. |
| If-Match required | string ETag |
The company input schema encoded in XML or JSON.
required | object (CompanyUpdate) This class is used to update a Company. |
{- "CompanyUpdate": {
- "fields": {
- "field": [
- {
- "fieldDefinitionIdentifier": "contact",
- "fieldValue": {
- "destinationContentId": 144
}
}
]
}
}
}{- "Company": {
- "_media-type": "application/vnd.ibexa.api.Company+json",
- "id": 66,
- "name": "Ibexa AS",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/66",
- "_remoteId": "9f20fb03d0ab0a6aef9930f7e6720377",
- "_id": 66,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/48"
}, - "Name": "Ibexa AS",
- "TranslatedName": "Ibexa AS",
- "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/1",
- "VersionInfo": {
- "id": 593,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2023-04-03T13:09:40+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-04-03T13:09:40+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": "Ibexa AS"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/66"
}
}, - "Fields": {
- "field": [
- {
- "id": 295,
- "fieldDefinitionIdentifier": "active",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_boolean",
- "fieldValue": true
}, - {
- "id": 296,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Ibexa AS"
}, - {
- "id": 297,
- "fieldDefinitionIdentifier": "vat",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "123 456 789"
}, - {
- "id": 298,
- "fieldDefinitionIdentifier": "website",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
}, - {
- "id": 299,
- "fieldDefinitionIdentifier": "customer_group",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_customer_group",
- "fieldValue": {
- "customer_group_id": 1
}
}, - {
- "id": 300,
- "fieldDefinitionIdentifier": "sales_rep",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 14,
- "destinationContentHref": "/api/ibexa/v2/content/objects/14"
}
}, - {
- "id": 301,
- "fieldDefinitionIdentifier": "contact",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 74,
- "destinationContentHref": "/api/ibexa/v2/content/objects/74"
}
}, - {
- "id": 302,
- "fieldDefinitionIdentifier": "default_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 69,
- "destinationContentHref": "/api/ibexa/v2/content/objects/69"
}
}, - {
- "id": 303,
- "fieldDefinitionIdentifier": "billing_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_address",
- "fieldValue": {
- "name": "Headquarters",
- "country": "NO",
- "fields": {
- "region": "Company HQ location region",
- "locality": "Company HQ location city",
- "street": "Company HQ location street and building",
- "postal_code": "00000",
- "email": "company@email.invalid",
- "phone_number": "+47 000 000 000"
}
}
}, - {
- "id": 305,
- "fieldDefinitionIdentifier": "members",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 67,
- "destinationContentHref": "/api/ibexa/v2/content/objects/67"
}
}, - {
- "id": 304,
- "fieldDefinitionIdentifier": "address_book",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 68,
- "destinationContentHref": "/api/ibexa/v2/content/objects/68"
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/66/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/10"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/67"
}, - "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-03T13:09:40+02:00",
- "publishedDate": "2023-03-31T14:33:36+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/66/objectstates"
}
}, - "billingAddress": {
- "name": "Headquarters",
- "country": "NO",
- "fields": {
- "region": "Company HQ location region",
- "locality": "Company HQ location city",
- "street": "Company HQ location street and building",
- "postal_code": "00000",
- "email": "company@email.invalid",
- "phone_number": "+47 000 000 000"
}
}, - "contactId": 74,
- "salesRepresentativeId": 80,
- "defaultAddressId": 69,
- "addressBookId": 68,
- "membersId": 67,
- "MemberList": {
- "_media-type": "application/vnd.ibexa.api.MemberList+json",
- "_href": "/api/ibexa/v2/corporate/companies/66/members"
}, - "Location": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/67"
}, - "locationPath": "/1/65/67/",
- "isActive": true
}
}Returns paginated list of a given company members.
| companyId required | string |
| filter[DateMetadataCriterion][Target] | string Enum: "created" "modified" "published" |
| filter[DateMetadataCriterion][Operator] | string Enum: "eq" "gt" "gte" "lt" "lte" |
| filter[DateMetadataCriterion][Value] | integer DateTime as a UNIX timestamp |
| sort[ContentName] | string Enum: "ascending" "descending" |
| sort[DatePublished] | string Enum: "ascending" "descending" |
| sort[DateModified] | string Enum: "ascending" "descending" |
| offset | integer |
| limit | integer |
{- "MemberList": {
- "_media-type": "application/vnd.ibexa.api.MemberList+json",
- "_href": "/api/ibexa/v2/corporate/companies/139/members",
- "members": [
- {
- "_media-type": "application/vnd.ibexa.api.Member+json",
- "_href": "/api/ibexa/v2/corporate/companies/139/members/144",
- "id": 144,
- "name": "Jay Kowalski",
- "Company": {
- "_media-type": "application/vnd.ibexa.api.Company+json",
- "id": 139,
- "name": "Ibexa Sp. z o. o.",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/139",
- "_remoteId": "b16d06d4c5ba7c37b26fa167b551dfc2",
- "_id": 139,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/48"
}, - "Name": "Ibexa Sp. z o. o.",
- "TranslatedName": "Ibexa Sp. z o. o.",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/139/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/139/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/139/versions/6",
- "VersionInfo": {
- "id": 677,
- "versionNo": 6,
- "status": "PUBLISHED",
- "modificationDate": "2023-04-28T16:10:13+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-04-28T16:10:13+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": "Ibexa Sp. z o. o."
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/139"
}
}, - "Fields": {
- "field": [
- {
- "id": 673,
- "fieldDefinitionIdentifier": "active",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_boolean",
- "fieldValue": true
}, - {
- "id": 674,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Ibexa Sp. z o. o."
}, - {
- "id": 675,
- "fieldDefinitionIdentifier": "vat",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "123 456 789"
}, - {
- "id": 676,
- "fieldDefinitionIdentifier": "website",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
}, - {
- "id": 677,
- "fieldDefinitionIdentifier": "customer_group",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_customer_group",
- "fieldValue": {
- "customer_group_id": 1
}
}, - {
- "id": 678,
- "fieldDefinitionIdentifier": "sales_rep",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 14,
- "destinationContentHref": "/api/ibexa/v2/content/objects/14"
}
}, - {
- "id": 679,
- "fieldDefinitionIdentifier": "contact",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 144,
- "destinationContentHref": "/api/ibexa/v2/content/objects/144"
}
}, - {
- "id": 680,
- "fieldDefinitionIdentifier": "default_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 142,
- "destinationContentHref": "/api/ibexa/v2/content/objects/142"
}
}, - {
- "id": 681,
- "fieldDefinitionIdentifier": "billing_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_address",
- "fieldValue": {
- "name": "HQ",
- "country": "PL",
- "fields": {
- "region": "Silesia",
- "locality": "Katowice",
- "street": "Gliwicka 6/5",
- "postal_code": "40-079",
- "email": "company@email.invalid",
- "phone_number": "+48 000 000 000"
}
}
}, - {
- "id": 683,
- "fieldDefinitionIdentifier": "members",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 140,
- "destinationContentHref": "/api/ibexa/v2/content/objects/140"
}
}, - {
- "id": 682,
- "fieldDefinitionIdentifier": "address_book",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 141,
- "destinationContentHref": "/api/ibexa/v2/content/objects/141"
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/139/versions/6/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/10"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/140"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/139/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2023-04-28T16:10:13+02:00",
- "publishedDate": "2023-04-28T15:44:55+02:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 6,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/139/objectstates"
}
}, - "billingAddress": {
- "name": "HQ",
- "country": "PL",
- "fields": {
- "region": "Silesia",
- "locality": "Katowice",
- "street": "Gliwicka 6/5",
- "postal_code": "40-079",
- "email": "company@email.invalid",
- "phone_number": "+48 000 000 000"
}
}, - "contactId": 144,
- "salesRepresentativeId": 14,
- "defaultAddressId": 142,
- "addressBookId": 141,
- "membersId": 140,
- "MemberList": {
- "_media-type": "application/vnd.ibexa.api.MemberList+json",
- "_href": "/api/ibexa/v2/corporate/companies/139/members"
}, - "Location": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/140"
}, - "locationPath": "/1/65/140/",
- "isActive": true
}, - "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/144",
- "_id": 144,
- "_remoteId": "1b3938c16adfa29996f3afff0b4a0032",
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/47"
}, - "name": "Jay Kowalski",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/144/versions"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/10"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/140/141/145"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/144/locations"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json",
- "_href": "/api/ibexa/v2/user/users/144/groups"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "publishDate": "2023-04-28T16:10:03+02:00",
- "lastModificationDate": "2023-04-28T16:17:07+02:00",
- "mainLanguageCode": "eng-GB",
- "alwaysAvailable": true,
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/144/versions/6",
- "VersionInfo": {
- "id": 683,
- "versionNo": 6,
- "status": "PUBLISHED",
- "modificationDate": "2023-04-28T16:17:07+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-04-28T16:17:06+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": "Jay Kowalski"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/144"
}
}, - "Fields": {
- "field": [
- {
- "id": 698,
- "fieldDefinitionIdentifier": "first_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Jay"
}, - {
- "id": 699,
- "fieldDefinitionIdentifier": "last_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Kowalski"
}, - {
- "id": 700,
- "fieldDefinitionIdentifier": "phone_number",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "+48 123 123 456"
}, - {
- "id": 701,
- "fieldDefinitionIdentifier": "user",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_user",
- "fieldValue": {
- "hasStoredLogin": true,
- "contentId": 144,
- "login": "jay.kowalski",
- "email": "jay.kowalski@email.invalid",
- "passwordUpdatedAt": 1682691427,
- "enabled": false,
- "maxLogin": 5,
- "plainPassword": null
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/144/versions/6/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/user/default_profile_image/initials.svg?initials=JK#profile_image",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}, - "login": "jay.kowalski",
- "email": "jay.kowalski@email.invalid",
- "enabled": false,
- "UserGroups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/users/144/groups"
}, - "Roles": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/users/144/roles"
}
}, - "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/15",
- "identifier": "Company Buyer",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/15/policies"
}
}
}
]
}
}Creates a company member.
| companyId required | string |
| X-CSRF-Token required | string Only needed for session's checking. The {csrfToken} needed on all unsafe HTTP methods with session. |
The MemberCreate schema encoded in XML or JSON format.
required | object (MemberCreate) This class is used to create a member. |
{- "MemberCreate": {
- "login": "jay.kowalski",
- "email": "jay.kowalski@email.invalid",
- "password": "Ibexa123#",
- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/12"
}, - "fields": {
- "field": [
- {
- "fieldDefinitionIdentifier": "first_name",
- "fieldValue": "Jay"
}, - {
- "fieldDefinitionIdentifier": "last_name",
- "fieldValue": "Kowalski"
}, - {
- "fieldDefinitionIdentifier": "phone_number",
- "fieldValue": "+48 123 123 456"
}
]
}
}
}{- "Member": {
- "_media-type": "application/vnd.ibexa.api.Member+json",
- "_href": "/api/ibexa/v2/corporate/companies/139/members/144",
- "id": 144,
- "name": "Jay Kowalski",
- "Company": {
- "_media-type": "application/vnd.ibexa.api.Company+json",
- "id": 139,
- "name": "Ibexa Sp. z o. o.",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/139",
- "_remoteId": "b16d06d4c5ba7c37b26fa167b551dfc2",
- "_id": 139,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/48"
}, - "Name": "Ibexa Sp. z o. o.",
- "TranslatedName": "Ibexa Sp. z o. o.",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/139/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/139/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/139/versions/6",
- "VersionInfo": {
- "id": 677,
- "versionNo": 6,
- "status": "PUBLISHED",
- "modificationDate": "2023-04-28T16:10:13+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-04-28T16:10:13+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": "Ibexa Sp. z o. o."
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/139"
}
}, - "Fields": {
- "field": [
- {
- "id": 673,
- "fieldDefinitionIdentifier": "active",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_boolean",
- "fieldValue": true
}, - {
- "id": 674,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Ibexa Sp. z o. o."
}, - {
- "id": 675,
- "fieldDefinitionIdentifier": "vat",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "123 456 789"
}, - {
- "id": 676,
- "fieldDefinitionIdentifier": "website",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
}, - {
- "id": 677,
- "fieldDefinitionIdentifier": "customer_group",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_customer_group",
- "fieldValue": {
- "customer_group_id": 1
}
}, - {
- "id": 678,
- "fieldDefinitionIdentifier": "sales_rep",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 14,
- "destinationContentHref": "/api/ibexa/v2/content/objects/14"
}
}, - {
- "id": 679,
- "fieldDefinitionIdentifier": "contact",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 144,
- "destinationContentHref": "/api/ibexa/v2/content/objects/144"
}
}, - {
- "id": 680,
- "fieldDefinitionIdentifier": "default_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 142,
- "destinationContentHref": "/api/ibexa/v2/content/objects/142"
}
}, - {
- "id": 681,
- "fieldDefinitionIdentifier": "billing_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_address",
- "fieldValue": {
- "name": "HQ",
- "country": "PL",
- "fields": {
- "region": "Silesia",
- "locality": "Katowice",
- "street": "Gliwicka 6/5",
- "postal_code": "40-079",
- "email": "company@email.invalid",
- "phone_number": "+48 000 000 000"
}
}
}, - {
- "id": 683,
- "fieldDefinitionIdentifier": "members",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 140,
- "destinationContentHref": "/api/ibexa/v2/content/objects/140"
}
}, - {
- "id": 682,
- "fieldDefinitionIdentifier": "address_book",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 141,
- "destinationContentHref": "/api/ibexa/v2/content/objects/141"
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/139/versions/6/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/10"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/140"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/139/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2023-04-28T16:10:13+02:00",
- "publishedDate": "2023-04-28T15:44:55+02:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 6,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/139/objectstates"
}
}, - "billingAddress": {
- "name": "HQ",
- "country": "PL",
- "fields": {
- "region": "Silesia",
- "locality": "Katowice",
- "street": "Gliwicka 6/5",
- "postal_code": "40-079",
- "email": "company@email.invalid",
- "phone_number": "+48 000 000 000"
}
}, - "contactId": 144,
- "salesRepresentativeId": 14,
- "defaultAddressId": 142,
- "addressBookId": 141,
- "membersId": 140,
- "MemberList": {
- "_media-type": "application/vnd.ibexa.api.MemberList+json",
- "_href": "/api/ibexa/v2/corporate/companies/139/members"
}, - "Location": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/140"
}, - "locationPath": "/1/65/140/",
- "isActive": true
}, - "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/144",
- "_id": 144,
- "_remoteId": "1b3938c16adfa29996f3afff0b4a0032",
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/47"
}, - "name": "Jay Kowalski",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/144/versions"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/10"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/140/141/145"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/144/locations"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json",
- "_href": "/api/ibexa/v2/user/users/144/groups"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "publishDate": "2023-04-28T16:10:03+02:00",
- "lastModificationDate": "2023-04-28T16:17:07+02:00",
- "mainLanguageCode": "eng-GB",
- "alwaysAvailable": true,
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/144/versions/6",
- "VersionInfo": {
- "id": 683,
- "versionNo": 6,
- "status": "PUBLISHED",
- "modificationDate": "2023-04-28T16:17:07+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-04-28T16:17:06+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": "Jay Kowalski"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/144"
}
}, - "Fields": {
- "field": [
- {
- "id": 698,
- "fieldDefinitionIdentifier": "first_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Jay"
}, - {
- "id": 699,
- "fieldDefinitionIdentifier": "last_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Kowalski"
}, - {
- "id": 700,
- "fieldDefinitionIdentifier": "phone_number",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "+48 123 123 456"
}, - {
- "id": 701,
- "fieldDefinitionIdentifier": "user",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_user",
- "fieldValue": {
- "hasStoredLogin": true,
- "contentId": 144,
- "login": "jay.kowalski",
- "email": "jay.kowalski@email.invalid",
- "passwordUpdatedAt": 1682691427,
- "enabled": false,
- "maxLogin": 5,
- "plainPassword": null
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/144/versions/6/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/user/default_profile_image/initials.svg?initials=JK#profile_image",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}, - "login": "jay.kowalski",
- "email": "jay.kowalski@email.invalid",
- "enabled": false,
- "UserGroups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/users/144/groups"
}, - "Roles": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/users/144/roles"
}
}, - "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/15",
- "identifier": "Company Buyer",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/15/policies"
}
}
}
}Returns the company member by given member ID.
| companyId required | string |
| memberId required | string |
{- "Member": {
- "_media-type": "application/vnd.ibexa.api.Member+json",
- "_href": "/api/ibexa/v2/corporate/companies/139/members/144",
- "id": 144,
- "name": "Jay Kowalski",
- "Company": {
- "_media-type": "application/vnd.ibexa.api.Company+json",
- "id": 139,
- "name": "Ibexa Sp. z o. o.",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/139",
- "_remoteId": "b16d06d4c5ba7c37b26fa167b551dfc2",
- "_id": 139,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/48"
}, - "Name": "Ibexa Sp. z o. o.",
- "TranslatedName": "Ibexa Sp. z o. o.",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/139/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/139/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/139/versions/6",
- "VersionInfo": {
- "id": 677,
- "versionNo": 6,
- "status": "PUBLISHED",
- "modificationDate": "2023-04-28T16:10:13+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-04-28T16:10:13+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": "Ibexa Sp. z o. o."
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/139"
}
}, - "Fields": {
- "field": [
- {
- "id": 673,
- "fieldDefinitionIdentifier": "active",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_boolean",
- "fieldValue": true
}, - {
- "id": 674,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Ibexa Sp. z o. o."
}, - {
- "id": 675,
- "fieldDefinitionIdentifier": "vat",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "123 456 789"
}, - {
- "id": 676,
- "fieldDefinitionIdentifier": "website",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
}, - {
- "id": 677,
- "fieldDefinitionIdentifier": "customer_group",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_customer_group",
- "fieldValue": {
- "customer_group_id": 1
}
}, - {
- "id": 678,
- "fieldDefinitionIdentifier": "sales_rep",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 14,
- "destinationContentHref": "/api/ibexa/v2/content/objects/14"
}
}, - {
- "id": 679,
- "fieldDefinitionIdentifier": "contact",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 144,
- "destinationContentHref": "/api/ibexa/v2/content/objects/144"
}
}, - {
- "id": 680,
- "fieldDefinitionIdentifier": "default_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 142,
- "destinationContentHref": "/api/ibexa/v2/content/objects/142"
}
}, - {
- "id": 681,
- "fieldDefinitionIdentifier": "billing_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_address",
- "fieldValue": {
- "name": "HQ",
- "country": "PL",
- "fields": {
- "region": "Silesia",
- "locality": "Katowice",
- "street": "Gliwicka 6/5",
- "postal_code": "40-079",
- "email": "company@email.invalid",
- "phone_number": "+48 000 000 000"
}
}
}, - {
- "id": 683,
- "fieldDefinitionIdentifier": "members",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 140,
- "destinationContentHref": "/api/ibexa/v2/content/objects/140"
}
}, - {
- "id": 682,
- "fieldDefinitionIdentifier": "address_book",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 141,
- "destinationContentHref": "/api/ibexa/v2/content/objects/141"
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/139/versions/6/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/10"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/140"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/139/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2023-04-28T16:10:13+02:00",
- "publishedDate": "2023-04-28T15:44:55+02:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 6,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/139/objectstates"
}
}, - "billingAddress": {
- "name": "HQ",
- "country": "PL",
- "fields": {
- "region": "Silesia",
- "locality": "Katowice",
- "street": "Gliwicka 6/5",
- "postal_code": "40-079",
- "email": "company@email.invalid",
- "phone_number": "+48 000 000 000"
}
}, - "contactId": 144,
- "salesRepresentativeId": 14,
- "defaultAddressId": 142,
- "addressBookId": 141,
- "membersId": 140,
- "MemberList": {
- "_media-type": "application/vnd.ibexa.api.MemberList+json",
- "_href": "/api/ibexa/v2/corporate/companies/139/members"
}, - "Location": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/140"
}, - "locationPath": "/1/65/140/",
- "isActive": true
}, - "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/144",
- "_id": 144,
- "_remoteId": "1b3938c16adfa29996f3afff0b4a0032",
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/47"
}, - "name": "Jay Kowalski",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/144/versions"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/10"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/140/141/145"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/144/locations"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json",
- "_href": "/api/ibexa/v2/user/users/144/groups"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "publishDate": "2023-04-28T16:10:03+02:00",
- "lastModificationDate": "2023-04-28T16:17:07+02:00",
- "mainLanguageCode": "eng-GB",
- "alwaysAvailable": true,
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/144/versions/6",
- "VersionInfo": {
- "id": 683,
- "versionNo": 6,
- "status": "PUBLISHED",
- "modificationDate": "2023-04-28T16:17:07+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-04-28T16:17:06+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": "Jay Kowalski"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/144"
}
}, - "Fields": {
- "field": [
- {
- "id": 698,
- "fieldDefinitionIdentifier": "first_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Jay"
}, - {
- "id": 699,
- "fieldDefinitionIdentifier": "last_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Kowalski"
}, - {
- "id": 700,
- "fieldDefinitionIdentifier": "phone_number",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "+48 123 123 456"
}, - {
- "id": 701,
- "fieldDefinitionIdentifier": "user",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_user",
- "fieldValue": {
- "hasStoredLogin": true,
- "contentId": 144,
- "login": "jay.kowalski",
- "email": "jay.kowalski@email.invalid",
- "passwordUpdatedAt": 1682691427,
- "enabled": false,
- "maxLogin": 5,
- "plainPassword": null
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/144/versions/6/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/user/default_profile_image/initials.svg?initials=JK#profile_image",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}, - "login": "jay.kowalski",
- "email": "jay.kowalski@email.invalid",
- "enabled": false,
- "UserGroups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/users/144/groups"
}, - "Roles": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/users/144/roles"
}
}, - "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/15",
- "identifier": "Company Buyer",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/15/policies"
}
}
}
}Updates a company member. PATCH or POST with header X-HTTP-Method-Override PATCH.
| companyId required | string |
| memberId required | string |
| X-CSRF-Token required | string Only needed for session's checking. The {csrfToken} needed on all unsafe HTTP methods with session. |
| If-Match required | string ETag |
The company input schema encoded in XML or JSON.
required | object (MemberUpdate) This class is used to update a member. |
{- "MemberUpdate": {
- "login": "jay.kowalski",
- "email": "jay.kowalski@email.invalid",
- "password": "Ibexa123#",
- "maxLogin": 5,
- "enabled": false,
- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/15"
}, - "fields": {
- "field": [
- {
- "fieldDefinitionIdentifier": "first_name",
- "fieldValue": "Jay"
}, - {
- "fieldDefinitionIdentifier": "last_name",
- "fieldValue": "Kowalski"
}, - {
- "fieldDefinitionIdentifier": "phone_number",
- "fieldValue": "+48 123 123 456"
}
]
}
}
}{- "Member": {
- "_media-type": "application/vnd.ibexa.api.Member+json",
- "_href": "/api/ibexa/v2/corporate/companies/139/members/144",
- "id": 144,
- "name": "Jay Kowalski",
- "Company": {
- "_media-type": "application/vnd.ibexa.api.Company+json",
- "id": 139,
- "name": "Ibexa Sp. z o. o.",
- "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/139",
- "_remoteId": "b16d06d4c5ba7c37b26fa167b551dfc2",
- "_id": 139,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/48"
}, - "Name": "Ibexa Sp. z o. o.",
- "TranslatedName": "Ibexa Sp. z o. o.",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/139/versions"
}, - "CurrentVersion": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/139/currentversion",
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/139/versions/6",
- "VersionInfo": {
- "id": 677,
- "versionNo": 6,
- "status": "PUBLISHED",
- "modificationDate": "2023-04-28T16:10:13+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-04-28T16:10:13+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": "Ibexa Sp. z o. o."
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/139"
}
}, - "Fields": {
- "field": [
- {
- "id": 673,
- "fieldDefinitionIdentifier": "active",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_boolean",
- "fieldValue": true
}, - {
- "id": 674,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Ibexa Sp. z o. o."
}, - {
- "id": 675,
- "fieldDefinitionIdentifier": "vat",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "123 456 789"
}, - {
- "id": 676,
- "fieldDefinitionIdentifier": "website",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
}, - {
- "id": 677,
- "fieldDefinitionIdentifier": "customer_group",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_customer_group",
- "fieldValue": {
- "customer_group_id": 1
}
}, - {
- "id": 678,
- "fieldDefinitionIdentifier": "sales_rep",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 14,
- "destinationContentHref": "/api/ibexa/v2/content/objects/14"
}
}, - {
- "id": 679,
- "fieldDefinitionIdentifier": "contact",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 144,
- "destinationContentHref": "/api/ibexa/v2/content/objects/144"
}
}, - {
- "id": 680,
- "fieldDefinitionIdentifier": "default_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 142,
- "destinationContentHref": "/api/ibexa/v2/content/objects/142"
}
}, - {
- "id": 681,
- "fieldDefinitionIdentifier": "billing_address",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_address",
- "fieldValue": {
- "name": "HQ",
- "country": "PL",
- "fields": {
- "region": "Silesia",
- "locality": "Katowice",
- "street": "Gliwicka 6/5",
- "postal_code": "40-079",
- "email": "company@email.invalid",
- "phone_number": "+48 000 000 000"
}
}
}, - {
- "id": 683,
- "fieldDefinitionIdentifier": "members",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 140,
- "destinationContentHref": "/api/ibexa/v2/content/objects/140"
}
}, - {
- "id": 682,
- "fieldDefinitionIdentifier": "address_book",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_object_relation",
- "fieldValue": {
- "destinationContentId": 141,
- "destinationContentHref": "/api/ibexa/v2/content/objects/141"
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/139/versions/6/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/10"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/140"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/139/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2023-04-28T16:10:13+02:00",
- "publishedDate": "2023-04-28T15:44:55+02:00",
- "mainLanguageCode": "eng-GB",
- "currentVersionNo": 6,
- "alwaysAvailable": true,
- "isHidden": false,
- "status": "PUBLISHED",
- "ObjectStates": {
- "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json",
- "_href": "/api/ibexa/v2/content/objects/139/objectstates"
}
}, - "billingAddress": {
- "name": "HQ",
- "country": "PL",
- "fields": {
- "region": "Silesia",
- "locality": "Katowice",
- "street": "Gliwicka 6/5",
- "postal_code": "40-079",
- "email": "company@email.invalid",
- "phone_number": "+48 000 000 000"
}
}, - "contactId": 144,
- "salesRepresentativeId": 14,
- "defaultAddressId": 142,
- "addressBookId": 141,
- "membersId": 140,
- "MemberList": {
- "_media-type": "application/vnd.ibexa.api.MemberList+json",
- "_href": "/api/ibexa/v2/corporate/companies/139/members"
}, - "Location": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/140"
}, - "locationPath": "/1/65/140/",
- "isActive": true
}, - "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/144",
- "_id": 144,
- "_remoteId": "1b3938c16adfa29996f3afff0b4a0032",
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/47"
}, - "name": "Jay Kowalski",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/144/versions"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/10"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/65/140/141/145"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/144/locations"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json",
- "_href": "/api/ibexa/v2/user/users/144/groups"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "publishDate": "2023-04-28T16:10:03+02:00",
- "lastModificationDate": "2023-04-28T16:17:07+02:00",
- "mainLanguageCode": "eng-GB",
- "alwaysAvailable": true,
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/144/versions/6",
- "VersionInfo": {
- "id": 683,
- "versionNo": 6,
- "status": "PUBLISHED",
- "modificationDate": "2023-04-28T16:17:07+02:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-04-28T16:17:06+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": "Jay Kowalski"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/144"
}
}, - "Fields": {
- "field": [
- {
- "id": 698,
- "fieldDefinitionIdentifier": "first_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Jay"
}, - {
- "id": 699,
- "fieldDefinitionIdentifier": "last_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Kowalski"
}, - {
- "id": 700,
- "fieldDefinitionIdentifier": "phone_number",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "+48 123 123 456"
}, - {
- "id": 701,
- "fieldDefinitionIdentifier": "user",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_user",
- "fieldValue": {
- "hasStoredLogin": true,
- "contentId": 144,
- "login": "jay.kowalski",
- "email": "jay.kowalski@email.invalid",
- "passwordUpdatedAt": 1682691427,
- "enabled": false,
- "maxLogin": 5,
- "plainPassword": null
}
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/144/versions/6/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/user/default_profile_image/initials.svg?initials=JK#profile_image",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}, - "login": "jay.kowalski",
- "email": "jay.kowalski@email.invalid",
- "enabled": false,
- "UserGroups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/users/144/groups"
}, - "Roles": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/users/144/roles"
}
}, - "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/15",
- "identifier": "Company Buyer",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/15/policies"
}
}
}
}Returns paginated list of available sales representatives.
{- "SalesRepresentativesList": {
- "_media-type": "application/vnd.ibexa.api.SalesRepresentativesList+json",
- "users": [
- {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/75",
- "_id": 75,
- "_remoteId": "f262e2fa12ae105b78a1b654e87a0874",
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/4"
}, - "name": "John Black",
- "Versions": {
- "_media-type": "application/vnd.ibexa.api.VersionList+json",
- "_href": "/api/ibexa/v2/content/objects/75/versions"
}, - "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/10"
}, - "MainLocation": {
- "_media-type": "application/vnd.ibexa.api.Location+json",
- "_href": "/api/ibexa/v2/content/locations/1/5/64/76"
}, - "Locations": {
- "_media-type": "application/vnd.ibexa.api.LocationList+json",
- "_href": "/api/ibexa/v2/content/objects/75/locations"
}, - "Groups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json",
- "_href": "/api/ibexa/v2/user/users/75/groups"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "publishDate": "2023-06-20T07:33:17+00:00",
- "lastModificationDate": "2023-06-20T07:33:17+00:00",
- "mainLanguageCode": "eng-GB",
- "alwaysAvailable": true,
- "Version": {
- "_media-type": "application/vnd.ibexa.api.Version+json",
- "_href": "/api/ibexa/v2/content/objects/75/versions/1",
- "VersionInfo": {
- "id": 536,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2023-06-20T07:33:17+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-06-20T07:33:17+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": "John Black"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/75"
}
}, - "Fields": {
- "field": [
- {
- "id": 339,
- "fieldDefinitionIdentifier": "first_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "John"
}, - {
- "id": 340,
- "fieldDefinitionIdentifier": "last_name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Black"
}, - {
- "id": 341,
- "fieldDefinitionIdentifier": "user_account",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_user",
- "fieldValue": {
- "hasStoredLogin": true,
- "contentId": 75,
- "login": "John Black",
- "email": "j.black@ibexa.co",
- "passwordUpdatedAt": 1687246397,
- "enabled": true,
- "maxLogin": 0,
- "plainPassword": null
}
}, - {
- "id": 342,
- "fieldDefinitionIdentifier": "signature",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_text",
- "fieldValue": null
}, - {
- "id": 343,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image",
- "fieldValue": null
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/75/versions/1/relations",
- "Relation": [ ]
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/user/default_profile_image/initials.svg?initials=JB#profile_image",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}
}, - "login": "John Black",
- "email": "j.black@ibexa.co",
- "enabled": true,
- "UserGroups": {
- "_media-type": "application/vnd.ibexa.api.UserGroupList+json",
- "_href": "/api/ibexa/v2/user/users/75/groups"
}, - "Roles": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/users/75/roles"
}
}
]
}
}Lists last activity log groups and their entries.
{- "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": [ ]
}
]
}
]
}
}Creates Cart from payload.
| X-CSRF-Token required | string The CSRF token. |
The CartCreate schema encoded in XML or JSON format.
required | object (CartCreate) This class represents a new Cart to create |
{- "CartCreate": {
- "name": "Default",
- "currencyCode": "EUR",
- "context": {
- "foo": "bar"
}
}
}{- "Cart": {
- "_media-type": "application/vnd.ibexa.api.Cart+json",
- "id": 12,
- "identifier": "fafccc4b-cce1-40d7-8d23-29ad41638581",
- "name": "Default",
- "createdAt": "2023-10-12T10:02:51+00:00",
- "updatedAt": "2023-10-12T10:02:51+00:00",
- "owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": true
}, - "entries": [ ]
}
}Executes a query and returns a View including the results.
| X-CSRF-Token required | string The CSRF token. |
The CartViewInput schema is posted in XML or JSON format.
required | object (CartViewInput) This class represents a cart view input. |
{- "CartViewInput": {
- "identifier": "loadUserCarts",
- "CartQuery": {
- "offset": 0,
- "limit": 10,
- "ownerId": 123
}
}
}{- "CartView": {
- "identifier": "string",
- "Result": {
- "count": 0,
- "Result": { }
}
}
}{- "Cart": {
- "id": 0,
- "identifier": "string",
- "owner": {
- "_media-type": "string",
- "_href": "string"
}, - "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "entries": [
- {
- "identifier": "string",
- "id": 0,
- "names": [
- { }
], - "quantity": 0,
- "Price": {
- "_media-type": "string",
- "_href": "string",
- "amount": "string",
- "base_amount": "string",
- "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "money": "string",
- "base_money": "string"
}
}
]
}
}Updates identified Cart's metadata from payload.
| identifier required | string |
| X-CSRF-Token required | string The CSRF token. |
The CartMetadataUpdate schema encoded in XML or JSON format.
required | object (CartMetadataUpdate) This class represents the update of cart metadata. |
{- "CartMetadataUpdate": {
- "identifier": "string",
- "defaultLanguageCode": "string",
- "names": [
- {
- "_languageCode": "string",
- "#text": "string"
}
], - "descriptions": [
- {
- "_languageCode": "string",
- "#text": "string"
}
]
}
}{- "Cart": {
- "id": 0,
- "identifier": "string",
- "owner": {
- "_media-type": "string",
- "_href": "string"
}, - "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "entries": [
- {
- "identifier": "string",
- "id": 0,
- "names": [
- { }
], - "quantity": 0,
- "Price": {
- "_media-type": "string",
- "_href": "string",
- "amount": "string",
- "base_amount": "string",
- "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "money": "string",
- "base_money": "string"
}
}
]
}
}Adds an entry to the cart referenced by its identifier
| identifier required | string |
| X-CSRF-Token required | string The CSRF token. |
The CartEntryAdd schema encoded in XML or JSON format.
required | object (CartEntryAdd) This class represents a cart entry |
{- "CartEntryAdd": {
- "quantity": 1,
- "Product": {
- "code": "test"
}, - "context": {
- "foo": "bar"
}
}
}{- "Cart": {
- "id": 0,
- "identifier": "string",
- "owner": {
- "_media-type": "string",
- "_href": "string"
}, - "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "entries": [
- {
- "identifier": "string",
- "id": 0,
- "names": [
- { }
], - "quantity": 0,
- "Price": {
- "_media-type": "string",
- "_href": "string",
- "amount": "string",
- "base_amount": "string",
- "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "money": "string",
- "base_money": "string"
}
}
]
}
}Removes the given entry from the given Cart.
| identifier required | string |
| entryId required | string |
| X-CSRF-Token required | string The CSRF token. |
{- "Cart": {
- "id": 0,
- "identifier": "string",
- "owner": {
- "_media-type": "string",
- "_href": "string"
}, - "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "entries": [
- {
- "identifier": "string",
- "id": 0,
- "names": [
- { }
], - "quantity": 0,
- "Price": {
- "_media-type": "string",
- "_href": "string",
- "amount": "string",
- "base_amount": "string",
- "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "money": "string",
- "base_money": "string"
}
}
]
}
}Updates the given entry from the given Cart.
| identifier required | string |
| entryId required | string |
| X-CSRF-Token required | string The CSRF token. |
The CartEntryUpdate schema encoded in XML or JSON format.
required | object (CartEntryUpdate) |
{- "CartEntryUpdate": {
- "quantity": 0,
- "context": { }
}
}{- "Cart": {
- "id": 0,
- "identifier": "string",
- "owner": {
- "_media-type": "string",
- "_href": "string"
}, - "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "entries": [
- {
- "identifier": "string",
- "id": 0,
- "names": [
- { }
], - "quantity": 0,
- "Price": {
- "_media-type": "string",
- "_href": "string",
- "amount": "string",
- "base_amount": "string",
- "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "money": "string",
- "base_money": "string"
}
}
]
}
}Moves selected entries from the given Cart to the default Shopping List (save for later). After moving, selected entries are removed from the cart.
| identifier required | string The Cart identifier |
| X-CSRF-Token required | string CSRF Token is needed to execute this unsafe request. |
The CartEntryIdentifiers schema encoded in XML or JSON format.
required | object (CartEntryIdentifiers) This class represents a list of cart entry identifiers |
{- "CartEntryIdentifiers": {
- "entries": [
- {
- "identifier": "entry-002"
}, - {
- "identifier": "entry-004"
}
]
}
}{- "ShoppingList": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "identifier": "string",
- "name": "string",
- "isDefault": true,
- "owner": {
- "_media-type": "string",
- "_href": "string"
}, - "entries": [
- {
- "identifier": "14d3030c-3b61-4070-b902-342f80e99364",
- "product": {
- "_href": "string",
- "_media-type": "string",
- "code": "string",
- "name": "string"
}, - "addedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}Moves selected entries from the given Cart to the specified Shopping List (save for later). After moving, selected entries are removed from the cart.
| identifier required | string The Cart identifier |
| shoppingListIdentifier required | string The Shopping List identifier |
| X-CSRF-Token required | string CSRF Token is needed to execute this unsafe request. |
The CartEntryIdentifiers schema encoded in XML or JSON format.
required | object (CartEntryIdentifiers) This class represents a list of cart entry identifiers |
{- "CartEntryIdentifiers": {
- "entries": [
- {
- "identifier": "string"
}
]
}
}{- "ShoppingList": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "identifier": "string",
- "name": "string",
- "isDefault": true,
- "owner": {
- "_media-type": "string",
- "_href": "string"
}, - "entries": [
- {
- "identifier": "14d3030c-3b61-4070-b902-342f80e99364",
- "product": {
- "_href": "string",
- "_media-type": "string",
- "code": "string",
- "name": "string"
}, - "addedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}Moves all entries from the given Cart to the default Shopping List (save for later). After moving, entries are removed from the cart.
| identifier required | string The Cart identifier |
| X-CSRF-Token required | string CSRF Token is needed to execute this unsafe request. |
{- "ShoppingList": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "identifier": "string",
- "name": "string",
- "isDefault": true,
- "owner": {
- "_media-type": "string",
- "_href": "string"
}, - "entries": [
- {
- "identifier": "14d3030c-3b61-4070-b902-342f80e99364",
- "product": {
- "_href": "string",
- "_media-type": "string",
- "code": "string",
- "name": "string"
}, - "addedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}Moves all entries from the given Cart to the specified Shopping List (save for later). After moving, entries are removed from the cart.
| identifier required | string The Cart identifier |
| shoppingListIdentifier required | string The Shopping List identifier |
| X-CSRF-Token required | string CSRF Token is needed to execute this unsafe request. |
{- "ShoppingList": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "identifier": "string",
- "name": "string",
- "isDefault": true,
- "owner": {
- "_media-type": "string",
- "_href": "string"
}, - "entries": [
- {
- "identifier": "14d3030c-3b61-4070-b902-342f80e99364",
- "product": {
- "_href": "string",
- "_media-type": "string",
- "code": "string",
- "name": "string"
}, - "addedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}Gets a summary of the given Cart.
| identifier required | string |
{- "CartSummary": {
- "_media-type": "application/vnd.ibexa.api.CartSummary+json",
- "_href": "/api/ibexa/v2/cart/fdfb2e95-b0b9-4f17-b0cc-08d4d2cfd8f1/summary",
- "id": 1,
- "identifier": "fdfb2e95-b0b9-4f17-b0cc-08d4d2cfd8f1",
- "name": "Updated",
- "createdAt": "2023-01-10T12:48:40+00:00",
- "updatedAt": "2023-01-10T12:49:10+00:00",
- "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "SummaryEntryCollection": {
- "_media-type": "application/vnd.ibexa.api.SummaryEntryCollection+json",
- "count": "1",
- "SummaryEntry": [
- {
- "_media-type": "application/vnd.ibexa.api.CartSummaryEntry+json",
- "identifier": "ddf3d7bf-ca17-4eff-8265-2d7e00877a91",
- "id": 1,
- "names": {
- "value": [
- {
- "_languageCode": "eng-GB",
- "#text": "Flipper Zero"
}
]
}, - "quantity": 2,
- "Price": {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "RestPrice": {
- "_media-type": "application/vnd.ibexa.api.RestPrice+json",
- "Price": {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "amount": "100",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": true
}
}, - "formatted": "€1.00"
}
}, - "PriceInclVat": {
- "_media-type": "application/vnd.ibexa.api.PriceInclVat+json",
- "RestPrice": {
- "_media-type": "application/vnd.ibexa.api.RestPrice+json",
- "Price": {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "amount": "12300",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": true
}
}, - "formatted": "€123.00"
}
}, - "SubtotalPrice": {
- "_media-type": "application/vnd.ibexa.api.SubtotalPrice+json",
- "RestPrice": {
- "_media-type": "application/vnd.ibexa.api.RestPrice+json",
- "Price": {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "amount": "20000",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": true
}
}, - "formatted": "€200.00"
}
}, - "SubtotalPriceInclVat": {
- "_media-type": "application/vnd.ibexa.api.SubtotalPriceInclVat+json",
- "RestPrice": {
- "_media-type": "application/vnd.ibexa.api.RestPrice+json",
- "Price": {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "amount": "24600",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": true
}
}, - "formatted": "€246.00"
}
}, - "VatCategory": {
- "_media-type": "application/vnd.ibexa.api.VatCategory+json",
- "identifier": "default",
- "region": "poland",
- "vatValue": 23
}, - "Product": {
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "0001",
- "name": "Flipper Zero",
- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "tool",
- "name": "Tool",
- "AttributeAssignmentList": [ ]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.Content+json",
- "_href": "/api/ibexa/v2/content/objects/67",
- "_remoteId": "3a12e8a3480143ce0159a55e152533b1",
- "_id": 67,
- "ContentType": {
- "_media-type": "application/vnd.ibexa.api.ContentType+json",
- "_href": "/api/ibexa/v2/content/types/50"
}, - "Name": "Flipper Zero",
- "TranslatedName": "Flipper Zero",
- "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/1",
- "VersionInfo": {
- "id": 527,
- "versionNo": 1,
- "status": "PUBLISHED",
- "modificationDate": "2023-01-10T12:44:41+00:00",
- "Creator": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "creationDate": "2023-01-10T12:44:41+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": "Flipper Zero"
}
]
}, - "Content": {
- "_media-type": "application/vnd.ibexa.api.ContentInfo+json",
- "_href": "/api/ibexa/v2/content/objects/67"
}
}, - "Fields": {
- "field": [
- {
- "id": 300,
- "fieldDefinitionIdentifier": "name",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_string",
- "fieldValue": "Flipper Zero"
}, - {
- "id": 301,
- "fieldDefinitionIdentifier": "product_specification",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_product_specification",
- "fieldValue": {
- "id": 1,
- "code": "0001",
- "attributes": [ ]
}
}, - {
- "id": 302,
- "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": 303,
- "fieldDefinitionIdentifier": "image",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_image_asset",
- "fieldValue": {
- "destinationContentId": null,
- "alternativeText": null,
- "source": null
}
}, - {
- "id": 304,
- "fieldDefinitionIdentifier": "category",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment",
- "fieldValue": {
- "taxonomy_entries": [
- 3
], - "taxonomy": "product_categories"
}
}, - {
- "id": 305,
- "fieldDefinitionIdentifier": "field_63bd5d67f1817",
- "languageCode": "eng-GB",
- "fieldTypeIdentifier": "ibexa_seo",
- "fieldValue": ""
}
]
}, - "Relations": {
- "_media-type": "application/vnd.ibexa.api.RelationList+json",
- "_href": "/api/ibexa/v2/content/objects/67/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/67/locations"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "lastModificationDate": "2023-01-10T12:44:41+00:00",
- "publishedDate": "2023-01-10T12:44:41+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"
}
}, - "Thumbnail": {
- "_media-type": "application/vnd.ibexa.api.Thumbnail+json",
- "resource": "/placeholder",
- "width": null,
- "height": null,
- "mimeType": "image/svg+xml"
}, - "created_at": 1673354681,
- "updated_at": 1673354681,
- "AttributesList": [ ],
- "Availability": {
- "_media-type": "application/vnd.ibexa.api.Availability+json",
- "is_available": true,
- "stock": 100,
- "is_infinite": false
}, - "Price": {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "amount": "100.00",
- "base_amount": "100.00",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": true
}, - "money": "10000",
- "base_money": "10000"
}
}
}
]
}, - "TotalPrice": {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "RestPrice": {
- "_media-type": "application/vnd.ibexa.api.RestPrice+json",
- "Price": {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "amount": "20000",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": true
}
}, - "formatted": "€200.00"
}
}, - "TotalPriceInclVat": {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "RestPrice": {
- "_media-type": "application/vnd.ibexa.api.RestPrice+json",
- "Price": {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "amount": "24600",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": true
}
}, - "formatted": "€246.00"
}
}, - "vatCategorySummary": [
- {
- "_media-type": "application/vnd.ibexa.api.VatCategorySummary+json",
- "VatCategory": {
- "_media-type": "application/vnd.ibexa.api.VatCategory+json",
- "identifier": "default",
- "region": "poland",
- "vatValue": 23
}, - "RestPrice": {
- "_media-type": "application/vnd.ibexa.api.RestPrice+json",
- "Price": {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "amount": "4600",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": true
}
}, - "formatted": "€46.00"
}
}
], - "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": true
}
}
}Returns a list of shopping lists owned by the current user.
| limit | integer Default: 25 The maximum number of shopping lists to return. Default is 25. |
| offset | integer Default: 0 The offset for pagination. Default is 0. |
| name | string Filter shopping lists by name (partial match). |
| createdFrom | string <date-time> Filter shopping lists created on or after this date (ISO 8601 format). |
| createdTo | string <date-time> Filter shopping lists created on or before this date (ISO 8601 format). |
| updatedFrom | string <date-time> Filter shopping lists updated on or after this date (ISO 8601 format). |
| updatedTo | string <date-time> Filter shopping lists updated on or before this date (ISO 8601 format). |
| isDefault | string Enum: "true" "false" Filter shopping lists by default flag. Use "true" for default lists only, "false" for non-default lists only. |
| ownerId | integer Filter shopping lists by owner user ID. |
| sort | string Enum: "name" "is_default" "created_at" "updated_at" Sort shopping lists by field. Available fields: name, is_default, created_at, updated_at. |
| order | string Default: "asc" Enum: "asc" "desc" Sort direction. Default is "asc". |
{- "ShoppingListCollection": {
- "totalCount": 2,
- "count": 2,
- "ShoppingList": [
- {
- "identifier": "550e8400-e29b-41d4-a716-446655440000",
- "name": "My Shopping List",
- "isDefault": true,
- "owner": {
- "_href": "/api/ibexa/v2/user/users/14",
- "_media-type": "application/vnd.ibexa.api.User+json"
}, - "entries": [
- {
- "identifier": "650e8400-e29b-41d4-a716-446655440001",
- "product": {
- "_href": "/api/ibexa/v2/product/catalog/products/PRODUCT-001",
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "PRODUCT-001",
- "name": "Sample Product"
}, - "addedAt": "2024-10-29T12:15:00+00:00"
}
], - "createdAt": "2024-10-29T12:00:00+00:00",
- "updatedAt": "2024-10-29T12:00:00+00:00"
}, - {
- "identifier": "660e8400-e29b-41d4-a716-446655440001",
- "name": "Weekend Shopping",
- "isDefault": false,
- "owner": {
- "_href": "/api/ibexa/v2/user/users/14",
- "_media-type": "application/vnd.ibexa.api.User+json"
}, - "entries": [ ],
- "createdAt": "2024-10-30T08:30:00+00:00",
- "updatedAt": "2024-10-30T08:30:00+00:00"
}
]
}
}Creates a new shopping list for the current user. The list will be owned by the authenticated user.
| X-CSRF-Token required | string CSRF Token is needed to execute this unsafe request. |
Shopping list to create
required | object (ShoppingListCreate) Creates a new shopping list. |
{- "ShoppingListCreate": {
- "name": "My Shopping List"
}
}{- "ShoppingList": {
- "identifier": "550e8400-e29b-41d4-a716-446655440000",
- "name": "My Shopping List",
- "isDefault": false,
- "owner": {
- "_href": "/api/ibexa/v2/user/users/14",
- "_media-type": "application/vnd.ibexa.api.User+json"
}, - "entries": [
- {
- "identifier": "650e8400-e29b-41d4-a716-446655440001",
- "product": {
- "_href": "/api/ibexa/v2/product/catalog/products/PRODUCT-001",
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "PRODUCT-001",
- "name": "Sample Product"
}, - "addedAt": "2024-10-29T12:15:00+00:00"
}
], - "createdAt": "2024-10-29T12:00:00+00:00",
- "updatedAt": "2024-10-29T12:00:00+00:00"
}
}Adds one or more product entries to the default shopping list. If the default shopping list does not exist, it will be created automatically.
| X-CSRF-Token required | string CSRF Token is needed to execute this unsafe request. |
Entries to add to the default shopping list
required | object (ShoppingListEntriesAdd) Adds one or more product entries to an existing shopping list. |
{- "ShoppingListEntriesAdd": {
- "entries": [
- {
- "productCode": "PRODUCT-001"
}, - {
- "productCode": "PRODUCT-002"
}
]
}
}{- "ShoppingList": {
- "identifier": "550e8400-e29b-41d4-a716-446655440000",
- "name": "My Shopping List",
- "isDefault": false,
- "owner": {
- "_href": "/api/ibexa/v2/user/users/14",
- "_media-type": "application/vnd.ibexa.api.User+json"
}, - "entries": [
- {
- "identifier": "650e8400-e29b-41d4-a716-446655440001",
- "product": {
- "_href": "/api/ibexa/v2/product/catalog/products/PRODUCT-001",
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "PRODUCT-001",
- "name": "Sample Product"
}, - "addedAt": "2024-10-29T12:15:00+00:00"
}
], - "createdAt": "2024-10-29T12:00:00+00:00",
- "updatedAt": "2024-10-29T12:00:00+00:00"
}
}Gets a shopping list by its identifier.
| identifier required | string The shopping list identifier (UUID) |
{- "ShoppingList": {
- "identifier": "550e8400-e29b-41d4-a716-446655440000",
- "name": "My Shopping List",
- "isDefault": false,
- "owner": {
- "_href": "/api/ibexa/v2/user/users/14",
- "_media-type": "application/vnd.ibexa.api.User+json"
}, - "entries": [
- {
- "identifier": "650e8400-e29b-41d4-a716-446655440001",
- "product": {
- "_href": "/api/ibexa/v2/product/catalog/products/PRODUCT-001",
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "PRODUCT-001",
- "name": "Sample Product"
}, - "addedAt": "2024-10-29T12:15:00+00:00"
}, - {
- "identifier": "650e8400-e29b-41d4-a716-446655440002",
- "product": {
- "_href": "/api/ibexa/v2/product/catalog/products/PRODUCT-002",
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "PRODUCT-002",
- "name": "Another Product"
}, - "addedAt": "2024-10-29T12:30:00+00:00"
}
], - "createdAt": "2024-10-29T12:00:00+00:00",
- "updatedAt": "2024-10-29T12:00:00+00:00"
}
}Deletes a shopping list by its identifier. The default shopping list cannot be deleted.
| identifier required | string The shopping list identifier (UUID). |
| X-CSRF-Token required | string CSRF Token is needed to execute this unsafe request. |
Updates an existing shopping list. Only the name can be updated.
| identifier required | string The shopping list identifier (UUID). |
| X-CSRF-Token required | string CSRF Token is needed to execute this unsafe request. |
Shopping list metadata to update
required | object (ShoppingListUpdate) Updates an existing shopping list. |
{- "ShoppingListUpdate": {
- "name": "Updated Shopping List Name"
}
}{- "ShoppingList": {
- "identifier": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Updated Shopping List Name",
- "isDefault": false,
- "owner": {
- "_href": "/api/ibexa/v2/user/users/14",
- "_media-type": "application/vnd.ibexa.api.User+json"
}, - "entries": [
- {
- "identifier": "650e8400-e29b-41d4-a716-446655440001",
- "product": {
- "_href": "/api/ibexa/v2/product/catalog/products/PRODUCT-001",
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "PRODUCT-001",
- "name": "Sample Product"
}, - "addedAt": "2024-10-29T12:15:00+00:00"
}
], - "createdAt": "2024-10-29T12:00:00+00:00",
- "updatedAt": "2024-10-29T12:30:00+00:00"
}
}Adds selected entries from the given Shopping List to the default Cart (creates a new Cart if not found).
| identifier required | string The Shopping List identifier |
| X-CSRF-Token required | string CSRF Token is needed to execute this unsafe request. |
The ShoppingListEntryIdentifiers schema encoded in XML or JSON format.
required | object (ShoppingListEntryIdentifiers) This class represents a list of shopping list entry identifiers to add to cart |
{- "ShoppingListEntryIdentifiers": {
- "entries": [
- {
- "identifier": "entry-001"
}, - {
- "identifier": "entry-003"
}
]
}
}{- "Cart": {
- "id": 0,
- "identifier": "string",
- "owner": {
- "_media-type": "string",
- "_href": "string"
}, - "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "entries": [
- {
- "identifier": "string",
- "id": 0,
- "names": [
- { }
], - "quantity": 0,
- "Price": {
- "_media-type": "string",
- "_href": "string",
- "amount": "string",
- "base_amount": "string",
- "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "money": "string",
- "base_money": "string"
}
}
]
}
}Adds selected entries from the given Shopping List to the specified Cart.
| identifier required | string The Shopping List identifier |
| cartIdentifier required | string The Cart identifier |
| X-CSRF-Token required | string CSRF Token is needed to execute this unsafe request. |
The ShoppingListEntryIdentifiers schema encoded in XML or JSON format.
required | object (ShoppingListEntryIdentifiers) This class represents a list of shopping list entry identifiers to add to cart |
{- "ShoppingListEntryIdentifiers": {
- "entries": [
- {
- "identifier": "entry-001"
}, - {
- "identifier": "entry-003"
}
]
}
}{- "Cart": {
- "id": 0,
- "identifier": "string",
- "owner": {
- "_media-type": "string",
- "_href": "string"
}, - "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "entries": [
- {
- "identifier": "string",
- "id": 0,
- "names": [
- { }
], - "quantity": 0,
- "Price": {
- "_media-type": "string",
- "_href": "string",
- "amount": "string",
- "base_amount": "string",
- "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "money": "string",
- "base_money": "string"
}
}
]
}
}Adds all entries from the given Shopping List to the default Cart (creates a new Cart if not found).
| identifier required | string The Shopping List identifier |
| X-CSRF-Token required | string CSRF Token is needed to execute this unsafe request. |
{- "Cart": {
- "id": 0,
- "identifier": "string",
- "owner": {
- "_media-type": "string",
- "_href": "string"
}, - "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "entries": [
- {
- "identifier": "string",
- "id": 0,
- "names": [
- { }
], - "quantity": 0,
- "Price": {
- "_media-type": "string",
- "_href": "string",
- "amount": "string",
- "base_amount": "string",
- "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "money": "string",
- "base_money": "string"
}
}
]
}
}Adds all entries from the given Shopping List to the specified Cart.
| identifier required | string The Shopping List identifier |
| cartIdentifier required | string The Cart identifier |
| X-CSRF-Token required | string CSRF Token is needed to execute this unsafe request. |
{- "Cart": {
- "id": 0,
- "identifier": "string",
- "owner": {
- "_media-type": "string",
- "_href": "string"
}, - "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "entries": [
- {
- "identifier": "string",
- "id": 0,
- "names": [
- { }
], - "quantity": 0,
- "Price": {
- "_media-type": "string",
- "_href": "string",
- "amount": "string",
- "base_amount": "string",
- "Currency": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "code": "string",
- "subunits": 0,
- "enabled": true
}, - "money": "string",
- "base_money": "string"
}
}
]
}
}Removes all entries from a shopping list while keeping the list itself.
| identifier required | string The unique identifier (UUID) of the shopping list. |
| X-CSRF-Token required | string CSRF Token is needed to execute this unsafe request. |
{- "ShoppingList": {
- "identifier": "550e8400-e29b-41d4-a716-446655440000",
- "name": "My Shopping List",
- "isDefault": false,
- "owner": {
- "_href": "/api/ibexa/v2/user/users/14",
- "_media-type": "application/vnd.ibexa.api.User+json"
}, - "entries": [ ],
- "createdAt": "2024-10-29T12:00:00+00:00",
- "updatedAt": "2024-10-29T12:15:00+00:00"
}
}Adds one or more product entries to an existing shopping list.
| identifier required | string The unique identifier (UUID) of the shopping list. |
| X-CSRF-Token required | string CSRF Token is needed to execute this unsafe request. |
Entries to add to the shopping list
required | object (ShoppingListEntriesAdd) Adds one or more product entries to an existing shopping list. |
{- "ShoppingListEntriesAdd": {
- "entries": [
- {
- "productCode": "PRODUCT-001"
}, - {
- "productCode": "PRODUCT-002"
}
]
}
}{- "ShoppingList": {
- "identifier": "550e8400-e29b-41d4-a716-446655440000",
- "name": "My Shopping List",
- "isDefault": false,
- "owner": {
- "_href": "/api/ibexa/v2/user/users/14",
- "_media-type": "application/vnd.ibexa.api.User+json"
}, - "entries": [
- {
- "identifier": "650e8400-e29b-41d4-a716-446655440001",
- "product": {
- "_href": "/api/ibexa/v2/product/catalog/products/PRODUCT-001",
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "PRODUCT-001",
- "name": "Sample Product"
}, - "addedAt": "2024-10-29T12:15:00+00:00"
}
], - "createdAt": "2024-10-29T12:00:00+00:00",
- "updatedAt": "2024-10-29T12:00:00+00:00"
}
}Removes one or more product entries from an existing shopping list by their identifiers.
| identifier required | string The unique identifier (UUID) of the shopping list. |
| X-CSRF-Token required | string CSRF Token is needed to execute this unsafe request. |
Entries to remove from shopping list
required | object (ShoppingListEntriesRemove) Removes one or more entries from a shopping list by their identifiers. |
{- "ShoppingListEntriesRemove": {
- "identifiers": [
- "650e8400-e29b-41d4-a716-446655440001",
- "650e8400-e29b-41d4-a716-446655440002"
]
}
}{- "ShoppingList": {
- "identifier": "550e8400-e29b-41d4-a716-446655440000",
- "name": "My Shopping List",
- "isDefault": false,
- "owner": {
- "_href": "/api/ibexa/v2/user/users/14",
- "_media-type": "application/vnd.ibexa.api.User+json"
}, - "entries": [
- {
- "identifier": "650e8400-e29b-41d4-a716-446655440001",
- "product": {
- "_href": "/api/ibexa/v2/product/catalog/products/PRODUCT-001",
- "_media-type": "application/vnd.ibexa.api.Product+json",
- "code": "PRODUCT-001",
- "name": "Sample Product"
}, - "addedAt": "2024-10-29T12:15:00+00:00"
}
], - "createdAt": "2024-10-29T12:00:00+00:00",
- "updatedAt": "2024-10-29T12:00:00+00:00"
}
}Loads an order by its identifier (UUID).
| identifier required | string |
{- "Order": {
- "_media-type": "application/vnd.ibexa.api.Order+json",
- "id": 2,
- "identifier": "2d9c73cd-ea10-4459-b20e-96710c8d3898",
- "created": {
- "date": "2023-04-18 09:06:02.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "modified": {
- "date": "2023-04-18 09:06:02.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "status": "pending",
- "OrderUser": {
- "_media-type": "application/vnd.ibexa.api.OrderUser+json",
- "id": 14,
- "name": "Administrator",
- "email": "aa@aa.aa"
}, - "OrderCurrency": {
- "_media-type": "application/vnd.ibexa.api.OrderCurrency+json",
- "id": 1,
- "code": "EUR"
}, - "OrderValue": {
- "_media-type": "application/vnd.ibexa.api.OrderValue+json",
- "vat": {
- "amount": "10",
- "currency": "EUR"
}, - "total_gross": {
- "amount": "10",
- "currency": "EUR"
}, - "total_net": {
- "amount": "10",
- "currency": "EUR"
}
}, - "OrderCompany": {
- "_media-type": "application/vnd.ibexa.api.OrderCompany+json",
- "id": 68,
- "name": "Apple"
}, - "OrderItemsList": [
- {
- "_media-type": "application/vnd.ibexa.api.OrderItem+json",
- "quantity": 10,
- "OrderItemValue": {
- "_media-type": "application/vnd.ibexa.api.OrderItemValue+json",
- "unit_price_gross": {
- "amount": "110",
- "currency": "EUR"
}, - "unit_price_net": {
- "amount": "100",
- "currency": "EUR"
}, - "vat_rate": "10.00",
- "subtotal_price_gross": {
- "amount": "1100",
- "currency": "EUR"
}, - "subtotal_price_net": {
- "amount": "1000",
- "currency": "EUR"
}
}, - "OrderItemProduct": {
- "_media-type": "application/vnd.ibexa.api.OrderItemProduct+json",
- "id": 1,
- "code": "test",
- "name": "Test"
}, - "context": {
- "foo": "bar",
- "baz": true
}
}
], - "context": {
- "foo": "bar",
- "baz": 123
}
}
}Loads an order by its numerical ID.
| id required | string |
{- "Order": {
- "_media-type": "application/vnd.ibexa.api.Order+json",
- "id": 1,
- "identifier": "02ce9f94-e36b-4acf-92f7-eb93cda6af71",
- "created": {
- "date": "2023-10-18 06:24:00.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "modified": {
- "date": "2023-10-18 06:24:00.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "status": "pending",
- "source": "local_shop",
- "OrderUser": {
- "_media-type": "application/vnd.ibexa.api.OrderUser+json",
- "id": null,
- "name": "Anonymous User",
- "email": "test@test.com"
}, - "OrderCurrency": {
- "_media-type": "application/vnd.ibexa.api.OrderCurrency+json",
- "id": 2,
- "code": "EUR"
}, - "OrderValue": {
- "_media-type": "application/vnd.ibexa.api.OrderValue+json",
- "vat": {
- "amount": "96",
- "currency": "EUR"
}, - "total_gross": {
- "amount": "1512",
- "currency": "EUR"
}, - "total_net": {
- "amount": "1200",
- "currency": "EUR"
}, - "shipping_cost": {
- "amount": "216",
- "currency": "EUR"
}
}, - "OrderItemsList": [
- {
- "_media-type": "application/vnd.ibexa.api.OrderItem+json",
- "quantity": 1,
- "OrderItemValue": {
- "_media-type": "application/vnd.ibexa.api.OrderItemValue+json",
- "unit_price_gross": {
- "amount": "1296",
- "currency": "EUR"
}, - "unit_price_net": {
- "amount": "1200",
- "currency": "EUR"
}, - "vat_rate": "8.00",
- "subtotal_price_gross": {
- "amount": "1296",
- "currency": "EUR"
}, - "subtotal_price_net": {
- "amount": "1200",
- "currency": "EUR"
}
}, - "OrderItemProduct": {
- "_media-type": "application/vnd.ibexa.api.OrderItemProduct+json",
- "id": 83,
- "code": "test123",
- "name": "test123"
}
}
], - "context": {
- "shipping_address": {
- "name": null,
- "country": "PL",
- "fields": {
- "tax_id": "16",
- "region": "Polska",
- "locality": "Kraków",
- "street": "Krupnicza 16",
- "postal_code": "31-123",
- "email": "test@test.com",
- "phone_number": "123123123"
}
}, - "billing_address": {
- "name": null,
- "country": "PL",
- "fields": {
- "tax_id": "16",
- "region": "Polska",
- "locality": "Kraków",
- "street": "Krupnicza 16",
- "postal_code": "31-123",
- "email": "test@test.com",
- "phone_number": "123123123"
}
}, - "entries_count": 1,
- "same_for_shipping": true,
- "select_shipping": {
- "shipping_method": {
- "identifier": "test",
- "name": "test"
}, - "payment_method": {
- "identifier": "test",
- "name": "test",
- "type": "online"
}
}, - "summary": [ ],
- "shipping_cost_incl_vat": {
- "amount": "216",
- "currency": "EUR"
}
}
}
}Updates an order.
| id required | string |
| X-CSRF-Token required | string The CSRF token. |
The OrderUpdate schema encoded in XML or JSON format.
required | object (OrderUpdate) This class is used to update order. |
{- "OrderUpdate": {
- "status": "cancelled",
- "transition": "cancel"
}
}{- "Order": {
- "_media-type": "application/vnd.ibexa.api.Order+json",
- "id": 2,
- "identifier": "2d9c73cd-ea10-4459-b20e-96710c8d3898",
- "created": {
- "date": "2023-04-18 09:06:02.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "modified": {
- "date": "2023-04-18 09:06:02.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "status": "pending",
- "OrderUser": {
- "_media-type": "application/vnd.ibexa.api.OrderUser+json",
- "id": 14,
- "name": "Administrator",
- "email": "aa@aa.aa"
}, - "OrderCurrency": {
- "_media-type": "application/vnd.ibexa.api.OrderCurrency+json",
- "id": 1,
- "code": "EUR"
}, - "OrderValue": {
- "_media-type": "application/vnd.ibexa.api.OrderValue+json",
- "vat": {
- "amount": "10",
- "currency": "EUR"
}, - "total_gross": {
- "amount": "10",
- "currency": "EUR"
}, - "total_net": {
- "amount": "10",
- "currency": "EUR"
}
}, - "OrderCompany": {
- "_media-type": "application/vnd.ibexa.api.OrderCompany+json",
- "id": 68,
- "name": "Apple"
}, - "OrderItemsList": [
- {
- "_media-type": "application/vnd.ibexa.api.OrderItem+json",
- "quantity": 10,
- "OrderItemValue": {
- "_media-type": "application/vnd.ibexa.api.OrderItemValue+json",
- "unit_price_gross": {
- "amount": "110",
- "currency": "EUR"
}, - "unit_price_net": {
- "amount": "100",
- "currency": "EUR"
}, - "vat_rate": "10.00",
- "subtotal_price_gross": {
- "amount": "1100",
- "currency": "EUR"
}, - "subtotal_price_net": {
- "amount": "1000",
- "currency": "EUR"
}
}, - "OrderItemProduct": {
- "_media-type": "application/vnd.ibexa.api.OrderItemProduct+json",
- "id": 1,
- "code": "test",
- "name": "Test"
}, - "context": {
- "foo": "bar",
- "baz": true
}
}
], - "context": {
- "foo": "bar",
- "baz": 123
}
}
}{- "OrderList": {
- "_media-type": "application/vnd.ibexa.api.OrderList+json",
- "Order": [
- {
- "_media-type": "application/vnd.ibexa.api.Order+json",
- "id": 2,
- "identifier": "2d9c73cd-ea10-4459-b20e-96710c8d3898",
- "created": {
- "date": "2023-04-18 09:06:02.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "modified": {
- "date": "2023-04-18 09:06:02.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "status": "pending",
- "OrderUser": {
- "_media-type": "application/vnd.ibexa.api.OrderUser+json",
- "id": 14,
- "name": "Administrator",
- "email": "aa@aa.aa"
}, - "OrderCurrency": {
- "_media-type": "application/vnd.ibexa.api.OrderCurrency+json",
- "id": 1,
- "code": "EUR"
}, - "OrderValue": {
- "_media-type": "application/vnd.ibexa.api.OrderValue+json",
- "vat": {
- "amount": "10",
- "currency": "EUR"
}, - "total_gross": {
- "amount": "10",
- "currency": "EUR"
}, - "total_net": {
- "amount": "10",
- "currency": "EUR"
}
}, - "OrderCompany": {
- "_media-type": "application/vnd.ibexa.api.OrderCompany+json",
- "id": 68,
- "name": "Apple"
}, - "OrderItemsList": [
- {
- "_media-type": "application/vnd.ibexa.api.OrderItem+json",
- "quantity": 10,
- "OrderItemValue": {
- "_media-type": "application/vnd.ibexa.api.OrderItemValue+json",
- "unit_price_gross": {
- "amount": "110",
- "currency": "EUR"
}, - "unit_price_net": {
- "amount": "100",
- "currency": "EUR"
}, - "vat_rate": "10.00",
- "subtotal_price_gross": {
- "amount": "1100",
- "currency": "EUR"
}, - "subtotal_price_net": {
- "amount": "1000",
- "currency": "EUR"
}
}, - "OrderItemProduct": {
- "_media-type": "application/vnd.ibexa.api.OrderItemProduct+json",
- "id": 1,
- "code": "test",
- "name": "Test"
}, - "context": {
- "foo": "bar",
- "baz": true
}
}
], - "context": {
- "foo": "bar",
- "baz": 123
}
}, - {
- "_media-type": "application/vnd.ibexa.api.Order+json",
- "id": 3,
- "identifier": "79b20ac4-fe23-4566-a9c2-b81966431026",
- "created": {
- "date": "2023-04-18 09:44:34.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "modified": {
- "date": "2023-04-18 09:44:34.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "status": "pending",
- "OrderUser": {
- "_media-type": "application/vnd.ibexa.api.OrderUser+json",
- "id": 14,
- "name": "Administrator",
- "email": "aa@aa.aa"
}, - "OrderCurrency": {
- "_media-type": "application/vnd.ibexa.api.OrderCurrency+json",
- "id": 1,
- "code": "EUR"
}, - "OrderValue": {
- "_media-type": "application/vnd.ibexa.api.OrderValue+json",
- "vat": {
- "amount": "10",
- "currency": "EUR"
}, - "total_gross": {
- "amount": "10",
- "currency": "EUR"
}, - "total_net": {
- "amount": "10",
- "currency": "EUR"
}
}, - "OrderCompany": {
- "_media-type": "application/vnd.ibexa.api.OrderCompany+json",
- "id": 68,
- "name": "Apple"
}, - "OrderItemsList": [
- {
- "_media-type": "application/vnd.ibexa.api.OrderItem+json",
- "quantity": 10,
- "OrderItemValue": {
- "_media-type": "application/vnd.ibexa.api.OrderItemValue+json",
- "unit_price_gross": {
- "amount": "110",
- "currency": "EUR"
}, - "unit_price_net": {
- "amount": "100",
- "currency": "EUR"
}, - "vat_rate": "10.00",
- "subtotal_price_gross": {
- "amount": "1100",
- "currency": "EUR"
}, - "subtotal_price_net": {
- "amount": "1000",
- "currency": "EUR"
}
}, - "OrderItemProduct": {
- "_media-type": "application/vnd.ibexa.api.OrderItemProduct+json",
- "id": 1,
- "code": "test",
- "name": "Test"
}, - "context": {
- "foo": "bar",
- "baz": true
}
}
], - "context": {
- "foo": "bar",
- "baz": 123
}
}
]
}
}Creates a new order.
| X-CSRF-Token required | string The CSRF token. |
The Order schema encoded in XML or JSON format.
required | object (OrderCreate) This class is used to create order. |
{- "OrderCreate": {
- "OrderUser": {
- "id": 14,
- "name": "Administrator",
- "email": "test@ibexa.co"
}, - "OrderCurrency": {
- "id": 1,
- "code": "EUR"
}, - "OrderValue": {
- "vat": "10",
- "total_gross": "11",
- "total_net": "10"
}, - "OrderCompany": {
- "id": 68,
- "name": "Apple"
}, - "source": "local",
- "items": [
- {
- "OrderItem": {
- "OrderItemValue": {
- "unit_price_gross": "110",
- "unit_price_net": "100",
- "vat_rate": "10",
- "subtotal_price_gross": "1100",
- "subtotal_price_net": "1000"
}, - "OrderItemProduct": {
- "id": 1,
- "code": "test",
- "name": "Test"
}, - "quantity": 10,
- "context": {
- "foo": "bar",
- "baz": true
}
}
}
], - "context": {
- "foo": "bar",
- "baz": 123
}
}
}{- "Order": {
- "_media-type": "application/vnd.ibexa.api.Order+json",
- "id": 2,
- "identifier": "2d9c73cd-ea10-4459-b20e-96710c8d3898",
- "created": {
- "date": "2023-04-18 09:06:02.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "modified": {
- "date": "2023-04-18 09:06:02.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "status": "pending",
- "OrderUser": {
- "_media-type": "application/vnd.ibexa.api.OrderUser+json",
- "id": 14,
- "name": "Administrator",
- "email": "aa@aa.aa"
}, - "OrderCurrency": {
- "_media-type": "application/vnd.ibexa.api.OrderCurrency+json",
- "id": 1,
- "code": "EUR"
}, - "OrderValue": {
- "_media-type": "application/vnd.ibexa.api.OrderValue+json",
- "vat": {
- "amount": "10",
- "currency": "EUR"
}, - "total_gross": {
- "amount": "10",
- "currency": "EUR"
}, - "total_net": {
- "amount": "10",
- "currency": "EUR"
}
}, - "OrderCompany": {
- "_media-type": "application/vnd.ibexa.api.OrderCompany+json",
- "id": 68,
- "name": "Apple"
}, - "OrderItemsList": [
- {
- "_media-type": "application/vnd.ibexa.api.OrderItem+json",
- "quantity": 10,
- "OrderItemValue": {
- "_media-type": "application/vnd.ibexa.api.OrderItemValue+json",
- "unit_price_gross": {
- "amount": "110",
- "currency": "EUR"
}, - "unit_price_net": {
- "amount": "100",
- "currency": "EUR"
}, - "vat_rate": "10.00",
- "subtotal_price_gross": {
- "amount": "1100",
- "currency": "EUR"
}, - "subtotal_price_net": {
- "amount": "1000",
- "currency": "EUR"
}
}, - "OrderItemProduct": {
- "_media-type": "application/vnd.ibexa.api.OrderItemProduct+json",
- "id": 1,
- "code": "test",
- "name": "Test"
}, - "context": {
- "foo": "bar",
- "baz": true
}
}
], - "context": {
- "foo": "bar",
- "baz": 123
}
}
}Creates a PaymentMethodCreateController resource.
| X-CSRF-Token required | string The CSRF token. |
The Payment Method input schema encoded in XML or JSON.
required | object (PaymentMethodCreateStruct) |
{- "PaymentMethodCreateStruct": {
- "identifier": "bank_transfer",
- "type": "offline",
- "names": {
- "eng-GB": "Bank Transfer"
}
}
}{- "PaymentMethod": {
- "_media-type": "application/vnd.ibexa.api.PaymentMethod+json",
- "identifier": "bank_transfer",
- "id": 1,
- "enabled": true,
- "name": "Bank transfer",
- "description": "Bank transfer"
}
}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. |
The view input in XML or JSON format.
required | object (PaymentMethodViewInput) |
{- "PaymentMethodViewInput": {
- "identifier": "example",
- "PaymentMethodQuery": {
- "offset": 0,
- "limit": 10
}
}
}{- "PaymentMethodView": {
- "_media-type": "application/vnd.ibexa.api.PaymentMethodView+json",
- "identifier": "example",
- "Result": {
- "_media-type": "application/vnd.ibexa.api.ViewResult+json",
- "count": 4,
- "PaymentMethodList": [
- {
- "_media-type": "application/vnd.ibexa.api.PaymentMethod+json",
- "identifier": "bank_transfer",
- "id": 1,
- "enabled": true,
- "name": "Bank transfer",
- "description": "Bank transfer"
}, - {
- "_media-type": "application/vnd.ibexa.api.PaymentMethod+json",
- "identifier": "cash_on_delivery",
- "id": 2,
- "enabled": true,
- "name": "Cash on delivery",
- "description": "Cash on delivery"
}, - {
- "_media-type": "application/vnd.ibexa.api.PaymentMethod+json",
- "identifier": "invoice",
- "id": 3,
- "enabled": true,
- "name": "Invoice",
- "description": "Invoice"
}, - {
- "_media-type": "application/vnd.ibexa.api.PaymentMethod+json",
- "identifier": "paypal",
- "id": 4,
- "enabled": true,
- "name": "PayPal",
- "description": "PayPal"
}
]
}
}
}Loads an payment method by its identifier.
| identifier required | string |
{- "PaymentMethod": {
- "_media-type": "application/vnd.ibexa.api.PaymentMethod+json",
- "identifier": "bank_transfer",
- "id": 1,
- "enabled": true,
- "name": "Bank transfer",
- "description": "Bank transfer"
}
}Updates the PaymentMethodUpdateController resource.
| identifier required | string |
| X-CSRF-Token required | string The CSRF token. |
The Payment Method input schema encoded in XML or JSON.
required | object (PaymentMethodUpdateStruct) |
{- "PaymentMethodUpdateStructParser": {
- "names": {
- "eng-GB": "Bank transfer (updated)"
}
}
}{- "PaymentMethod": {
- "_media-type": "application/vnd.ibexa.api.PaymentMethod+json",
- "identifier": "bank_transfer",
- "id": 1,
- "enabled": true,
- "name": "Bank transfer",
- "description": "Bank transfer"
}
}Loads an payment method by its id.
| id required | string |
{- "PaymentMethod": {
- "_media-type": "application/vnd.ibexa.api.PaymentMethod+json",
- "identifier": "bank_transfer",
- "id": 1,
- "enabled": true,
- "name": "Bank transfer",
- "description": "Bank transfer"
}
}Creates a shipment.
| orderIdentifier required | string The order's identifier to create a shipment for. |
| X-CSRF-Token required | string The CSRF token. |
The shipment to create.
required | object (ShipmentCreate) This class represents the creation of a shipment. |
{- "ShipmentCreate": {
- "identifier": "abc",
- "ShippingMethod": {
- "_media-type": "application/vnd.ibexa.api.ShippingMethod+json",
- "_href": "/api/ibexa/v2/shipping/methods/parcel_locker"
}, - "Amount": {
- "value": "1922",
- "currency": "EUR"
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Context": {
- "key1": "value1",
- "key2": "value2"
}
}
}{- "Shipment": {
- "_media-type": "application/vnd.ibexa.api.Shipment+json",
- "_href": "/api/ibexa/v2/shipments/new_identifier",
- "id": 1,
- "identifier": "new_identifier",
- "status": "prepared",
- "transitions": {
- "transitionList": [
- "send-to-carrier",
- "cancel"
]
}, - "Order": {
- "_media-type": "application/vnd.ibexa.api.Order+json",
- "_href": "/api/ibexa/v2/orders/order/12345678-1234-5678-9abc-123456789abc"
}, - "Amount": {
- "value": "1922",
- "currency": "EUR"
}, - "createdAt": "2023-06-26T15:40:28+02:00",
- "updatedAt": "2023-06-26T15:40:28+02:00",
- "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Method": {
- "_media-type": "application/vnd.ibexa.api.ShippingMethod+json",
- "_href": "/api/ibexa/v2/shipping/methods/parcel_locker"
}
}
}{- "ShipmentRefList": {
- "_media-type": "application/vnd.ibexa.api.ShipmentRefList+json",
- "_href": "/api/ibexa/v2/shipments",
- "shipmentRefList": [
- {
- "_media-type": "application/vnd.ibexa.api.Shipment+json",
- "_href": "/api/ibexa/v2/shipments/foo"
}, - {
- "_media-type": "application/vnd.ibexa.api.Shipment+json",
- "_href": "/api/ibexa/v2/shipments/bar"
}, - {
- "_media-type": "application/vnd.ibexa.api.Shipment+json",
- "_href": "/api/ibexa/v2/shipments/baz"
}, - {
- "_media-type": "application/vnd.ibexa.api.Shipment+json",
- "_href": "/api/ibexa/v2/shipments/qux"
}
]
}
}Loads a single shipment based on its identifier.
| identifier required | string The shipment identifier. |
{- "Shipment": {
- "_media-type": "application/vnd.ibexa.api.Shipment+json",
- "_href": "/api/ibexa/v2/shipments/ae741491-e80c-49f2-8a44-5163b4afa144",
- "id": 1,
- "identifier": "ae741491-e80c-49f2-8a44-5163b4afa144",
- "status": "pending",
- "transitions": {
- "transitionList": [
- "prepare",
- "cancel"
]
}, - "Order": {
- "_media-type": "application/vnd.ibexa.api.Order+json",
- "_href": "/api/ibexa/v2/orders/order/33f6db52-478f-41f1-afbe-6d38f6a4704f"
}, - "Amount": {
- "value": "2257",
- "currency": "EUR"
}, - "createdAt": "2023-06-26T15:40:28+02:00",
- "updatedAt": "2023-06-26T15:40:28+02:00",
- "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Method": {
- "_media-type": "application/vnd.ibexa.api.ShippingMethod+json",
- "_href": "/api/ibexa/v2/shipping/methods/parcel_locker_delivery"
}
}
}Updates a shipment.
| identifier required | string The shipment identifier. |
| X-CSRF-Token required | string The CSRF token. |
The ShipmentUpdate schema encoded in XML or JSON format.
required | object (ShipmentUpdate) This class represents the update of a shipment. |
{- "ShipmentUpdate": {
- "identifier": "new_identifier",
- "transition": "prepare",
- "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Context": {
- "item1": "value1",
- "item2": "value2"
}
}
}{- "Shipment": {
- "_media-type": "application/vnd.ibexa.api.Shipment+json",
- "_href": "/api/ibexa/v2/shipments/new_identifier",
- "id": 1,
- "identifier": "new_identifier",
- "status": "prepared",
- "transitions": {
- "transitionList": [
- "send-to-carrier",
- "cancel"
]
}, - "Order": {
- "_media-type": "application/vnd.ibexa.api.Order+json",
- "_href": "/api/ibexa/v2/orders/order/33f6db52-478f-41f1-afbe-6d38f6a4704f"
}, - "Amount": {
- "value": "2257",
- "currency": "EUR"
}, - "createdAt": "2023-06-26T15:40:28+02:00",
- "updatedAt": "2023-06-26T15:40:28+02:00",
- "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "Method": {
- "_media-type": "application/vnd.ibexa.api.ShippingMethod+json",
- "_href": "/api/ibexa/v2/shipping/methods/parcel_locker_delivery"
}
}
}{- "ShippingMethodTypesList": {
- "_media-type": "application/vnd.ibexa.api.ShippingMethodTypesList+json",
- "_href": "/api/ibexa/v2/shipping/method-types",
- "ShippingMethodTypes": [
- {
- "_media-type": "application/vnd.ibexa.api.ShippingMethodType+json",
- "_href": "/api/ibexa/v2/shipping/method-types/flat_rate",
- "identifier": "flat_rate",
- "name": "Flat rate"
}, - {
- "_media-type": "application/vnd.ibexa.api.ShippingMethodType+json",
- "_href": "/api/ibexa/v2/shipping/method-types/free",
- "identifier": "free",
- "name": "Free shipping"
}
]
}
}Loads shipping methods type based on their identifiers.
| identifier required | string |
{- "ShippingMethodType": {
- "_media-type": "application/vnd.ibexa.api.ShippingMethodType+json",
- "_href": "/api/ibexa/v2/shipping/method-types/flat_rate",
- "identifier": "flat_rate",
- "name": "Flat rate"
}
}{- "ShippingMethodRefList": {
- "_media-type": "application/vnd.ibexa.api.ShippingMethodRefList+json",
- "_href": "/api/ibexa/v2/shipping/methods",
- "ShippingMethodRefs": [
- {
- "_media-type": "application/vnd.ibexa.api.ShippingMethod+json",
- "_href": "/api/ibexa/v2/shipping/methods/parcel_delivery"
}, - {
- "_media-type": "application/vnd.ibexa.api.ShippingMethod+json",
- "_href": "/api/ibexa/v2/shipping/methods/parcel_locker_delivery"
}
]
}
}Loads shipping method based on its identifier.
| identifier required | string |
{- "ShippingMethod": {
- "_media-type": "application/vnd.ibexa.api.ShippingMethod+json",
- "_href": "/api/ibexa/v2/shipping/methods/method1",
- "identifier": "method1",
- "name": "AmE Method 1",
- "names": {
- "value": [
- {
- "_languageCode": "eng-US",
- "#text": "AmE Method 1"
}, - {
- "_languageCode": "eng-GB",
- "#text": "BrE Method 1"
}
]
}, - "description": "AmE Description of Method 1",
- "descriptions": {
- "value": [
- {
- "_languageCode": "eng-US",
- "#text": "AmE Description of Method 1"
}, - {
- "_languageCode": "eng-GB",
- "#text": "BrE Description of Method 1"
}
]
}, - "enabled": true,
- "options": {
- "option": [
- {
- "_key": "price",
- "#text": "20.0000"
}, - {
- "_key": "currency",
- "#text": "EUR"
}
]
}, - "regions": {
- "RegionRefList": [
- {
- "_media-type": "application/vnd.ibexa.api.Region+json",
- "_href": "/api/ibexa/v2/product/catalog/regions/default"
}
]
}, - "type": {
- "_media-type": "application/vnd.ibexa.api.ShippingMethodType+json",
- "_href": "/api/ibexa/v2/shipping/method-types/flat_rate"
}
}
}Creates a new collaboration session with participants and returns the session details.
Session creation payload
required | object |
{- "ExampleSessionCreate": {
- "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "ParticipantListCreate": {
- "_media-type": "application/vnd.ibexa.api.ParticipantListCreate+json",
- "ParticipantCreate": [
- {
- "_media-type": "application/vnd.ibexa.api.InternalParticipantCreate+json",
- "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "scope": "view"
}, - {
- "_media-type": "application/vnd.ibexa.api.ExternalParticipantCreate+json",
- "email": "user@link.invalid",
- "scope": "view"
}
]
}, - "subject": "example"
}
}{- "CollaborationSession": {
- "_media-type": "application/vnd.ibexa.api.ExampleSession+json",
- "createdAt": "2023-11-15T10:30:00+00:00",
- "id": 123,
- "token": "abc123def456ghi789",
- "updatedAt": "2023-11-15T14:45:00+00:00",
- "ParticipantList": {
- "_media-type": "application/vnd.ibexa.api.ParticipantList+json",
- "Participants": [
- {
- "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "_media-type": "application/vnd.ibexa.api.InternalParticipant+json",
- "createdAt": "2023-11-15T10:30:00+00:00",
- "id": 1,
- "name": "John Doe",
- "scope": "edit",
- "updatedAt": "2023-11-15T10:30:00+00:00"
}, - {
- "_media-type": "application/vnd.ibexa.api.ExternalParticipant+json",
- "createdAt": "2023-11-15T11:00:00+00:00",
- "email": "guest@example.com",
- "id": 2,
- "name": "guest@example.com",
- "scope": "view",
- "updatedAt": "2023-11-15T11:00:00+00:00"
}
]
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "subject": "Project Collaboration Session",
- "isActive": true,
- "hasPublicLink": false
}
}Retrieves a collaboration session by its token.
| sessionToken required | string The session token to retrieve. |
{- "CollaborationSession": {
- "_media-type": "application/vnd.ibexa.api.ExampleSession+json",
- "createdAt": "2023-11-15T10:30:00+00:00",
- "id": 123,
- "token": "abc123def456ghi789",
- "updatedAt": "2023-11-15T14:45:00+00:00",
- "ParticipantList": {
- "_media-type": "application/vnd.ibexa.api.ParticipantList+json",
- "Participants": [
- {
- "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "_media-type": "application/vnd.ibexa.api.InternalParticipant+json",
- "createdAt": "2023-11-15T10:30:00+00:00",
- "id": 1,
- "name": "John Doe",
- "scope": "edit",
- "updatedAt": "2023-11-15T10:30:00+00:00"
}, - {
- "_media-type": "application/vnd.ibexa.api.ExternalParticipant+json",
- "createdAt": "2023-11-15T11:00:00+00:00",
- "email": "guest@example.com",
- "id": 2,
- "name": "guest@example.com",
- "scope": "view",
- "updatedAt": "2023-11-15T11:00:00+00:00"
}
]
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "subject": "Project Collaboration Session",
- "isActive": true,
- "hasPublicLink": false
}
}Updates collaboration session properties.
| sessionToken required | string The session token to update. |
Session update payload
required | object |
{- "ExampleSessionUpdate": {
- "hasPublicLink": true
}
}{- "CollaborationSession": {
- "_media-type": "application/vnd.ibexa.api.ExampleSession+json",
- "createdAt": "2023-11-15T10:30:00+00:00",
- "id": 123,
- "token": "abc123def456ghi789",
- "updatedAt": "2023-11-15T14:45:00+00:00",
- "ParticipantList": {
- "_media-type": "application/vnd.ibexa.api.ParticipantList+json",
- "Participants": [
- {
- "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "_media-type": "application/vnd.ibexa.api.InternalParticipant+json",
- "createdAt": "2023-11-15T10:30:00+00:00",
- "id": 1,
- "name": "John Doe",
- "scope": "edit",
- "updatedAt": "2023-11-15T10:30:00+00:00"
}, - {
- "_media-type": "application/vnd.ibexa.api.ExternalParticipant+json",
- "createdAt": "2023-11-15T11:00:00+00:00",
- "email": "guest@example.com",
- "id": 2,
- "name": "guest@example.com",
- "scope": "view",
- "updatedAt": "2023-11-15T11:00:00+00:00"
}
]
}, - "Owner": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "subject": "Project Collaboration Session",
- "isActive": true,
- "hasPublicLink": false
}
}Creates an invitation for a participant to join a collaboration session.
| sessionToken required | string The session token. |
Invitation creation payload
required | object |
{- "InvitationCreate": {
- "email": "external.user@example.com",
- "Sender": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "context": {
- "single_value": "value",
- "simple_array": [
- "test",
- "value1",
- "value2",
- "value3",
- "value4",
- "value5"
], - "extended_array": {
- "foo": "foo_value",
- "bar": "bar_value",
- "baz": "baz_value"
}
}
}
}{- "Invitation": {
- "_media-type": "string",
- "id": 0,
- "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "context": [ ],
}
}Retrieves a list of all participants in a collaboration session.
| sessionToken required | string The session token. |
{- "ParticipantList": {
- "Participants": [
- {
- "User": {
- "_href": "/api/ibexa/v2/user/users/14",
- "_media-type": "application/vnd.ibexa.api.User+json"
}, - "_media-type": "application/vnd.ibexa.api.InternalParticipant+json",
- "createdAt": "2023-11-15T10:30:00+00:00",
- "id": 1,
- "name": "John Doe",
- "scope": "edit",
- "updatedAt": "2023-11-15T10:30:00+00:00"
}, - {
- "_media-type": "application/vnd.ibexa.api.ExternalParticipant+json",
- "createdAt": "2023-11-15T11:00:00+00:00",
- "email": "guest@example.com",
- "id": 2,
- "name": "guest@example.com",
- "scope": "view",
- "updatedAt": "2023-11-15T11:00:00+00:00"
}
], - "_media-type": "application/vnd.ibexa.api.ParticipantList+json"
}
}Adds new participants to an existing collaboration session.
| sessionToken required | string The session token. |
Participant list creation payload
required | object |
{- "ParticipantListCreate": {
- "ParticipantCreate": [
- {
- "_media-type": "application/vnd.ibexa.api.InternalParticipantCreate+json",
- "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "scope": "view"
}, - {
- "_media-type": "application/vnd.ibexa.api.ExternalParticipantCreate+json",
- "email": "user@link.invalid",
- "scope": "view"
}
]
}
}{- "ParticipantList": {
- "Participants": [
- {
- "User": {
- "_href": "/api/ibexa/v2/user/users/14",
- "_media-type": "application/vnd.ibexa.api.User+json"
}, - "_media-type": "application/vnd.ibexa.api.InternalParticipant+json",
- "createdAt": "2023-11-15T10:30:00+00:00",
- "id": 1,
- "name": "John Doe",
- "scope": "edit",
- "updatedAt": "2023-11-15T10:30:00+00:00"
}, - {
- "_media-type": "application/vnd.ibexa.api.ExternalParticipant+json",
- "createdAt": "2023-11-15T11:00:00+00:00",
- "email": "guest@example.com",
- "id": 2,
- "name": "guest@example.com",
- "scope": "view",
- "updatedAt": "2023-11-15T11:00:00+00:00"
}
], - "_media-type": "application/vnd.ibexa.api.ParticipantList+json"
}
}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 |
{- "ExternalParticipantUpdate": {
- "scope": "view"
}
}{- "Participant": {
- "_media-type": "string",
- "id": 0,
- "name": "string",
- "scope": "string",
- "email": "user@example.com",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}{- "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 |
{- "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.
required | object |
required | object (RuntimeContext) |
{- "GenerateAltText": {
- "Image": {
- "base64": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wgARCACMANIDAREAAhEBAxEB/8QAGwAAAQUBAQAAAAAAAAAAAAAAAgABAwQFBgf/xAAaAQADAQEBAQAAAAAAAAAAAAAAAQIDBAUG/9oADAMBAAIQAxAAAAGj879HLORzrbyvP6FbydDfkx/Qx6rzu/uu/wAieoCWCoSmQ4nQ4iSrZ642HVm5vNCNvo7z6nbhq57ZvTpO5NpgjoZFcVZto06SueWpFMU2GgQnB5ThymXXyU628pQIrvr5NfXlr56H0qXSHarTpzptK56aucJoFTJiMQYECBwQ3Q0nnS6siKs5ykree/pXT5tp5Q52ukl0iCNPJ33ZWuL3n7TzxKIRimIC0mkJA4JN1UU15LezY06JZndw6fQ+ry5VATS6CS5FPis+/id5y9cO9xfdZyI2ELlNO5QISGhunnTp49u7GFmi1lfW479xv5pqRll1IqTtZ+PR5Ptvibc7Vn7Tw72nKcpy7lOUDNONISrDNOP2rHRnpaPN1eiYnTVyGpZE/bm7EKOL8/nr817OWrcd9z6+ic7Ny7l6lmmEmkCTZVy9aZF203jNZpXrnDehMEk0mn6XI7TS44rMz6PE+zPG2wmF7bwdGoS7lOU0zlgTEiNVwu2kBWeVQT6TDbouLphw6ZpTydd7Hh0MumMoaiKlwWhwnVyg56zLTvsGDmYnSUlSiFEEmuUGW/nXRpnjea1401sdLXF2LLe3FPJ3XvfOZfD2UTXn90CI5UbzuKbrmxUSubdRZcw1AptFDcZk6cxpdN1IVXL6Dn06TC7riQTiCbQCnFNZ7dDSLCkrytExtE5Koo2o6mGlCyNgjrlWIuSalnTTit6QmWHkTWJw+gLoRiMBDUC5zOrk0FnM5JoiVSz9AWnYgYdendTvZ001bl6SbyDNDLx+bujdQUqNRf0x0KjKx2y9cj1ynEmmadJgBqS1fueictLkY8t03TdU6GhjL5Hk9YiIbintjta87NC1dJnFMmhG07SAE4JdWXUmoQu1Ni5ussMJUIylmjhOP0yahqK9RVuWamFbJkcWUpQuwSgwRsEZCZNIYGQLbUSsVlpFma4/DrdyLkakhC0TmUUoics04p0WZcyaBgYcQxBJsN0IcBUDqNujLmAyRcu0Qk07mRowNJNAwWSpWJc8t0xHGANshxmnG6gKjbwanQgmQ7QOTFKKQTUjE4iAk0IKI2C1Yl2s2hiMBsxhwOq7daj/xAAnEAACAgICAgEFAAMBAAAAAAABAgADBBEFEhATIRQVICIwBiMxMv/aAAgBAQABBQKrJVa0yVi5C7+oSPeheq1N51qkYhHusYSg/wCv+N1nWW5aJHzXaM2/HF1/Diai8dTBx9M+30z7fVPtdM+10x+IoM+zUAni03WOq/x5i3qincBm4vy3HJpGmoPG9SzIrQZHM1JOK5L6s/0P/OZs3fXNzcoG2xhpT4Hi8bTLFi2sJh3nFy6rBZX/ADtOkzbO+Wp+O0BnHr2vq+K/A8GctjxhLZ/juZ3r3/PNfrU3dXD7gMScUu/zyq+9eUvptsMxcg4+TjWi2r+XIN+llQaW4021crcEcQuqvyac9jfq5hn+O5nwD/LOb9oZlddLjsBiAVVewT2ie0fgZlVeyvkKfReZjWmi/BvF9P8ABzpcm7dweZGSFlKNY+Ona659QOZ2M2YwaG1hBf8ANmUihc2p5zqewmtp6mnD5j48XLXr9ckpyxaRufMclRVaXljamS2qmPzZeTKadldLMD/3c27Vg8FhLE7yzHPU8Y2xiJQbKjkFeKUReMrlfH0w4eOIuHjiV0VpPiFfA0I+mmX8y7ASyLx/SeixYQRONX9acSlwMGufRVz6Oue2eyB9x9GWVK0+kqBFdaxbli2GMnY9IewBssEN9qg5NkN9hnuslmUSBepgYwWAz/swUDWeoQFlgsnsXxub8Hwy/ASIdTtN+CnYWYlkGDcZ9vun2y0x+MbqnCiyLwipPtw6/QfriYrUj58ECdRO0P8A1n1GyJi1vaGoRF9naW/Uh1fkJ25HW+VmuXnr5Qz6fkJ9DmtBxWWZTxAErrrpX3177E+d+dTUDzvGbcQ0o45OmNyOJYKszCrn11EXKqae9Z71nuWe5Z7hDfDfZGstMastFpKEXXLFyxFvVp2EBEZwIG3N+NxviH9oy6gG4qfIWBYHKwXRTvwTOzTRM9c6a8b8FRB2EF7LGsWyUsFntH46nWDwJqag+ILiItgPnc7eNzfk/MKCEETbxW3+WoPw1Os1AxEW2dgfGvx3DCZuVmL+Ag/gfG4rGA+NeTDCZuf/xAAnEQACAgICAQMEAwEAAAAAAAAAAQIRAxIQEyEUIDAxQEFhBCIyUf/aAAgBAwEBPwHuWosiFkQppjyI2RnmjA/7E34Mq/t8WPHt5YsZqlzneqIMsf8AJ/R6qR6uR6tnq/0eq/R3p/gWSP8Aw7Uybt/Fi8IsviHk/lSEWPirI4ZSFgivqycItXH4LLL5QuLGzH4RnfkXD4xOpErGXTJRp+6/dEvleWPxEyeZPl8IhLaIyRF7Ir4LL4iKRsNmMyOl78M6ZPwSYpaux/GuKPKMZnfj3xP9RGMxytUP4kLhkfBNOTo6mdTOp+xGORkVMZGVP40JmwhGBfVlI1RqhOIsSY8CFjNaZk8ocTVkX+OWyy+ckqYuLEIRi8RQuVFkJ6nanxp+RxNUUPloocRcThYuFyiWecT1kz1sz1uQ6jrHChWUzRmrGyzc2Gy/fYmJm1CyDUZDxnXLiubHxP6/JZZsbc2zZmvNk8up3N8Sx2dR1miNEao1RSLQ3xXvsvhjJ3+DrZpJDjI1kas62dbOtmjNGdZ1nWikUaGrK5RRXFj91cX8FFFcao0Os0NfsaK4r30X9jfw395//8QAJhEAAgIBAwQCAwEBAAAAAAAAAAECERIDEBMgITAxQVEEFCJAYf/aAAgBAgEBPwGehJyJfjsehI4ZEdKVEtOR+LpuzXX8Gmv6I+KcqGOxLbTWUiW1GBxnEcbOJiTj6G5MXYXiasaKKH2R+OvklshF0ch/TO8H5WJEyiiZpKoj2W00RqhEo5KhPyMS7DRRRL2Lskh7LaRHsxETVjTvyVbHEcKGiQlch70LaSId0JEo5Kiq7eOPvdxTJwaIrv1yNJ06FtrQ+fHBbolI9IyMjLdjH2NN2tmrRKNOvFGPYoxGT9Gp9Ds7nccZGbMmJSl6HCXyaXYssnDIwZgxwa6YKz53YzUJ+xj2lqoas9EdfAlruQp0c7OdnLJmbMn9llljZZDUrbMzMltqexQUj9dH6qP1UZmZkWKRyGRgYlFCRSEkYmKMUYDgUNFDVmJ6MzPwJ9S2sssyY7KKHErZ9FGAtKzhQ0Rml7OWByx+jmRzI5v+HM/oWq38Ccn8CW2aLsrpaMUVsiJZ2OxaM0jmic0Tmic0TmRznOczORnIxahmZFl9S2vazIyKsx6O21l9FmRkLUaJTsy6r6LL2xK8llleOyyyjErw0UP/AAteL//EADAQAAECAwUHAwQDAQAAAAAAAAEAAhEhMQMQEiAwBCIyQVFhcROBkTM0gqEjUHKS/9oACAEBAAY/AqX1VVVVuZPmhpSUzErd3Qp3R6mF9FRUVFwqimFIITMlDSEKnK3xHNvOCgzeKcHCDhrBvTIEfjKYJzXuJubaCnNBw56rz3yN7TQzYxf6LzvNpqO8Il2Rx9s5Cc03NtB7oOHPTIukpqSb3noY23+i40ppwv7oQQHQAaBCcOVzXjkmuGkboBYnpgTR755uC4hFRAuosDgYKJKqt2+KpeXFQaouuc7oEe0s0GlEvtCYqI4lhMAuK6gUCqBboF81S7DyUnEKRBXCphR6lR55aLoqrjKjjf8AK4nfKlFUKiRdIqBU1VVUnKDhFSfD/SjD3CrcRCUFK6ejCOXhiv4wSOhVMKo0e6m5qOJ4MOyiXPHkLctnqDnYvKlhCON4LuoGjiMmd0XOfABbk2qNiLMjo5fR2X9qTdlH4qVpYD8F9zZD8FPbB7MU9tf7Bff26nt1v/0o2207RadsUFBoAUAYnsuUNPFbNc7sqOUHxPkI+m3D4aqH4UlRUvopNUg1fUh4C3rRxUbO0cFPC/8AS3mlqkRnnq0U1XNJxW9dXVkp6siq/wBv/8QAJhAAAgEDBAEEAwEAAAAAAAAAAAERITFREEFhcYEgkbHBMKHw0f/aAAgBAQABPyF1qlkKqY3VIo9EG0SNJSqSRYpYe0jY2P1tpaBh49FJ8C4x5aWNkzYXgSaYFhgTgjftG12exgUsKVKJkjuJI7AbG/wMQaGDGIFq3V/2CaqGiVGJoeSel4Cv5bcDYx6Mb9bwxVayRtNpHt24Ka/i0RpQ1ZobQkhJ7siY2S6Oo4WUkobG9G/wSBWqlBALiRnAAWDxI/QWUU2gkkS6Jn5CWiSfwybAZAzLkWlHpOTd2i+RPFidEhECXyH+EE7HK0T9g1eUkkk/h7JQ2Yeq0jollC1Inbyf6+hMkkjVJRNCqtByd64JEL8DdCdfIkVNEcVEhgO5bHA2H7+henVjCnauh7VVOgw2O6oymZQiSfTJMsieKCIliTdNhGyEcnI+J2/vCHtxZDmIEolE1Ye4Mm1AI4XEJyLhkqikeWVPto3SCnaRasZ9G5ReGQ2JPPgXM1bkcGy5MRFBJIRFW+CnokhbNpwMtBbGMbQ818iRCcmeCarUWdSfQJcSWQbXCOBWox4qGthYBr2zSBb+2DR3LgcVF2UPJ8ITfJJsxB3ksUHELnoG6+A3lBTMkZYlQrjFi3cCfn3E3QP7DK4RyRKw5RUJxlFaWPoXUkWKMfRIwhdHa7UUpJOCVQ6lCJNlLjRi+C9OVyYRzEUHEYb0JZFNlSpFccO41IEwnJbGwNk6Lv2YdMmM/Yn7jKOw7yiVLUmk2LoP0DtOT3A3wDq38QnUGb3P0iQhvYKBJeScjG2jgOqrMZKHLWwpInS22hVjgVU2JZOG05FZaGX6Nmj+cktQeRIvazJ8BDaIG5fGCT8LPleHvlin6IQ3O/uWtxVDsF2MtZk6E1pAiZHKGEcGPeAJYi2EuCkZvDR40x33BOswY4+jCwswWJjVsyjcQf6G2Hkv4nzID8yvybUPcIU/dF6QnaBvDYux6E5oKFA4dJDJVBLWqYRRggFVHJlRClMqMVhiW5IaPcLabKolglO4zsjYwyobS3XkW/6OQkuNEIStVGqsNAnohpZ3tYOmnZjkpGG3MkyrRMRXHV1QUQWsiGUaEhSIYYkjfzKIkJjLJGxN6H1jRnGm3oI0WqIEGhMnR6ZjQxoNCGHHEz//2gAMAwEAAgADAAAAEIYi+VZ+Ndf03ptaHA3sA0vGKiAxcf0JgkWk4FIfyv686UM0LT4YtCOWtZiJ+LmoV1aIdpLEfJAVQ1isgFKPHwK+ZjftYRScC3SR1snp8vNuvxJgzsFsNzKOR6K8LGfMhsOMobK/QI2G8+02rSuJ49xArEzFZz1Is55eJrJyJfsqUM2T5P8Ak1kdG38bXJNr5ejJmIkgw7iIOt83GqzfS0wqf/1xs0+xWQw6Oes6WodtgWzgWehQzf8A/8QAJhEBAQEAAgICAQIHAAAAAAAAAQARECExQVFhILHwMHGBkaHB0f/aAAgBAwEBPxDGZPFmvdT3NtzzI6GCHO5BBBH4PBwAMOo9aXYNv6KWHXFTwJ+IvoL6yV7HE+XDukQ3ZQQR+WQ4DFu62U+/0nyLC8Lwxf6GmIeIIjg438BvA1lhlvIHZaE/ffDZzGS3d56jHbfD544IILZZm22ww3lHa3ZcJdEtZaI4Uzxg+8hG6N8nDJllttt4EGWSHmNPVrDXeNTruzhZtvN+G7ctuNZeyWWWWW222GGcdzd8kxOrw/mSTjbeFjL3+ycrtHqUssssttsMM5QyMy34wIep5CeCFk48crs5d7JZZZbbbbYZcDiKut5xOvzn9oT1PwX0THGxkYhpY+YHQwpJpA1LLASJFsSkSh4GU8ji/ffLJU5xjyId9wdgSEiGSsrAzU9Mc8wFvG6wyhhu5kzgdWXOYPcN9z/eI9S8y8S1wTdZjYWcEMcg13JPd4gl9N9Vpsb7gy6mKXYYiWWWXnvjLYeBDF2hL+UBwdIMMlyb4R3bsCETuJ6Tj3Y9tl7/AFn5D/P/AGz4Uf2WMPo4FwMMRbCtyylDNVjsEnzJW/u+2fn/AAaE+7PzAQXgkvmfiyVogjbHvkWeBdnhkmdlq3eAskODLHNlt6s+uBjgsssszLMySWW2xZyZwDjI6iAscFlm2WZnh4yzjYYm8jDDDDwG2WZ4Zmf4BFtvJFvH/8QAJREBAQEAAgIDAAIBBQAAAAAAAQARECExQSBRYXGxoTDR4fDx/9oACAECAQE/EPOrT5iEG+IXhE9Q9JN0lj6lt5yyyzhOhJf22sYGwRu6tlt8sbu/A9TKebyyExYepHPlklnGyyJ08p2P1P7hZCEgdyPUevqQGujKM/HLLLLJLwvfDm79Xc/b/X/vHIxbGz7AlB969DbbzllllkkkOrCbN1nBDYP4D/nkIhpLounDrvht+OWWWWSRgI06k8uA3SS1WeCCTbPsvK4gVSlqI4CyyyyySG7ttLwvUh3ZN+uHgLJhpduhBZuYiCD5N7JJIML0nVuj9yJNmAuuCu7ThiPJk4hHOWWTYRhHhhLE2zBKLNhTQ4SvEox0nQ2YuxdmcfkIGBsZ6jLtm4gslDYdBd3CFkES26QK7nGBdO3ll+XCe5H2WkG+WKG28Tj1dgyF3Yfuz7tPc4zz+F2m2nu19372/dj6jc/qwtpmXfrLd1jPuLhHmvSgcH5R9ZDySPGynmcXiNk8WsEebN3zkcHVuDJZEQPqT7LX6tfUM9Qx6OFL6lD0y182z1KJgXVt5jcQuz1YGrYORGT8L/sy/F/xfk/4/wBrfpcDwH9r0Qk93RIcT9JWWckGF5gXSQ+bJKvMIvynyiw9X5R9XE/XI9Ev0Ssp5j3EPuC+HjlsSb4lzgLPq7R1Grc4k7SPKzJnwbniMzq22WGQ4beAtWvAiI4PtZw7HBo+Z14lnG/6Itvi44IeRjv4EOJDMVd2/B4DkBJyckfEYbbBgk+ORBZf/8QAJhABAAIBBAEFAQADAQAAAAAAAQARITFBUWFxEIGRobHRweHw8f/aAAgBAQABPxBQcu1XMDcftL7RnciVogijUrXYhByZsaua7HJLPB9ccWEIQYMpSJMrtHvnC2FK/ae8XoTVW2FVXlgrH5jL+/UuKxycQQH4oL+EKMfET+MSxNsJaD2iKqnxEo59BAt2lYaCj1BYw9SXET0NjTVZl5VVdWYCOUSBnWDh6r86Pp+pcMctoMQywOiAkTW4XYLHH5hDm4bvlCSyVgLixehfqQhLF1DJwdHa/wCpjGO252RgdEPdhOFFg8D/AHMyMHEEf6wCbRaSKWbJaVFSDBcphgBEPVF9BYS5cGDBhtvaVdYU+2P7KKFoqC8TOM2L2MfdTmJt98/5mREzDUI1MDVJlo2hiK3kj2ZuHMMizSMsLcIJFJcuXBlQ7j9R2F5J2wNqcTLay2ljgFKx2v8AyEOwaHUyJcoII2JcEUahRIWvYhrFuAAG8DbFFeoety5fpcPtSkvMLl1Yuolb5yVQXxEHZXjGPt6Iw9BAVGXEVt/tEVuW3H3CrupxAJHDFfqsWXLlytPBM1cqFlimyWG0iHEYlRFinTvRf4jlEKNSdxAJR6A5hXmyokAQxmjjhDDc3gBQTrHKSkWLLl+jxlDurHDLlERpbwVCN2VptKoCBXgy/kZXVj5Fo+vkm7Y41TswTFs2jtW6pX6jd2I6C3WxLXMN8zBvG6dYpD+JP9NhTZt46QdmzRdJWm4IgZrvAMkSmEGLKYbEscA1mIVHLUV3GTCZ0sojvXTG0yvXnaCQEwJd9eX/AMZYy0C8go/UapE1LYQ2lTLyO0r1TUIXJVraB6mSkyjKyua7m34j+T7JmGC1p5YQuXuQKnHiJPt5LyhEWyNdQUZBFqIloKKbgEvtRYW2XTLwc5wYoFBvnKM30SJg873f0ZaRuYNu4Js0Vy/2C3fv+z/owXXN3BH+MfsqOZn5niCIceUbm/VkoSkvIjfgSCY3mJd3YrpDaIhgOIxbZGqW6OzMEB1slUiOCyZz1GyAe6K/qZcg2/oZWz1z7gs1bn5R/tCwntDEAOyXKibasBZ/jDLsWiqZj/HK+yBWh2Z9ELFSzOsyB1JY9yxqy+ILxg94TinmOzAVNIY3FcwOG/eLieIYmvVRA67XYNUfUkfI18PzO9BF1FYsuvyWC9C/eq/bikeAiPyMs3BRXrNAasJdNjfZz8wOjC11jxtUogDIlrwv6lAZsMiQUwc2qhgpXt13gmagGgp7mrD2nQ/MA4NPC6xGVDe37idTIt/iPFEv6lSvW7F667gMasAARhtpALjusRs/XUKd8ojA8s3/AFQtOFD/AFLJ8EYmhqf9tZX+KD/MTIzkI1BF2pPyMiA/42gtKapnzq+4WEzKbXlZfeKbWdh5rSIhea6kp/Awe5AbyxhlDF9idDBAC2HcmKxuHWNO8OGDdFfaOsCAKYK4IgIuTR+SvodQU7xBbA1uMUOhBEzK8BEbfxEbcoHHyEUwTqIP0pEXXcqf5MWA4A/bmU8047LLcgfkgNEm9P8ACOCrmqfJDjxl0wHb2iGEwi9zT59FSzUOzY5ltRUlEfDNKL7Q1dTvDq4sMuwbSjrDF44YihX3DMOYYZ0mSzZSTJiGfhhOa/MA0zyykreIaw6JUyGTkifEcLZFdrkg4YNKRuBR2ynR+YnmDSt41U5J1SiGZwy9SRvJGOGXaREatSVgLOZSZL9FB5RXoMYYk2xO2aaNTsuAURO4xwW6meedj5gBmPRi2SswsVMymAtxDqXaQDeK9ZbG2gzFkUwkllGuE6kT4YxpLmpADpEXDCRwywYFaynMwcxQuDEGEzGzKrga0mjiZwg1Moh2gwplxKJmELmevoDioiZjl5hBzG9zP//Z"
}, - "RuntimeContext": [ ]
}
}{- "AltText": {
- "_media-type": "application/vnd.ibexa.api.ai.AltText+json",
- "Text": {
- "_media-type": "application/vnd.ibexa.api.ai.Text+json",
- "text": [
- "Blurred image of an open laptop on a desk with paperwork and another laptop in the background."
]
}
}
}Returns an action configuration by its unique string identifier.
| identifier required | string Example: rewrite_with_friendly_tone |
{- "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"
}
}Returns a list of all defined discounts
| offset | integer |
| limit | integer Example: limit=25 |
{- "DiscountList": {
- "_media-type": "application/vnd.ibexa.api.DiscountList+json",
- "Discount": [
- {
- "_media-type": "application/vnd.ibexa.api.Discount+json",
- "id": 2,
- "identifier": "my_discount_identifier",
- "name": "My Discount",
- "type": "cart",
- "label": "My Discount label",
- "labelDescription": "My Discount description",
- "priority": 1,
- "isEnabled": true,
- "createdAt": "2025-08-18T11:28:43+02:00",
- "updatedAt": "2025-08-18T11:28:43+02:00",
- "startDate": "2025-08-01T00:00:00+02:00",
- "endDate": "2025-08-31T23:59:59+02:00",
- "DiscountRule": {
- "_media-type": "application/vnd.ibexa.api.DiscountRule.FixedAmount+json",
- "type": "fixed_amount",
- "expressionValues": {
- "discount_amount": "12"
}
}, - "DiscountConditions": [
- {
- "_media-type": "application/vnd.ibexa.api.DiscountCondition.IsInCurrency+json",
- "identifier": "is_in_currency",
- "expressionValues": {
- "currency_code": "PLN"
}
}
], - "DiscountTranslations": [
- {
- "_media-type": "application/vnd.ibexa.api.DiscountTranslation+json",
- "languageCode": "eng-GB",
- "name": "My Discount",
- "description": "My Discount description",
- "label": "My Discount label",
- "labelDescription": "My Discount description"
}
]
}, - {
- "_media-type": "application/vnd.ibexa.api.Discount+json",
- "id": 3,
- "identifier": "my_another_discount",
- "name": "My Another Discount",
- "type": "catalog",
- "label": "Catalog discount label",
- "labelDescription": "Catalog discount description",
- "priority": 1,
- "isEnabled": true,
- "createdAt": "2025-08-18T11:58:37+02:00",
- "updatedAt": "2025-08-18T11:58:37+02:00",
- "startDate": "2025-08-18T09:57:14+02:00",
- "DiscountRule": {
- "_media-type": "application/vnd.ibexa.api.DiscountRule.Percentage+json",
- "type": "percentage",
- "expressionValues": {
- "discount_percentage": "10"
}
}, - "DiscountConditions": [
- {
- "_media-type": "application/vnd.ibexa.api.DiscountCondition.IsInCurrency+json",
- "identifier": "is_in_currency",
- "expressionValues": {
- "currency_code": "PLN"
}
}
], - "DiscountTranslations": [
- {
- "_media-type": "application/vnd.ibexa.api.DiscountTranslation+json",
- "languageCode": "eng-GB",
- "name": "My Another Discount",
- "description": "My Another Discount Description",
- "label": "Catalog discount label",
- "labelDescription": "Catalog discount description"
}
]
}
]
}
}Creates a new discount
| X-CSRF-Token required | string CSRF token obtained during the authentication. |
The DiscountCreate schema
| identifier required | string non-empty |
| type required | string Enum: "cart" "catalog" |
| priority required | integer [ 1 .. 10 ] |
| isEnabled required | boolean |
| userId required | integer |
required | object |
Array of objects | |
| startDate | string <date-time> |
| endDate | string <date-time> |
| createdAt | string <date-time> |
| updatedAt | string <date-time> |
required | Array of objects non-empty |
object |
{- "DiscountCreate": {
- "identifier": "my_discount_identifier",
- "type": "cart",
- "priority": 1,
- "isEnabled": true,
- "userId": 14,
- "rule": {
- "type": "fixed_amount",
- "amount": "12"
}, - "conditions": [
- {
- "class": "\\Ibexa\\Discounts\\Value\\DiscountCondition\\IsInCurrency",
- "parameters": [
- "PLN"
]
}
], - "startDate": "2025-08-01 00:00:00",
- "endDate": "2025-08-31 23:59:59",
- "createdAt": "2025-07-31 12:00:00",
- "updatedAt": "2025-07-31 12:10:02",
- "translations": [
- {
- "languageCode": "eng-GB",
- "name": "My Discount",
- "description": "My Discount description",
- "label": "My Discount label",
- "labelDescription": "My Discount description"
}
], - "context": {
- "arbitrary_foo_key": "arbitrary_foo_value",
- "arbitrary_bar_key": [
- "arbitrary_bar_value1",
- "arbitrary_bar_value2"
]
}
}
}{- "Discount": {
- "_media-type": "application/vnd.ibexa.api.Discount+json",
- "id": 2,
- "identifier": "my_discount_identifier",
- "name": "My Discount",
- "type": "cart",
- "label": "My Discount label",
- "labelDescription": "My Discount description",
- "priority": 1,
- "isEnabled": true,
- "createdAt": "2025-08-18T11:28:43+02:00",
- "updatedAt": "2025-08-18T11:28:43+02:00",
- "startDate": "2025-08-01T00:00:00+02:00",
- "endDate": "2025-08-31T23:59:59+02:00",
- "DiscountRule": {
- "_media-type": "application/vnd.ibexa.api.DiscountRule.FixedAmount+json",
- "type": "fixed_amount",
- "expressionValues": {
- "discount_amount": "12"
}
}, - "DiscountConditions": [
- {
- "_media-type": "application/vnd.ibexa.api.DiscountCondition.IsInCurrency+json",
- "identifier": "is_in_currency",
- "expressionValues": {
- "currency_code": "PLN"
}
}
], - "DiscountTranslations": [
- {
- "_media-type": "application/vnd.ibexa.api.DiscountTranslation+json",
- "languageCode": "eng-GB",
- "name": "My Discount",
- "description": "My Discount description",
- "label": "My Discount label",
- "labelDescription": "My Discount description"
}
]
}
}Returns a discount item by its unique string identifier.
| identifier required | string Example: my_discount_identifier |
{- "Discount": {
- "_media-type": "application/vnd.ibexa.api.Discount+json",
- "id": 2,
- "identifier": "my_discount_identifier",
- "name": "My Discount",
- "type": "cart",
- "label": "My Discount label",
- "labelDescription": "My Discount description",
- "priority": 1,
- "isEnabled": true,
- "createdAt": "2025-08-18T11:28:43+02:00",
- "updatedAt": "2025-08-18T11:28:43+02:00",
- "startDate": "2025-08-01T00:00:00+02:00",
- "endDate": "2025-08-31T23:59:59+02:00",
- "DiscountRule": {
- "_media-type": "application/vnd.ibexa.api.DiscountRule.FixedAmount+json",
- "type": "fixed_amount",
- "expressionValues": {
- "discount_amount": "12"
}
}, - "DiscountConditions": [
- {
- "_media-type": "application/vnd.ibexa.api.DiscountCondition.IsInCurrency+json",
- "identifier": "is_in_currency",
- "expressionValues": {
- "currency_code": "PLN"
}
}
], - "DiscountTranslations": [
- {
- "_media-type": "application/vnd.ibexa.api.DiscountTranslation+json",
- "languageCode": "eng-GB",
- "name": "My Discount",
- "description": "My Discount description",
- "label": "My Discount label",
- "labelDescription": "My Discount description"
}
]
}
}Updates a new discount
| identifier required | string Example: my_discount_identifier |
| X-CSRF-Token required | string CSRF token obtained during the authentication. |
The DiscountUpdate schema
| identifier required | string non-empty |
| priority | integer [ 1 .. 10 ] |
| isEnabled | boolean |
| userId | integer |
| lastContributorId | integer |
object | |
Array of objects | |
| startDate | string <date-time> |
| endDate | string <date-time> |
| createdAt | string <date-time> |
| updatedAt | string <date-time> |
Array of objects non-empty | |
object |
{- "DiscountUpdate": {
- "identifier": "my_discount_identifier",
- "priority": 1,
- "isEnabled": true,
- "userId": 14,
- "lastContributorId": 14,
- "rule": {
- "type": "fixed_amount",
- "amount": "20"
}, - "conditions": [
- {
- "class": "\\Ibexa\\Discounts\\Value\\DiscountCondition\\IsInCurrency",
- "parameters": [
- "PLN"
]
}
], - "startDate": "2025-08-01 00:00:00",
- "endDate": "2025-08-31 23:59:59",
- "createdAt": "2025-07-31 12:00:00",
- "updatedAt": "2025-07-31 12:10:02",
- "translations": [
- {
- "languageCode": "eng-GB",
- "name": "My Discount",
- "description": "My Discount description",
- "label": "My Discount label",
- "labelDescription": "My Discount description"
}
], - "context": {
- "arbitrary_foo_key": "arbitrary_foo_value",
- "arbitrary_bar_key": [
- "arbitrary_bar_value1",
- "arbitrary_bar_value2"
]
}
}
}{- "Discount": {
- "_media-type": "application/vnd.ibexa.api.Discount+json",
- "id": 2,
- "identifier": "my_discount_identifier",
- "name": "My Discount",
- "type": "cart",
- "label": "My Discount label",
- "labelDescription": "My Discount description",
- "priority": 1,
- "isEnabled": true,
- "createdAt": "2025-08-18T11:28:43+02:00",
- "updatedAt": "2025-08-18T11:28:43+02:00",
- "startDate": "2025-08-01T00:00:00+02:00",
- "endDate": "2025-08-31T23:59:59+02:00",
- "DiscountRule": {
- "_media-type": "application/vnd.ibexa.api.DiscountRule.FixedAmount+json",
- "type": "fixed_amount",
- "expressionValues": {
- "discount_amount": "12"
}
}, - "DiscountConditions": [
- {
- "_media-type": "application/vnd.ibexa.api.DiscountCondition.IsInCurrency+json",
- "identifier": "is_in_currency",
- "expressionValues": {
- "currency_code": "PLN"
}
}
], - "DiscountTranslations": [
- {
- "_media-type": "application/vnd.ibexa.api.DiscountTranslation+json",
- "languageCode": "eng-GB",
- "name": "My Discount",
- "description": "My Discount description",
- "label": "My Discount label",
- "labelDescription": "My Discount description"
}
]
}
}Returns a discount item by its ID.
| id required | integer Example: 1 |
{- "Discount": {
- "_media-type": "application/vnd.ibexa.api.Discount+json",
- "id": 2,
- "identifier": "my_discount_identifier",
- "name": "My Discount",
- "type": "cart",
- "label": "My Discount label",
- "labelDescription": "My Discount description",
- "priority": 1,
- "isEnabled": true,
- "createdAt": "2025-08-18T11:28:43+02:00",
- "updatedAt": "2025-08-18T11:28:43+02:00",
- "startDate": "2025-08-01T00:00:00+02:00",
- "endDate": "2025-08-31T23:59:59+02:00",
- "DiscountRule": {
- "_media-type": "application/vnd.ibexa.api.DiscountRule.FixedAmount+json",
- "type": "fixed_amount",
- "expressionValues": {
- "discount_amount": "12"
}
}, - "DiscountConditions": [
- {
- "_media-type": "application/vnd.ibexa.api.DiscountCondition.IsInCurrency+json",
- "identifier": "is_in_currency",
- "expressionValues": {
- "currency_code": "PLN"
}
}
], - "DiscountTranslations": [
- {
- "_media-type": "application/vnd.ibexa.api.DiscountTranslation+json",
- "languageCode": "eng-GB",
- "name": "My Discount",
- "description": "My Discount description",
- "label": "My Discount label",
- "labelDescription": "My Discount description"
}
]
}
}Apply a discount code on a cart given by its identifier.
| cartIdentifier required | string |
| X-CSRF-Token required | string |
The discount code to apply
required | object (DiscountCode) |
{- "DiscountCode": {
- "code": "summer10"
}
}{- "DiscountCode": {
- "_media-type": "application/vnd.ibexa.api.DiscountCode+json",
- "id": 1,
- "code": "summer10",
- "created_at": {
- "date": "2025-06-10 14:14:06.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}
}
}Unapply a discount code from a cart given by its identifier.
| cartIdentifier required | string |
| X-CSRF-Token required | string |
The discount code to drop
required | object (DiscountCode) |
{- "DiscountCode": {
- "code": "summer10"
}
}