Download OpenAPI specification:
Returns a list of all Sections.
Accept required | string If set, the Section list is returned in XML or JSON format. |
If-None-Match required | string ETag |
{- "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.
Accept required | string If set, the new Section is returned in XML or JSON format. |
Content-Type required | string The Section input schema encoded in XML or JSON format. |
The new SectionCreateController resource
required | object (SectionInput) |
{- "SectionInput": {
- "identifier": "string",
- "name": "string"
}
}
{- "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/7",
- "sectionId": 7,
- "identifier": "template",
- "name": "Template"
}
}
Returns the Section by given Section ID.
sectionId required | string |
Accept required | string If set, the Section is returned in XML or JSON format. |
If-None-match required | string ETag |
{- "Section": {
- "_media-type": "application/vnd.ibexa.api.Section+json",
- "_href": "/api/ibexa/v2/content/sections/7",
- "sectionId": 7,
- "identifier": "template",
- "name": "Template"
}
}
Updates a Section. PATCH or POST with header X-HTTP-Method-Override PATCH.
sectionId required | string |
Accept required | string If set, the updated Section is returned in XML or JSON format. |
Content-Type required | string The Section input schema encoded in XML or JSON. |
If-Match required | string ETag |
The updated SectionUpdateController resource
required | object (SectionInput) |
{- "SectionInput": {
- "identifier": "string",
- "name": "string"
}
}
{- "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.
Accept required | string Content - If set, all information for the content item including the embedded current version is returned in XML or JSON format. ContentInfo - If set, all information for the content item (excluding the current version) is returned in XML or JSON format. |
Content-Type required | string The ContentCreate schema encoded in XML or JSON format. |
The new ContentCreateController resource
required | object (ContentCreate) This class is used for creating a new content item. |
{- "ContentCreate": {
- "ContentType": {
- "_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"
}
}, - "Section": {
- "_href": "string"
}, - "User": 0,
- "alwaysAvailable": "string",
- "remoteId": "string",
- "mainLanguageCode": "string",
- "modificationDate": "2019-08-24T14:15:22Z",
- "LocationCreate": { },
- "fields": {
- "field": [
- { }
]
}
}
}
{- "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"
}
}
}
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 |
Accept required | string Enum: "application/vnd.ibexa.api.Content+xml" "application/vnd.ibexa.api.Content+json" "application/vnd.ibexa.api.ContentInfo+xml" "application/vnd.ibexa.api.ContentInfo+json"
|
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 |
Accept required | string If set, all information for the content item (excluding the current version) is returned in XML or JSON format. |
If-match required | string Causes to patch only if the specified ETag is the current one. Otherwise a 412 is returned. |
Content-Type required | string The ContentUpdate schema encoded in XML or JSON format. |
The updated ContentMetadataUpdateController resource
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"
}
}
}
}
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Content media-type=\"application/vnd.ibexa.api.ContentInfo+xml\" href=\"/api/ibexa/v2/content/objects/80\" remoteId=\"69848aeb86164c35e5c98202eebe9e05\" id=\"80\">\n <ContentType media-type=\"application/vnd.ibexa.api.ContentType+xml\" href=\"/api/ibexa/v2/content/types/2\"/>\n <Name>article1</Name>\n <Versions media-type=\"application/vnd.ibexa.api.VersionList+xml\" href=\"/api/ibexa/v2/content/objects/80/versions\"/>\n <CurrentVersion media-type=\"application/vnd.ibexa.api.Version+xml\" href=\"/api/ibexa/v2/content/objects/80/currentversion\"/>\n <Section media-type=\"application/vnd.ibexa.api.Section+xml\" href=\"/api/ibexa/v2/content/sections/1\"/>\n <MainLocation media-type=\"application/vnd.ibexa.api.Location+xml\" href=\"/api/ibexa/v2/content/locations/1/2/63/66\"/>\n <Locations media-type=\"application/vnd.ibexa.api.LocationList+xml\" href=\"/api/ibexa/v2/content/objects/80/locations\"/>\n <Owner media-type=\"application/vnd.ibexa.api.User+xml\" href=\"/api/ibexa/v2/user/users/11\"/>\n <lastModificationDate>2019-02-19T15:00:34+01:00</lastModificationDate>\n <publishedDate>2019-02-19T15:00:34+01:00</publishedDate>\n <mainLanguageCode>eng-GB</mainLanguageCode>\n <currentVersionNo>1</currentVersionNo>\n <alwaysAvailable>false</alwaysAvailable>\n <ObjectStates media-type=\"application/vnd.ibexa.api.ContentObjectStates+xml\" href=\"/api/ibexa/v2/content/objects/80/objectstates\"/>\n</Content>\n"
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/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 current version. COPY or POST with header X-HTTP-Method-Override COPY.
contentId required | string |
Accept required | string If set, the updated version is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the Location list is returned in XML or JSON format. |
If-None-Match required | 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 |
Accept required | string If set, the new Location is returned in XML or JSON format. |
Content-Type required | string The LocationCreate schema encoded in XML or JSON format. |
The new LocationCreateController resource
required | object (LocationCreate) |
{- "LocationCreate": {
- "_media-type": "string",
- "_href": "string",
- "ParentLocation": {
- "_href": "string"
}, - "priority": "string",
- "hidden": "string",
- "sortField": "string",
- "sortOrder": "string"
}
}
{- "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 |
Accept required | string If set, the Object states are returned in XML or JSON format. |
If-None-Match required | string ETag |
{- "ObjectState": [
- {
- "_href": "string"
}
]
}
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 |
Accept required | string If set, the updated Object state is returned in XML or JSON format. |
Content-Type required | string The content item Object states input schema encoded in XML or JSON format. |
If-Match required | string ETag |
The updated ObjectStatesForContentUpdateController resource
required | object (ContentObjectStates) Represents a list of object states. |
{- "ContentObjectStates": {
- "ObjectState": [
- {
- "_href": "string"
}
]
}
}
{- "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"
}
]
}
}
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 |
Accept required | string If set, the version list is returned in XML or JSON format. |
{- "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 required | string Only return the version if the given ETag is the not current one, otherwise a 304 is returned. |
Accept required | string If set, the version list is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the updated version is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the updated version is returned in XML or JSON format. |
If-match required | string Performs the patch only if the specified ETag is the current one. |
Content-Type required | string The VersionUpdate schema encoded in XML or JSON format. |
The updated ContentVersionUpdateController resource
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 |
Accept required | string If set, the Relation is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the updated version is returned in XML or JSON format. |
Content-Type required | string The RelationCreate schema encoded in XML or JSON format. |
The new ContentRelationCreateController resource
required | object (RelationCreate) |
{- "RelationCreate": {
- "Destination": {
- "_href": "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"
}
}
Loads a Relation for the given content item.
contentId required | string |
versionNo required | string |
relationId required | string |
Accept required | string If set, the Relation is returned in XML or JSON format. |
{- "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.
Accept required | string If set, the content type group list is returned in XML or JSON format. |
{- "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.
Accept required | string If set, the new content type group is returned in XML or JSON format. |
Content-Type required | string The content type group input schema encoded in XML or JSON. |
The new ContentTypeGroupCreateController resource
ContentTypeGroupInput required | object (ContentTypeGroupInput) |
{- "ContentTypeGroupInput": { }
}
{- "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 the content type group with provided ID.
contentTypeGroupId required | string |
Accept required | string If set, the content type group is returned in XML or JSON format. |
If-None-Match required | 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": [ ]
}, - "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": [ ]
}
]
}
}
]
}
}
Updates a content type group. PATCH or POST with header X-HTTP-Method-Override PATCH.
contentTypeGroupId required | string |
Accept required | string If set, the updated content type group is returned in XML or JSON format. |
Content-Type required | string The content type group input schema encoded in XML or JSON format. |
If-Match required | string ETag causes patching only if the specified ETag is the current one. Otherwise a 412 is returned. |
The updated ContentTypeGroupUpdateController resource
ContentTypeGroupInput required | object (ContentTypeGroupInput) |
{- "ContentTypeGroupInput": { }
}
{- "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 |
Accept required | string If set, the list of content type info objects or content types (including Field definitions) is returned in XML or JSON format. |
{- "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": [ ]
}
]
}
}
]
}
}
Creates a new content type draft in the given content type group.
contentTypeGroupId required | string |
Accept required | string If set, the new content type or draft is returned in XML or JSON format. |
Content-Type required | string The content type Create schema encoded in XML or JSON format. |
The new ContentTypeCreateController resource
required | object (ContentTypeCreate) This class is used to create a content type. |
{- "ContentTypeCreate": {
- "identifier": "string",
- "mainLanguageCode": "string",
- "remoteId": "string",
- "urlAliasSchema": "string",
- "nameSchema": "string",
- "isContainer": true,
- "defaultSortField": null,
- "defaultSortOrder": null,
- "defaultAlwaysAvailable": true,
- "names": {
- "value": [
- {
- "_languageCode": "string",
- "#text": "string"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "string",
- "#text": "string"
}
]
}, - "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
}
}, - "creatorId": null,
- "creationDate": "2019-08-24T14:15:22Z"
}
}
{- "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
}
}
Returns a list of content types.
Accept required | string If set, the list of content type info objects or content types (including Field definitions) is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the content type is returned in XML or JSON format. |
If-None-Match required | 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 |
Accept required | string If set, the new content type draft is returned in XML or JSON format. |
Content-Type required | string The content type Update schema encoded in XML or JSON format. |
The new ContentTypeDraftCreateController resource
required | object (ContentTypeUpdate) This class is used to update a content type. |
{- "ContentTypeUpdate": {
- "_media-type": "string",
- "_href": "string",
- "identifier": "string",
- "mainLanguageCode": "string",
- "remoteId": "string",
- "urlAliasSchema": "string",
- "nameSchema": "string",
- "isContainer": true,
- "defaultSortField": null,
- "defaultSortOrder": null,
- "defaultAlwaysAvailable": "string",
- "names": {
- "value": [
- {
- "_languageCode": "string",
- "#text": "string"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "string",
- "#text": "string"
}
]
}, - "modifierId": null,
- "modificationDate": "2019-08-24T14:15:22Z"
}
}
{- "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 the draft of the content type with the provided ID.
contentTypeId required | string |
Accept required | string If set, the content type is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the new content type draft is returned in XML or JSON format. |
Content-Type required | string The content type update schema encoded in XML or JSON format. |
The updated ContentTypeDraftUpdateController resource
required | object (ContentTypeUpdate) This class is used to update a content type. |
{- "ContentTypeUpdate": {
- "_media-type": "string",
- "_href": "string",
- "identifier": "string",
- "mainLanguageCode": "string",
- "remoteId": "string",
- "urlAliasSchema": "string",
- "nameSchema": "string",
- "isContainer": true,
- "defaultSortField": null,
- "defaultSortOrder": null,
- "defaultAlwaysAvailable": "string",
- "names": {
- "value": [
- {
- "_languageCode": "string",
- "#text": "string"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "string",
- "#text": "string"
}
]
}, - "modifierId": null,
- "modificationDate": "2019-08-24T14:15:22Z"
}
}
{- "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 |
Accept required | string If set, the Field definitions are returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the new Field definition is returned in XML or JSON format. |
Content-Type required | string The Field Definition Create schema encoded in XML or JSON format. |
The new ContentTypeDraftFieldDefinitionAddController resource
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 |
Accept required | string If set, the Field definition is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the updated Field definition is returned in XML or JSON format. |
Content-Type required | string The Field definition update schema encoded in XML or JSON format. |
The updated ContentTypeDraftFieldDefinitionUpdateController resource
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 |
Accept required | string If set, the Field definitions are returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the Field definition is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the content type group list is returned in XML or JSON format. |
{- "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"
}
}
]
}
}
Links a content type group to the content type and returns the updated group list.
contentTypeId required | string |
Accept required | string If set, the updated content type group list is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the updated content type group list is returned in XML or JSON format. |
{- "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",
- "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",
- "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",
- "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",
- "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",
- "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",
- "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": "string",
- "email": "string",
- "password": "string",
- "enabled": true,
- "maxLogin": 0,
- "ContentUpdate": null,
- "ContentMetadataUpdate": null
}
}
{- "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",
- "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",
- "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 |
Accept required | string If set, the Role assignment list is returned in XML or JSON format. |
{- "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"
}
}
]
}
}
Assigns a Role to a user.
userId required | string |
Accept required | string If set, the updated Role assignment list is returned in XML or JSON format. |
Content-Type required | string The RoleAssignInput schema encoded in XML or JSON format. |
The new RoleAssignToUserController resource
required | object (RoleAssignInput) This class represents a Role assign input. |
{- "RoleAssignInput": {
- "Role": {
- "_media-type": "string",
- "_href": "string"
}, - "limitation": {
- "_identifier": "ContentType",
- "values": {
- "ref": [
- {
- "_media-type": "string",
- "_href": "string"
}
]
}
}
}
}
{- "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"
}
}
]
}
}
Returns a Role assignment to the given User.
userId required | string |
roleId required | string |
Accept required | string If set, the Role assignment list is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the updated Role assignment list is returned in XML or JSON format. |
{- "RoleAssignmentList": {
- "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json",
- "_href": "/api/ibexa/v2/user/users/57/roles",
- "RoleAssignment": [
- {
- "_media-type": "application/vnd.ibexa.api.RoleAssignment+json",
- "_href": "/api/ibexa/v2/user/users/57/roles/1",
- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/1"
}
}, - {
- "_media-type": "application/vnd.ibexa.api.RoleAssignment+json",
- "_href": "/api/ibexa/v2/user/users/57/roles/2",
- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/2"
}
}
]
}
}
Return user's segment list.
userId required | string |
Accept required | string If set, the user's segment list is returned in XML or JSON format. |
{- "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",
- "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 |
Content-Type required | string The UserSegmentAssignInput schema encoded in XML or JSON format. |
The new UserSegmentAssignController resource
UserSegmentAssignInput required | any |
{- "UserSegmentAssignInput": null
}
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",
- "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": "string",
- "remoteId": "string",
- "fields": {
- "field": [
- {
- "id": 0,
- "fieldDefinitionIdentifier": "string",
- "languageCode": "string",
- "fieldTypeIdentifier": "string",
- "fieldValue": null
}
]
}
}
}
{- "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": "string"
}
}
}
{- "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 |
Accept required | string If set, the Role assignment list is returned in XML or JSON format. |
{- "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"
}
}
]
}
}
Assigns a Role to a User Group.
path required | string |
Accept required | string If set, the updated Role assignment list is returned in XML or JSON format. |
Content-Type required | string The RoleAssignInput schema encoded in XML or JSON format. |
The new RoleAssignToUserGroupController resource
required | object (RoleAssignInput) This class represents a Role assign input. |
{- "RoleAssignInput": {
- "Role": {
- "_media-type": "string",
- "_href": "string"
}, - "limitation": {
- "_identifier": "ContentType",
- "values": {
- "ref": [
- {
- "_media-type": "string",
- "_href": "string"
}
]
}
}
}
}
{- "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"
}
}
]
}
}
Returns a Role assignment of the given User Group.
path required | string |
roleId required | string |
Accept required | string If set, the Role assignment list is returned in XML or JSON format. |
{- "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 or User Group.
path required | string |
roleId required | string |
Accept required | string If set, the updated Role assignment list is returned in XML or JSON format. |
{- "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"
}
}
]
}
}
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",
- "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": "string",
- "remoteId": "string",
- "fields": {
- "field": [
- {
- "id": 0,
- "fieldDefinitionIdentifier": "string",
- "languageCode": "string",
- "fieldTypeIdentifier": "string",
- "fieldValue": null
}
]
}
}
}
{- "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",
- "User": [
- {
- "_media-type": "string",
- "_href": "string",
- "_id": 0,
- "_remoteId": "string",
- "ContentType": {
- "_media-type": "string",
- "_href": "string"
}, - "name": "string",
- "Versions": {
- "_media-type": "string",
- "_href": "string"
}, - "Section": {
- "_media-type": "string",
- "_href": "string"
}, - "MainLocation": {
- "_media-type": "string",
- "_href": "string"
}, - "Locations": {
- "_media-type": "string",
- "_href": "string"
}, - "Groups": {
- "_media-type": "string",
- "_href": "string"
}, - "Owner": {
- "_media-type": "string",
- "_href": "string"
}, - "publishDate": "2019-08-24T14:15:22Z",
- "lastModificationDate": "2019-08-24T14:15:22Z",
- "mainLanguageCode": "string",
- "alwaysAvailable": true,
- "Version": null,
- "login": "string",
- "email": "string",
- "enabled": true,
- "UserGroups": {
- "_media-type": "string",
- "_href": "string"
}, - "Roles": {
- "_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": "string",
- "remoteId": "string",
- "login": "string",
- "email": "string",
- "password": "string",
- "enabled": true
}
}
{- "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",
- "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",
- "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"
}
}
}
Returns a list of all Roles.
Accept required | string If set, the user list returned in XML or JSON format. |
{- "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.
Accept required | string If set, the new user is returned in XML or JSON format. |
Content-Type required | string The RoleInput schema encoded in XML or JSON. |
The new RoleCreateController resource
required | object (RoleInput) This class represents a Role input. |
{- "RoleInput": {
- "identifier": "string"
}
}
{- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/6",
- "identifier": "UpdatedIdentifier",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/6/policies"
}
}
}
Loads a Role for the given ID.
id required | string |
Accept required | string If set, the user list returned in XML or JSON format. |
If-None-Match required | string ETag |
{- "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"
}
}
}
Creates a new Role draft from an existing Role.
id required | string |
Accept required | string If set, the new user is returned in XML or JSON format. |
Content-Type required | string The RoleInput schema encoded in XML or JSON. |
{- "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"
}
}
}
Updates a Role. PATCH or POST with header X-HTTP-Method-Override PATCH
id required | string |
Accept required | string If set, the new user is returned in XML or JSON format. |
Content-Type required | string The RoleInput schema encoded in XML or JSON format. |
If-Match required | string ETag Causes to patch only if the specified ETag is the current one. Otherwise a 412 is returned. |
The updated RoleUpdateController resource
required | object (RoleInput) This class represents a Role input. |
{- "RoleInput": {
- "identifier": "string"
}
}
{- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/6",
- "identifier": "UpdatedIdentifier",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/6/policies"
}
}
}
Loads a Role draft by original Role ID.
id required | string |
Accept required | string If set, the User list returned in XML or JSON format. |
If-None-Match required | string ETag |
{- "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"
}
}
}
Updates a Role draft. PATCH or POST with header X-HTTP-Method-Override PATCH.
id required | string |
Accept required | string If set, the updated Role is returned in XML or JSON format. |
Content-Type required | string The RoleInput schema encoded in XML or JSON format. |
If-Match required | string Performs a PATCH only if the specified ETag is the current one. Otherwise a 412 is returned. |
The updated RoleDraftUpdateController resource
required | object (RoleInput) This class represents a Role input. |
{- "RoleInput": {
- "identifier": "string"
}
}
{- "Role": {
- "_media-type": "application/vnd.ibexa.api.Role+json",
- "_href": "/api/ibexa/v2/user/roles/6",
- "identifier": "UpdatedIdentifier",
- "Policies": {
- "_media-type": "application/vnd.ibexa.api.PolicyList+json",
- "_href": "/api/ibexa/v2/user/roles/6/policies"
}
}
}
Loads Policies for the given Role.
id required | string |
Accept required | string If set, the Policy list is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the updated Policy is returned in XML or JSON format. |
Content-Type required | string If set, the updated Policy is returned in XML or JSON format. |
The new RolePolicyCreateController resource
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 |
Accept required | string If set, the Policy is returned in XML or JSON format. |
If-None-Match required | 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 |
Accept required | string If set, the updated Policy is returned in XML or JSON format. |
Content-Type required | string If set, the updated Policy is returned in XML or JSON format. |
If-Match required | string Causes to patch only if the specified ETag is the current one. Otherwise a 412 is returned. |
The updated RolePolicyUpdateController resource
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"
}
}
Search all Policies which are applied to a given User.
Accept required | string If set, the Policy list is returned in XML or JSON format. |
{- "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"
}
]
}
}
Lists languages
Accept required | string If set, the list is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the language is returned in XML or JSON format. |
{- "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.
Accept required | string |
{- "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"
}
}
}
}
}
Loads the Location for the given path e.g. '/content/locations/1/2/61'.
path required | string |
Accept required | string If set, the new Location is returned in XML or JSON format. |
If-None-Match required | string ETag |
{- "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"
}
}
}
}
}
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 |
Accept required | string If set, the Location is returned in XML or JSON format. |
Content-Type required | string The LocationUpdate schema encoded in XML or JSON format. |
If-Match required | string ETag |
The updated LocationUpdateController resource
required | object (LocationUpdateStruct) This class is used for updating Location meta data. |
{- "LocationUpdate": {
- "priority": "string",
- "remoteId": "string",
- "hidden": true,
- "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"
}
}
}
}
}
Loads all child Locations for the given parent Location.
path required | string |
Accept required | string If set, the new Location list is returned in XML or JSON format. |
{- "LocationList": {
- "_media-type": "string",
- "_href": "string",
- "Location": [
- {
- "_media-type": "string",
- "_href": "string"
}
]
}
}
Returns the list of URL aliases for a Location.
path required | string |
Accept required | string If set, the URL alias list contains only references and is returned in XML or JSON format. |
{- "UrlAliasRefList": {
- "_media-type": "string",
- "_href": "string",
- "UrlAlias": [
- {
- "_media-type": "string",
- "_href": "string"
}
]
}
}
Returns a list of all Object state groups.
Accept required | string If set, the Object state group list is returned in XML or JSON format. |
If-None-Match required | 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.
Accept required | string If set, the new Object state group is returned in XML or JSON format. |
Content-Type required | string The Object state group input schema encoded in XML or JSON format. |
The new ObjectStateGroupCreateController resource
required | object (ObjectStateGroupCreate) This class represents a value for creating Object state groups. |
{- "ObjectStateGroupCreate": {
- "identifier": "string",
- "defaultLanguageCode": "string",
- "names": null,
- "descriptions": null
}
}
{- "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 the Object state group with the provided ID.
objectStateGroupId required | string |
Accept required | string If set, the Object state group is returned in XML or JSON format. |
If-None-Match required | 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": "New Custom State name"
}
]
}, - "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 |
Accept required | string If set, the updated Object state group is returned in XML or JSON format. |
Content-Type required | string The Object state group input schema encoded in XML or JSON format. |
If-Match required | string ETag |
The updated ObjectStateGroupUpdateController resource
required | object (ObjectStateGroupUpdate) This class represents a value for updating Object state groups. |
{- "ObjectStateGroupUpdate": {
- "identifier": "string",
- "defaultLanguageCode": "string",
- "names": null,
- "descriptions": null
}
}
{- "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 |
Accept required | string If set, the Object state list is returned in XML or JSON format. |
If-None-Match required | 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 |
Accept required | string If set, the new Object state is returned in XML or JSON format. |
Content-Type required | string The Object state input schema encoded in XML or JSON format. |
The new ObjectStateCreateController resource
required | object (ObjectStateCreate) This class represents a value for creating Object states. |
{- "ObjectStateCreate": {
- "identifier": "string",
- "priority": "string",
- "defaultLanguageCode": "string",
- "languageCodes": "string",
- "names": {
- "value": [
- {
- "_languageCode": "string",
- "#text": "string"
}
]
}, - "descriptions": {
- "value": [
- {
- "_languageCode": "string",
- "#text": "string"
}
]
}
}
}
{- "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": ""
}
]
}
}
}
Returns the Object state.
objectStateGroupId required | string |
objectStateId required | string |
Accept required | string If set, the Object State is returned in XML or JSON format. |
If-None-Match required | string ETag |
{- "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": ""
}
]
}
}
}
Updates an Object state. PATCH or POST with header X-HTTP-Method-Override PATCH.
objectStateGroupId required | string |
objectStateId required | string |
Accept required | string If set, the updated Object state is returned in XML or JSON format. |
Content-Type required | string The Object state input schema encoded in XML or JSON format. |
If-Match required | string ETag |
The updated ObjectStateUpdateController resource
required | object (ObjectStateUpdate) This class represents a value for updating Object states. |
{- "ObjectStateUpdate": {
- "identifier": "string",
- "defaultLanguageCode": "string",
- "names": null,
- "descriptions": null
}
}
{- "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": ""
}
]
}
}
}
Returns a list of all items in the Trash.
Accept required | string If set, the Trash item list is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the item in Trash is returned in XML or JSON format. |
{- "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"
}
}
}
}
}
Returns a list of URL wildcards.
Accept required | string If set, the URL wildcard is returned in XML or JSON format. |
{- "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.
Accept required | string If set, the new URL wildcard is returned in XML or JSON format. |
Content-Type required | string The URL Wildcard input schema encoded in XML or JSON format. |
The new URLWildcardCreateController resource
required | object (UrlWildcardCreate) Creates a new URL wildcard. |
{- "URLWildcardCreate": {
- "sourceUrl": "string",
- "destinationUrl": "string",
- "forward": "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
}
}
Returns the URL wildcard with the given ID.
wildcardId required | string |
Accept required | string If set, the URL wildcard is returned in XML or JSON format. |
{- "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
}
}
Returns the list of global URL aliases.
Accept required | string If set, the URL alias list contains only references and is returned in XML or JSON format. |
{- "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.
Accept required | string If set, the created URL alias is returned in XML or JSON format. |
Content-Type required | string The URL alias input schema encoded in XML or JSON format. |
The new URLAliasCreateController resource
required | object (UrlAliasCreate) |
{- "UrlAliasCreate": {
- "_type": "string",
- "location": {
- "_href": "string"
}, - "resource": "string",
- "languageCode": "string",
- "alwaysAvailable": "string",
- "forward": "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
}
}
Returns the URL alias with the given ID.
urlAliasId required | string |
Accept required | string If set, the URL alias is returned in XML or JSON format. |
{- "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
Accept required | string The view in XML or JSON format. |
Content-Type required | string The view input in XML or JSON format. |
The new Views resource
required | object (ViewInput) This class represents a View input. |
{- "ViewInput": {
- "identifier": "string",
- "languageCode": "string",
- "useAlwaysAvailable": "string",
- "Query": {
- "Filter": {
- "operator": "string",
- "value": [
- null
], - "target": "string",
- "valueData": null,
- "Specifications": [
- {
- "operator": "string",
- "valueFormat": "string",
- "valueTypes": 0,
- "valueCount": 0
}
]
}, - "Query": {
- "operator": "string",
- "value": [
- null
], - "target": "string",
- "valueData": null,
- "Specifications": [
- {
- "operator": "string",
- "valueFormat": "string",
- "valueTypes": 0,
- "valueCount": 0
}
]
}, - "sortClauses": [
- {
- "direction": "string",
- "target": "string",
- "targetData": { }
}
], - "facetBuilders": [
- {
- "name": "string",
- "global": true,
- "filter": {
- "operator": "string",
- "value": [
- null
], - "target": "string",
- "valueData": null,
- "Specifications": [
- {
- "operator": "string",
- "valueFormat": "string",
- "valueTypes": 0,
- "valueCount": 0
}
]
}, - "limit": 0,
- "minCount": 0
}
], - "offset": 0,
- "limit": 0,
- "spellcheck": true,
- "performCount": true
}
}
}
<?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": {
- "_media-type": "string",
- "_href": "string",
- "login": "string",
- "password": "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"
}
}
}
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"
}
}
}
Lists bookmarked Locations for the current user.
Accept required | string If set, the list is returned in XML or JSON format. |
{- "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.
Accept required | string If set, the token is returned in XML or JSON format. |
Content-Type required | string The SessionInput schema encoded in XML or JSON format. |
The new JWT resource
required | object (JWTInput) This class represents the input for a JWT authentication token |
{- "JWTInput": {
- "_media-type": "string",
- "_href": "string",
- "username": "string",
- "password": "string"
}
}
{- "JWT": {
- "_media-type": "application/vnd.ibexa.api.JWT+json",
- "_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MDI4NDA3ODAsImV4cCI6MTYwMjg0NDM4MCwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoiYWRtaW4ifQ.0LHa799HwSwwfDBZd2V0q2xHwGt86PpyZamKnXHQyYI",
- "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MDI4NDA3ODAsImV4cCI6MTYwMjg0NDM4MCwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoiYWRtaW4ifQ.0LHa799HwSwwfDBZd2V0q2xHwGt86PpyZamKnXHQyYI"
}
}
Calendar event list.
Accept required | string If set, the calendar event list is returned in XML or JSON format. |
{- "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.
Accept required | string If set, the calendar event list grouped by day is returned in XML or JSON format. |
{- "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 |
Content-Type required | string |
The new EventExecuteActionController resource
required | object (UnscheduleAction) This class represents events to unschedule |
{- "UnscheduleAction": {
- "events": [
- "string"
]
}
}
Loads list of all attributes. Deprecated as of Ibexa DXP 4.3, use POST /product/catalog/attributes/view instead.
Accept required | string AttributeList - If set, the attributes list is returned in XML or JSON format. |
{- "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.
Accept required | string If set, the new attribute is returned in XML or JSON format. |
Content-Type required | string The attribute schema encoded in XML or JSON format. |
The new AttributeCreateController resource
required | object (AttributeCreate) This class is used to create an attribute. |
{- "AttributeCreate": {
- "identifier": "string",
- "type": "string",
- "group": "string",
- "names": { },
- "descriptions": { },
- "position": 0,
- "options": { }
}
}
{- "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": [ ]
}
}
Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API.
Accept required | string The view in XML or JSON format. |
Content-Type required | string The view input in XML or JSON format. |
The new AttributeViewController resource
required | object (AttributeViewInput) This class represents an attribute view input. |
{- "ViewInput": {
- "identifier": "string",
- "AttributeQuery": { }
}
}
{- "AttributeView": {
- "_media-type": "application/vnd.ibexa.api.AttributeView+json",
- "identifier": "TitleView",
- "AttributeQuery": {
- "_media-type": "application/vnd.ibexa.api.AttributeQuery+json"
}, - "Result": {
- "_media-type": "application/vnd.ibexa.api.ViewResult+json",
- "count": 1,
- "AttributeList": {
- "_media-type": "application/vnd.ibexa.api.AttributeList+json",
- "Attribute": [
- {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "measure",
- "name": "measure",
- "description": "",
- "type": "Measurement",
- "type_identifier": "measurement",
- "group": "Test Attribute group",
- "position": 0,
- "options": {
- "type": "length",
- "unit": "centimeter",
- "measurementRange": {
- "minimum": 12,
- "maximum": 15
}, - "measurementDefaultRange": {
- "defaultRangeMinimumValue": null,
- "defaultRangeMaximumValue": null
}
}
}
]
}
}
}
}
Loads given attribute.
id required | string |
Accept required | string Attribute - If set, the given attribute is returned in XML or JSON format. |
{- "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": [ ]
}
}
Updates an attribute.
id required | string |
group_id required | string |
Accept required | string If set, the updated attribute is returned in XML or JSON format. |
Content-Type required | string If set, the updated attribute group is returned in XML or JSON format. |
The updated AttributeUpdateController resource
required | object (AttributeUpdate) This class is used to update an attribute. |
{- "AttributeUpdate": {
- "identifier": "string",
- "names": { },
- "descriptions": { },
- "position": 0,
- "options": { }
}
}
{- "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": [ ]
}
}
Gets an Attribute Type by its identifier.
identifier required | string |
Accept required | string If set, the Attribute Type is returned in XML or JSON format. |
{- "AttributeType": {
- "identifier": "string",
- "name": "string"
}
}
Returns a list of attribute groups. Deprecated as of Ibexa DXP 4.3, use POST /product/catalog/attribute_groups/view instead.
Accept required | string AttributeGroupList - If set, the attribute group list is returned in XML or JSON format. |
Content-Type required | string The AttributeGroupListGet schema encoded in XML or JSON format. |
required | object (AttributeGroupListGet) This class represents an attribute group list request. |
{- "AttributeGroupListGet": {
- "prefix": "string",
- "offset": 0,
- "limit": 0
}
}
{- "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.
Accept required | string If set, the new attribute group is returned in XML or JSON format. |
Content-Type required | string The AttributeGroup schema encoded in XML or JSON format. |
The new AttributeGroupCreateController resource
required | object (AttributeGroupCreate) This class is used to create an attribute group. |
{- "AttributeGroupCreate": {
- "identifier": "string",
- "names": { },
- "position": 0
}
}
{- "AttributeGroup": {
- "_media-type": "application/vnd.ibexa.api.AttributeGroup+json",
- "name": "Colors Group",
- "identifier": "ag_colors",
- "position": 0
}
}
Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API.
Accept required | string The view in XML or JSON format. |
Content-Type required | string The view input in XML or JSON format. |
The new AttributeGroupViewController resource
required | object (AttributeGroupViewInput) This class represents an attribute group view input. |
{- "ViewInput": {
- "identifier": "string",
- "AttributeGroupQuery": {
- "limit": "string",
- "offset": "string",
- "name_prefix": "string"
}
}
}
{- "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 |
Accept required | string AttributeGroupGet - If set, the attribute group List is returned in XML or JSON format. |
Content-Type required | string An optional AttributeGroupGet schema encoded in XML or JSON format. |
required | object (AttributeGroupGet) This class represents an attribute group query. |
{- "AttributeGroupGet": {
- "languages": [
- "string"
]
}
}
{- "AttributeGroup": {
- "_media-type": "application/vnd.ibexa.api.AttributeGroup+json",
- "name": "Colors Group",
- "identifier": "ag_colors",
- "position": 0
}
}
Updates an attribute group.
id required | string |
Accept required | string If set, the updated attribute group is returned in XML or JSON format. |
Content-Type required | string The attribute group update schema is sent in XML or JSON format. |
The updated AttributeGroupUpdateController resource
required | object (AttributeGroupUpdate) This class is used to update an attribute group. |
{- "AttributeGroupUpdate": {
- "identifier": "string",
- "names": { },
- "position": 0
}
}
{- "AttributeGroup": {
- "_media-type": "application/vnd.ibexa.api.AttributeGroup+json",
- "name": "Colors Group",
- "identifier": "ag_colors",
- "position": 0
}
}
Creates a new catalog.
Accept required | string If set, the new catalog is returned in XML or JSON format. |
Content-Type required | string The catalog schema encoded in XML or JSON format. |
The new CatalogCreateController resource
required | object (CatalogCreate) This class is used to create a catalog. |
{- "CatalogCreate": {
- "identifier": "string",
- "criteria": {
- "operator": "string",
- "value": [
- null
], - "target": "string",
- "valueData": null,
- "Specifications": [
- {
- "operator": "string",
- "valueFormat": "string",
- "valueTypes": 0,
- "valueCount": 0
}
]
}, - "names": { },
- "descriptions": { },
- "status": "string",
- "creator_id": 0
}
}
{- "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 |
Accept required | string If set, the copied catalog is returned in XML or JSON format. |
Content-Type required | string If set, the copied catalog is returned in XML or JSON format. |
The new CatalogCopyController resource
required | object (CatalogCopy) This class is used to copy a catalog. |
{- "CatalogCopy": {
- "identifier": "string",
- "creator_id": 0
}
}
{- "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": ">="
}
}
]
}
}
Loads product filters available for catalogs.
Accept required | string If set, the filters are returned in XML or JSON format. |
{- "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"
}
]
}
}
Loads product sort clauses available for catalogs.
Accept required | string If set, the clauses are returned in XML or JSON format. |
{- "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.
Accept required | string The view in XML or JSON format. |
Content-Type required | string The view input in XML or JSON format. |
The new CatalogViewController resource
required | object (CatalogViewInput) This class represents a catalog view input. |
{- "ViewInput": {
- "CatalogQuery": { }
}
}
{- "CatalogView": {
- "_media-type": "application/vnd.ibexa.api.CatalogView+json",
- "identifier": "TitleView",
- "CatalogQuery": {
- "_media-type": "application/vnd.ibexa.api.CatalogQuery+json"
}, - "Result": {
- "_media-type": "application/vnd.ibexa.api.ViewResult+json",
- "count": 1,
- "CatalogList": {
- "_media-type": "application/vnd.ibexa.api.CatalogList+json",
- "Catalog": [
- {
- "_media-type": "application/vnd.ibexa.api.Catalog+json",
- "identifier": "test",
- "name": "test",
- "description": "",
- "User": {
- "_media-type": "application/vnd.ibexa.api.User+json",
- "_href": "/api/ibexa/v2/user/users/14"
}, - "created": 1665479475,
- "modified": 1665479475,
- "status": "draft",
- "Criteria": [
- {
- "_media-type": "application/vnd.ibexa.api.ProductCode+json",
- "ProductCodeCriterion": {
- "_media-type": "application/vnd.ibexa.api.ProductCodeCriterion+json",
- "codes": [
- "test"
]
}
}
]
}
]
}
}
}
}
Loads the given catalog.
identifier required | string |
Accept required | string If set, the catalog is returned in XML or JSON format. |
{- "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": ">="
}
}
]
}
}
Updates a catalog.
identifier required | string |
Accept required | string If set, the updated catalog is returned in XML or JSON format. |
Content-Type required | string If set, the updated catalog is returned in XML or JSON format. |
The updated CatalogUpdateController resource
required | object (CatalogUpdate) This class is used to update a catalog. |
{- "CatalogUpdate": {
- "identifier": "string",
- "transition": "string",
- "criteria": {
- "operator": "string",
- "value": [
- null
], - "target": "string",
- "valueData": null,
- "Specifications": [
- {
- "operator": "string",
- "valueFormat": "string",
- "valueTypes": 0,
- "valueCount": 0
}
]
}, - "names": { },
- "descriptions": { }
}
}
{- "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": ">="
}
}
]
}
}
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 |
Accept required | string The view in XML or JSON format. |
Content-Type required | string The view input in XML or JSON format. |
The new CatalogProductsViewController resource
required | object (ProductViewInput) This class represents a product view input. |
{- "ViewInput": {
- "ProductQuery": { }
}
}
{- "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 list of currencies.
Accept required | string CurrencyList - If set, the currency list returned in XML or JSON format. |
{- "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.
Accept required | string If set, the new currency is returned in JSON format. |
Content-Type required | string The Currency schema encoded in XML or JSON format. |
The new CurrencyCreateController resource
required | object (CurrencyCreate) This class is used to create currency. |
{- "CurrencyCreate": {
- "code": "string",
- "subunits": 0,
- "enabled": true
}
}
{- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 1,
- "code": "AFN",
- "subunits": 1,
- "enabled": false
}
}
Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API.
Accept required | string The view in XML or JSON format. |
Content-Type required | string The view input in XML or JSON format. |
The new CurrencyViewController resource
required | object (CurrencyViewInput) This class represents a currency view input. |
{- "ViewInput": {
- "CurrencyQuery": { }
}
}
{- "CurrencyView": {
- "_media-type": "application/vnd.ibexa.api.CurrencyView+json",
- "identifier": "TitleView",
- "CurrencyQuery": {
- "_media-type": "application/vnd.ibexa.api.CurrencyQuery+json"
}, - "Result": {
- "_media-type": "application/vnd.ibexa.api.ViewResult+json",
- "count": 179,
- "CurrencyList": {
- "_media-type": "application/vnd.ibexa.api.CurrencyList+json",
- "Currency": [
- {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 1,
- "code": "AFN",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 2,
- "code": "EUR",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 3,
- "code": "ALL",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 4,
- "code": "DZD",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 5,
- "code": "USD",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 6,
- "code": "AOA",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 7,
- "code": "XCD",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 8,
- "code": "ARS",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 9,
- "code": "AMD",
- "subunits": 2,
- "enabled": false
}, - {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 10,
- "code": "AWG",
- "subunits": 2,
- "enabled": false
}
]
}
}
}
}
Loads a currency.
id required | string |
Accept required | string Currency - If set, the currency returned in XML or JSON format. |
{- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 1,
- "code": "AFN",
- "subunits": 1,
- "enabled": false
}
}
Updates a currency.
id required | string |
Accept required | string If set, the updated currency is returned in XML or JSON format. |
Content-Type required | string The CurrencyUpdate schema encoded in XML or JSON format. |
The updated CurrencyUpdateController resource
required | object (CurrencyUpdate) This class is used to update currency. |
{- "CurrencyUpdate": {
- "subunits": 0,
- "enabled": true
}
}
{- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 1,
- "code": "AFN",
- "subunits": 1,
- "enabled": false
}
}
Returns a list of customer groups
Accept required | string If set, the customer groups list is returned in XML or JSON format. |
{- "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.
Accept required | string If set, the new customer group is returned in XML or JSON format. |
Content-Type required | string The CustomerGroupCreate schema encoded in XML or JSON format. |
The new CustomerGroupCreateController resource
required | object (CustomerGroupCreate) This class is used to create a customer group. |
{- "CustomerGroupCreate": {
- "identifier": "string",
- "names": { },
- "descriptions": { },
- "global_price_rate": "string"
}
}
{- "CustomerGroup": {
- "_media-type": "application/vnd.ibexa.api.CustomerGroup+json",
- "id": 1,
- "name": "Customer Group",
- "identifier": "customer_group",
- "description": "",
- "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.
Accept required | string The view in XML or JSON format. |
Content-Type required | string The view input in XML or JSON format. |
The new CustomerGroupViewController resource
required | object (CustomerGroupViewInput) This class represents a customer group view input. |
{- "ViewInput": {
- "CustomerGroupQuery": { }
}
}
{- "CustomerGroupView": {
- "_media-type": "application/vnd.ibexa.api.CustomerGroupView+json",
- "identifier": "TitleView",
- "CustomerGroupQuery": {
- "_media-type": "application/vnd.ibexa.api.CustomerGroupQuery+json"
}, - "Result": {
- "_media-type": "application/vnd.ibexa.api.ViewResult+json",
- "count": 1,
- "CustomerGroupList": {
- "_media-type": "application/vnd.ibexa.api.CustomerGroupList+json",
- "CustomerGroup": [
- {
- "_media-type": "application/vnd.ibexa.api.CustomerGroup+json",
- "id": 1,
- "name": "Business",
- "identifier": "business",
- "description": "Most trusted business customers, being our partners for at least 5 years.",
- "users": [ ],
- "global_price_rate": "15.00"
}
]
}
}
}
}
Returns a customer group
identifier required | string |
Accept required | string If set, the customer group is returned in XML or JSON format. |
{- "CustomerGroup": {
- "_media-type": "application/vnd.ibexa.api.CustomerGroup+json",
- "id": 1,
- "name": "Customer Group",
- "identifier": "customer_group",
- "description": "",
- "users": [ ],
- "global_price_rate": "1.00"
}
}
Updates the given customer group.
identifier required | string |
Accept required | string If set, the updated customer group is returned in XML or JSON format. |
Content-Type required | string The CustomerGroupUpdate schema encoded in XML or JSON format. |
The updated CustomerGroupUpdateController resource
required | object (CustomerGroupUpdate) This class is used to update a customer group. |
{- "CustomerGroupUpdate": {
- "names": { },
- "identifier": "string",
- "global_price_rate": "string",
- "descriptions": [
- "string"
]
}
}
{- "CustomerGroup": {
- "_media-type": "application/vnd.ibexa.api.CustomerGroup+json",
- "id": 1,
- "name": "Customer Group",
- "identifier": "customer_group",
- "description": "",
- "users": [ ],
- "global_price_rate": "1.00"
}
}
Returns a customer group
id required | integer |
Accept required | string If set, the customer group is returned in XML or JSON format. |
{- "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.
Accept required | string If set, the products are returned in XML or JSON format. |
Content-Type required | string The product list schema encoded in XML or JSON format. |
required | object (ProductListGet) This class represents a product list GET. |
{- "ProductListGet": {
- "offset": 0,
- "limit": 0,
- "languages": [
- "string"
]
}
}
{- "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.
Accept required | string The view in XML or JSON format. |
Content-Type required | string The view input in XML or JSON format. |
The new ProductViewController resource
required | object (ProductViewInput) This class represents a product view input. |
{- "ViewInput": {
- "ProductQuery": { }
}
}
{- "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 |
Accept required | string If set, the products are returned in XML or JSON format. |
Content-Type required | string An optional product schema encoded in XML or JSON format. |
required | object (ProductGet) This class represents a product GET. |
{- "ProductGet": {
- "languages": [
- "string"
]
}
}
{- "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": [ ]
}
}
Updates product.
code required | string |
Accept required | string If set, the updated product is returned in XML or JSON format. |
Content-Type required | string If set, the updated product is returned in XML or JSON format. |
The updated ProductUpdateController resource
required | object (ProductUpdate) This class is used to update a product. |
{- "ProductUpdate": {
- "ContentUpdate": {
- "mainLanguageCode": "string",
- "Section": {
- "_media-type": "string",
- "_href": "string",
- "sectionId": 0,
- "identifier": "string",
- "name": "string"
}, - "MainLocation": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "priority": 0,
- "hidden": true,
- "invisible": true,
- "remoteId": "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"
}
}
}, - "ParentLocation": null,
- "Children": null,
- "pathString": "string",
- "depth": 0,
- "childCount": 0,
- "sortField": "PATH",
- "sortOrder": "ASC",
- "Content": null,
- "UrlAliases": null
}, - "Owner": {
- "_media-type": "string",
- "_href": "string",
- "_id": 0,
- "_remoteId": "string",
- "ContentType": {
- "_media-type": "string",
- "_href": "string"
}, - "name": "string",
- "Versions": {
- "_media-type": "string",
- "_href": "string"
}, - "Section": {
- "_media-type": "string",
- "_href": "string"
}, - "MainLocation": {
- "_media-type": "string",
- "_href": "string"
}, - "Locations": {
- "_media-type": "string",
- "_href": "string"
}, - "Groups": {
- "_media-type": "string",
- "_href": "string"
}, - "Owner": {
- "_media-type": "string",
- "_href": "string"
}, - "publishDate": "2019-08-24T14:15:22Z",
- "lastModificationDate": "2019-08-24T14:15:22Z",
- "mainLanguageCode": "string",
- "alwaysAvailable": true,
- "Version": null,
- "login": "string",
- "email": "string",
- "enabled": true,
- "UserGroups": {
- "_media-type": "string",
- "_href": "string"
}, - "Roles": {
- "_media-type": "string",
- "_href": "string"
}
}, - "alwaysAvailable": true,
- "remoteId": "string"
}, - "code": "string",
- "attributes": [
- { }
]
}
}
{- "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": [ ]
}
}
Loads the list of product prices.
code required | string |
Accept required | string PriceList - if set, the product price list is returned in JSON format. |
{- "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 |
Accept required | string The product price schema encoded in JSON format. |
Content-Type required | string If set, the new price is returned in JSON format. |
The new PriceCreateController resource
required | object (CustomPriceCreateStruct) This class represents a custom price creation structure. |
{- "CustomPriceCreateStruct": {
- "amount": 0,
- "currency": "string",
- "customAmount": 0,
- "customerGroup": "string"
}
}
{- "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
}
}
Get price in given currency.
code required | string |
currencyCode required | string |
Accept required | string If set, gets price in given currency in JSON format. |
{- "Price": {
- "_media-type": "application/vnd.ibexa.api.Price+json",
- "id": 4,
- "amount": "0.09",
- "base_amount": "0.09",
- "Currency": {
- "_media-type": "application/vnd.ibexa.api.Currency+json",
- "id": 94,
- "code": "CHF",
- "subunits": 2,
- "enabled": true
}, - "money": "9",
- "base_money": "9"
}
}
Get price in given currency and customer group.
code required | string |
currencyCode required | string |
customerGroupIdentifier required | string |
Accept required | string If set, gets price in given currency and customer group in JSON format. |
{- "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
}
}
Updates product price.
code required | string |
id required | string |
Accept required | string If set, updates product price. |
Content-Type required | string Update price or custom price for given currency. |
The updated PriceUpdateController resource
required | object (CustomPriceUpdateStruct) This class represents a custom price updating structure. |
{- "CustomPriceUpdateStruct": {
- "amount": 0,
- "currency": "string",
- "customAmount": 0
}
}
{- "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 |
Accept required | string If set, the new product is returned in XML or JSON format. |
Content-Type required | string The product schema encoded in XML or JSON format. |
The new ProductCreateController resource
required | object (ProductCreate) This class is used to create a product. |
{- "ProductCreate": {
- "ContentCreate": {
- "ContentType": {
- "_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"
}
}, - "Section": {
- "_href": "string"
}, - "User": 0,
- "alwaysAvailable": "string",
- "remoteId": "string",
- "mainLanguageCode": "string",
- "modificationDate": "2019-08-24T14:15:22Z",
- "LocationCreate": { },
- "fields": {
- "field": [
- { }
]
}
}, - "code": "string",
- "attributes": { }
}
}
{- "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.
Accept required | string ProductTypeList - If set, the product type list is returned in XML or JSON format. |
Content-Type required | string The ProductTypeList schema encoded in XML or JSON format. |
required | object (ProductTypeListGet) This class represents a product type list query. |
{- "ProductTypeListGet": {
- "name_prefix": "string",
- "offset": 0,
- "limit": 0,
- "languages": [
- "string"
]
}
}
{- "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.
Accept required | string If set, the new product type is returned in XML or JSON format. |
Content-Type required | string The ProductType schema encoded in XML or JSON format. |
The new ProductTypeCreateController resource
required | object (ProductTypeCreate) This class is used to create a product type. |
{- "ProductTypeCreate": {
- "ContentTypeCreateStruct": { },
- "main_language_code": "string",
- "assigned_attributes": [
- {
- "identifier": "string",
- "is_required": true,
- "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": [ ]
}
}
]
}
}
Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API.
Accept required | string The view in XML or JSON format. |
Content-Type required | string The view input in XML or JSON format. |
The new ProductTypeViewController resource
required | object (ProductTypeViewInput) This class represents a product type view input. |
{- "ViewInput": {
- "ProductTypeQuery": { }
}
}
{- "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 |
Accept required | string If set, the updated product type is returned in XML or JSON format. |
Content-Type required | string If set, the updated product type is returned in XML or JSON format. |
The updated ProductTypeUpdateController resource
required | object (ProductTypeUpdate) This class is used to update a product type. |
{- "ProductTypeUpdate": {
- "ContentTypeUpdateStruct": {
- "identifier": "string",
- "remoteId": "string",
- "urlAliasSchema": "string",
- "nameSchema": "string",
- "isContainer": true,
- "mainLanguageCode": "string",
- "defaultSortField": "PATH",
- "defaultSortOrder": "ASC",
- "defaultAlwaysAvailable": true,
- "modifierId": 0,
- "modificationDate": "2019-08-24T14:15:22Z",
- "names": null,
- "descriptions": null
}, - "assigned_attributes": [
- {
- "identifier": "string",
- "is_required": true,
- "is_discriminator": true
}
]
}
}
{- "ProductType": {
- "_media-type": "application/vnd.ibexa.api.ProductType+json",
- "identifier": "NEW",
- "name": "pt_1_updated",
- "AttributeAssignmentList": [
- {
- "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json",
- "is_required": false,
- "is_discriminator": true,
- "Attribute": {
- "_media-type": "application/vnd.ibexa.api.Attribute+json",
- "identifier": "size",
- "name": "Size",
- "description": "",
- "type": "Integer",
- "type_identifier": "integer",
- "value": 5,
- "group": "Hat",
- "position": 0,
- "options": [ ]
}
}
]
}
}
Loads the given product variant.
code required | string |
Accept required | string If set, the product variant is returned in XML or JSON format. |
{- "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": [ ]
}
}
Generates new product variants based on selected (discriminator) attributes.
baseProductCode required | string |
Accept required | string If set, the new product variant is returned in XML or JSON format. |
Content-Type required | string The product variant schema encoded in XML or JSON format. |
The new ProductVariantGenereateController resource
required | object (ProductVariantGenerate) This class is used to generate a product variant. |
{- "ProductVariantGenerate": {
- "attributes": { }
}
}
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 |
Accept required | string The view in XML or JSON format. |
Content-Type required | string The view input in XML or JSON format. |
The new ProductVariantViewController resource
required | object (ProductVariantViewInput) This class represents a product variant view input. |
{- "ViewInput": {
- "ProductVariantQuery": { }
}
}
{- "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 |
Accept required | string If set, the new product variant is returned in XML or JSON format. |
Content-Type required | string The product variant schema encoded in XML or JSON format. |
The new ProductVariantCreateController resource
required | object (ProductVariantCreate) This class is used to create a product variant. |
{- "ProductVariantCreate": {
- "code": "string",
- "attributes": { }
}
}
Updates product variant.
code required | string |
Accept required | string If set, the updated product variant is returned in XML or JSON format. |
Content-Type required | string The product variant update schema encoded in XML or JSON format. |
The updated ProductVariantUpdateController resource
required | object (ProductVariantUpdate) This class is used to update a product variant. |
{- "ProductVariantUpdate": {
- "code": "string",
- "attributes": { }
}
}
{- "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": [ ]
}
}
Loads the list of regions.
Accept required | string RegionList - If set, the regions list returned in XML or JSON format. |
{- "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.
Accept required | string The view in XML or JSON format. |
Content-Type required | string The view input in XML or JSON format. |
The new RegionViewController resource
required | object (RegionViewInput) This class represents a region view input. |
{- "ViewInput": {
- "RegionQuery": { }
}
}
{- "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 |
Accept required | string If set, the VAT category list returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the VAT category list returned in XML or JSON format. |
{- "VatCategory": {
- "_media-type": "application/vnd.ibexa.api.VatCategory+json",
- "identifier": "standard",
- "region": "region_1",
- "vatValue": 18
}
}
Bulk removes several taxonomy entries.
taxonomyName required | string |
Content-Type required | string Target Entries schema encoded in XML or JSON format. |
required | object (TaxonomyEntryBulkRemove) This class is used to bulk remove taxonomy entries. |
{- "TaxonomyEntryBulkRemove": {
- "entries": [
- 0
]
}
}
Bulk move several taxonomy entries relative to sibling.
taxonomyName required | string |
Content-Type required | string The Entry moves schema encoded in XML or JSON format. |
The new TaxonomyEntryBulkMoveController resource
required | object (TaxonomyEntryBulkMove) This class is used to bulk move taxonomy entries. |
{- "TaxonomyEntryBulkMove": {
- "entries": [
- {
- "entry": 0,
- "sibling": 0,
- "position": "string"
}
]
}
}
Gets taxonomy entry Assignment by its ID.
taxonomyName required | string |
id required | string |
Accept required | string If set, the Assignment is returned in XML or JSON format. |
{- "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 |
Content-Type required | string |
The new TaxonomyEntryAssignmentAssignController resource
required | object (TaxonomyEntryAssignToContent) This class is used to assign taxonomy entry to content. |
{- "TaxonomyEntryAssignToContent": {
- "content": 0,
- "entries": [
- 0
]
}
}
Gets taxonomy entries assigned to a content item by its ID.
taxonomyName required | string |
contentId required | string |
Accept required | string If set, the assignments are returned in XML or JSON format. |
{- "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 |
Content-Type required | string |
The new TaxonomyEntryAssignmentUnassignController resource
required | object (TaxonomyEntryUnassignFromContent) This class is used to unassign taxonomy entry from content. |
{- "TaxonomyEntryUnassignFromContent": {
- "content": 0,
- "entries": [
- 0
]
}
}
Loads taxonomy Entry by its Content ID.
taxonomyName required | string |
contentId required | string |
Accept required | string If set, the Taxonomy Entry is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the Taxonomy Entry is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the Taxonomy Entry is returned in XML or JSON format. |
{- "TaxonomyEntry": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "identifier": "string",
- "name": "string",
- "content": {
- "_media-type": "string",
- "_href": "string"
}, - "taxonomy": "string"
}
}
Lists segment groups.
Accept required | string If set, the list of segment groups is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the segment group is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the segment group is returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the segment is returned in XML or JSON |
{- "Segment": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "identifier": "string",
- "name": "string",
- "SegmentGroup": {
- "_media-type": "string",
- "_href": "string",
- "id": 0,
- "identifier": "string",
- "name": "string"
}
}
}
Provides basic information about Corporate Account endpoints and configuration.
Accept required | string If set, helps to determine response format. |
{- "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"
}
]
}
}
Returns paginated list of available companies.
Accept required | string If set, helps to determine response format. |
{- "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",
- "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",
- "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.
Accept required | string If set, the new company is returned in XML or JSON format. |
Content-Type required | string The CompanyCreate schema encoded in XML or JSON format. |
The new CompanyCreateController resource
required | object (CompanyCreate) This class is used to create a company. |
{- "CompanyCreate": {
- "fields": {
- "field": [
- {
- "id": 0,
- "fieldDefinitionIdentifier": "string",
- "languageCode": "string",
- "fieldTypeIdentifier": "string",
- "fieldValue": null
}
]
}
}
}
{- "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",
- "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",
- "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 |
Accept required | string If set, the company is returned in XML or JSON format. |
If-None-match required | 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",
- "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",
- "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
}
}
The given company is deleted.
companyId required | string |
Accept required | string If set, in the case of an error the error message is returned in XML or JSON format. |
X-CSRF-Token required | string Only needed for session's checking. The {csrfToken} needed on all unsafe HTTP methods with session. |
Updates a company. PATCH or POST with header X-HTTP-Method-Override PATCH.
companyId required | string |
Accept required | string If set, the updated company is returned in XML or JSON format. |
Content-Type required | string The company input schema encoded in XML or JSON. |
If-Match required | string ETag |
The updated CompanyUpdateController resource
required | object (CompanyUpdate) This class is used to update a Company. |
{- "CompanyUpdate": {
- "fields": {
- "field": [
- {
- "id": 0,
- "fieldDefinitionIdentifier": "string",
- "languageCode": "string",
- "fieldTypeIdentifier": "string",
- "fieldValue": null
}
]
}
}
}
{- "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",
- "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",
- "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 |
Accept required | string Enum: "application/vnd.ibexa.api.MemberList+xml" "application/vnd.ibexa.api.MemberList+json" If set, helps to determine response format. |
{- "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",
- "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",
- "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",
- "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",
- "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 |
Accept required | string If set, the new member is returned in XML or JSON format. |
Content-Type required | string The CompanyCreate schema encoded in XML or JSON format. |
The new MemberCreateController resource
required | object (MemberCreate) This class is used to create a member. |
{- "MemberCreate": {
- "login": "string",
- "email": "string",
- "password": "string",
- "Role": {
- "_media-type": "string",
- "_href": "string"
}, - "fields": {
- "field": [
- {
- "id": 0,
- "fieldDefinitionIdentifier": "string",
- "languageCode": "string",
- "fieldTypeIdentifier": "string",
- "fieldValue": null
}
]
}
}
}
{- "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",
- "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",
- "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",
- "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",
- "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 |
Accept required | string If set, the company member is returned in XML or JSON format. |
{- "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",
- "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",
- "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",
- "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",
- "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"
}
}
}
}
The given company member is deleted.
companyId required | string |
memberId required | string |
Accept required | string If set, in the case of an error the error message is returned in XML or JSON format. |
X-CSRF-Token required | string Only needed for session's checking. The {csrfToken} needed on all unsafe HTTP methods with session. |
Updates a company member. PATCH or POST with header X-HTTP-Method-Override PATCH.
companyId required | string |
memberId required | string |
Accept required | string If set, the updated company member is returned in XML or JSON format. |
Content-Type required | string The company input schema encoded in XML or JSON. |
If-Match required | string ETag |
The updated MemberUpdateController resource
required | object (MemberUpdate) This class is used to update a member. |
{- "MemberUpdate": {
- "email": "string",
- "password": "string",
- "enabled": true,
- "maxLogin": 0,
- "Role": {
- "_media-type": "string",
- "_href": "string"
}, - "fields": {
- "field": [
- {
- "id": 0,
- "fieldDefinitionIdentifier": "string",
- "languageCode": "string",
- "fieldTypeIdentifier": "string",
- "fieldValue": null
}
]
}
}
}
{- "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",
- "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",
- "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",
- "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",
- "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.
Accept required | string If set, helps to determine response format. |
{- "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",
- "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",
- "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.
Accept required | string If set, the list is returned in XML or JSON format. |
{- "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.
Content-Type required | string The CartCreate schema encoded in XML or JSON format. |
Accept required | string If set, the created Cart is returned in XML or JSON format. |
The new CartCreateController resource
required | object (CartCreate) This class represents a new Cart to create |
{- "CartCreate": {
- "name": "string",
- "currencyCode": "string",
- "context": { }
}
}
{- "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.
Accept required | string The CartView schema is returned in XML or JSON format. |
Content-Type required | string The CartViewInput schema is posted in XML or JSON format. |
The new CartViewController resource
required | object (CartViewInput) This class represents a cart view input. |
{- "CartViewInput": {
- "identifier": "string",
- "CartQuery": { }
}
}
{- "CartView": {
- "identifier": "string",
- "Result": {
- "count": 0,
- "Result": { }
}
}
}
Gets Cart by its identifier.
identifier required | string |
Accept required | string The Cart is returned in XML or JSON format. |
{- "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": [ ]
}
}
Updates identified Cart's metadata from payload.
identifier required | string |
Content-Type required | string The CartMetadataUpdate schema encoded in XML or JSON format. |
Accept required | string If set, the updated Cart is returned in XML or JSON format. |
The updated CartUpdateController resource
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 |
Content-Type required | string The CartEntryAdd schema encoded in XML or JSON format. |
Accept required | string If set, the updated Cart is returned in XML or JSON format. |
The new CartEntryCreateController resource
required | object (CartEntryAdd) This class represents a cart entry |
{- "CartEntryAdd": {
- "quantity": 0,
- "Product": null,
- "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"
}
}
]
}
}
Removes the given entry from the given Cart.
identifier required | string |
entryId required | string |
Accept required | string If set, the updated Cart is returned in XML or JSON format. |
{- "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 |
Content-Type required | string The CartEntryUpdate schema encoded in XML or JSON format. |
Accept required | string If set, the updated Cart is returned in XML or JSON format. |
The updated CartEntryUpdateController resource
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"
}
}
]
}
}
Gets a summary of the given Cart.
identifier required | string |
Accept required | string If set, the Cart Summary is returned in XML or JSON format. |
{- "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
}
}
}
Loads an order by its identifier (UUID).
identifier required | string |
Accept required | string Order - If set, the order returned in XML or JSON format. |
{- "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": "[email protected]"
}, - "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 |
Accept required | string Order - If set, the order returned in XML or JSON format. |
{- "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": "[email protected]"
}, - "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
}
}
}
Updates an order.
id required | string |
Accept required | string If set, the updated order is returned in XML or JSON format. |
Content-Type required | string The OrderUpdate schema encoded in XML or JSON format. |
The updated OrderUpdateController resource
required | object (OrderUpdate) This class is used to update order. |
{- "OrderUpdate": {
- "status": "string",
- "transition": "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": "[email protected]"
}, - "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 a list of orders.
Accept required | string OrderList - If set, the orders list returned in XML or JSON format. |
{- "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": "[email protected]"
}, - "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": "[email protected]"
}, - "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.
Accept required | string If set, the new order is returned in JSON format. |
Content-Type required | string The Order schema encoded in XML or JSON format. |
The new OrderCreateController resource
required | object (OrderCreate) This class is used to create order. |
{- "OrderCreate": {
- "source": "string",
- "OrderUser": {
- "id": null,
- "name": "string",
- "email": "string"
}, - "OrderCurrency": {
- "id": 0,
- "code": "string"
}, - "OrderValue": {
- "vat": "string",
- "total_gross": "string",
- "total_net": "string"
}, - "OrderCompany": {
- "id": 0,
- "name": "string"
}, - "items": [
- {
- "OrderItem": {
- "OrderItemValue": {
- "unit_price_gross": "string",
- "unit_price_net": "string",
- "vat_rate": "string",
- "subtotal_price_gross": "string",
- "subtotal_price_net": "string"
}, - "OrderItemProduct": {
- "id": 0,
- "code": "string",
- "name": "string"
}, - "quantity": 0,
- "context": { }
}
}
]
}
}
{- "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": "[email protected]"
}, - "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.
Accept required | string If set, the created Payment Method is returned in XML or JSON format. |
Content-Type required | string The Payment Method input schema encoded in XML or JSON. |
The new PaymentMethodCreateController resource
required | object (PaymentMethodCreateStruct) |
{- "PaymentMethodCreateStruct": {
- "identifier": "string",
- "type": "string",
- "names": { },
- "descriptions": [
- "string"
], - "enabled": true,
- "options": { }
}
}
{- "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.
Accept required | string The view in XML or JSON format. |
Content-Type required | string The view input in XML or JSON format. |
The new PaymentMethodFindController resource
required | object (PaymentMethodViewInput) |
{- "PaymentMethodViewInput": {
- "identifier": "string",
- "PaymentMethodQuery": { }
}
}
{- "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 |
Accept required | string Payment Method - If set, the payment method returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the updated Payment Method is returned in XML or JSON format. |
Content-Type required | string The Payment Method input schema encoded in XML or JSON. |
The updated PaymentMethodUpdateController resource
required | object (PaymentMethodUpdateStruct) |
{- "PaymentMethodUpdateStructParser": {
- "identifier": "string",
- "names": { },
- "descriptions": [
- "string"
], - "enabled": true,
- "options": [
- null
]
}
}
{- "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 |
Accept required | string Payment Method - If set, the payment method returned in XML or JSON format. |
{- "PaymentMethod": {
- "_media-type": "application/vnd.ibexa.api.PaymentMethod+json",
- "identifier": "bank_transfer",
- "id": 1,
- "enabled": true,
- "name": "Bank transfer",
- "description": "Bank transfer"
}
}
Loads a list of shipments.
Accept required | string If set, the shipments are returned in XML or JSON format. |
{- "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 |
Accept required | string If set, the shipment is returned in XML or JSON format. |
{- "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"
}
}
}
Updates a shipment.
identifier required | string |
Accept required | string If set, the updated shipment is returned in XML or JSON format. |
Content-Type required | string The ShipmentUpdate schema encoded in XML or JSON format. |
The updated ShipmentUpdateController resource
required | object (ShipmentUpdate) This class represents the update of a shipment. |
{- "ShipmentUpdate": {
- "identifier": "string",
- "transition": "string",
- "Owner": {
- "_media-type": "string",
- "_href": "string"
}, - "Context": { }
}
}
{- "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"
}
}
}
Loads shipping methods types.
Accept required | string Shipping method type reference - if set, the shipping method is returned in XML or JSON format. |
{- "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 |
Accept required | string Shipping method type - if set, the shipping method is returned in XML or JSON format. |
{- "ShippingMethodType": {
- "_media-type": "application/vnd.ibexa.api.ShippingMethodType+json",
- "_href": "/api/ibexa/v2/shipping/method-types/flat_rate",
- "identifier": "flat_rate",
- "name": "Flat rate"
}
}
Loads shipping methods.
Accept required | string Shipping method reference - if set, the shipping method is returned in XML or JSON format. |
{- "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 |
Accept required | string Shipping method - if set, the shipping method is returned in XML or JSON format. |
{- "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"
}
}
}