Download OpenAPI specification:Download
API Documentation for LianaCMS REST v. 3
Liana CMS REST API supports Token based authentication. Token is included with header X-Auth-Token.
Fields from firstname to iban are only returned if Account module is enabled
| limit | integer >= 1 Default: 20 Example: limit=30 The number of items to return. Default is 20. |
| offset | integer >= 0 The number of items to skip. |
| group_id | Array of integers non-empty Groups to search by id. Example group_id[]=4&group_id[]=7 |
{- "items": [
- {
- "id": 5,
- "groups": [
- 3,
- 5
], - "username": "user21",
- "email": "john.tester@test.com",
- "name": "John",
- "active": true,
- "valid_to": "2045-02-04T05:24:28Z",
- "created": "2015-06-12T22:33:08Z",
- "modified": "2017-02-04T05:24:28Z",
- "firstname": "John",
- "lastname": "Tester",
- "birthdate": "1947-02-04T05:24:28Z",
- "city": "Enontekiö",
- "address1": "Kansankatu",
- "address2": "string",
- "address3": "string",
- "address4": "string",
- "postalcode": "90250",
- "description": "Tester",
- "avatar": "string",
- "extra1": "string",
- "extra2": "string",
- "extra3": "string",
- "sex": "m",
- "phone": "string",
- "company_name": "string",
- "company_code": "string",
- "company_address": "string",
- "company_city": "string",
- "company_postalcode": "string",
- "company_phone": "string",
- "company_www": "string",
- "company_field": "string",
- "company_size": "string",
- "company_state": "string",
- "company_country": "string",
- "some1": "string",
- "some2": "string",
- "some3": "string",
- "ssn": "string",
- "iban": "string",
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}Fields from firstname to iban are only available if Account module is enabled
| groups required | Array of integers |
| username required | string |
| email required | string |
| name required | string |
| active | boolean Default: true |
| valid_to | string <date-time> |
| password | string >= 8 characters |
| firstname | string |
| lastname | string |
| birthdate | string <date-time> |
| city | string |
| address1 | string |
| address2 | string |
| address3 | string |
| address4 | string |
| postalcode | string |
| description | string |
| avatar | string |
| extra1 | string |
| extra2 | string |
| extra3 | string |
| sex | string or null Default: null Enum: "m" "f" |
| phone | string |
| company_name | string |
| company_code | string |
| company_address | string |
| company_city | string |
| company_postalcode | string |
| company_phone | string |
| company_www | string |
| company_field | string |
| company_size | string |
| company_state | string |
| company_country | string |
| some1 | string |
| some2 | string |
| some3 | string |
| ssn | string |
| iban | string |
{- "groups": [
- 3,
- 5
], - "username": "user21",
- "email": "john.tester@test.com",
- "name": "John",
- "active": true,
- "valid_to": "2045-02-04T05:24:28Z",
- "password": "LJHADGUS",
- "firstname": "John",
- "lastname": "Tester",
- "birthdate": "1947-02-04T05:24:28Z",
- "city": "Enontekiö",
- "address1": "Kansankatu",
- "address2": "string",
- "address3": "string",
- "address4": "string",
- "postalcode": "90250",
- "description": "Tester",
- "avatar": "string",
- "extra1": "string",
- "extra2": "string",
- "extra3": "string",
- "sex": "m",
- "phone": "string",
- "company_name": "string",
- "company_code": "string",
- "company_address": "string",
- "company_city": "string",
- "company_postalcode": "string",
- "company_phone": "string",
- "company_www": "string",
- "company_field": "string",
- "company_size": "string",
- "company_state": "string",
- "company_country": "string",
- "some1": "string",
- "some2": "string",
- "some3": "string",
- "ssn": "string",
- "iban": "string"
}{- "items": [
- {
- "id": 5,
- "groups": [
- 3,
- 5
], - "username": "user21",
- "email": "john.tester@test.com",
- "name": "John",
- "active": true,
- "valid_to": "2045-02-04T05:24:28Z",
- "password": "LJHADGUS",
- "created": "2015-06-12T22:33:08Z",
- "modified": "2017-02-04T05:24:28Z",
- "firstname": "John",
- "lastname": "Tester",
- "birthdate": "1947-02-04T05:24:28Z",
- "city": "Enontekiö",
- "address1": "Kansankatu",
- "address2": "string",
- "address3": "string",
- "address4": "string",
- "postalcode": "90250",
- "description": "Tester",
- "avatar": "string",
- "extra1": "string",
- "extra2": "string",
- "extra3": "string",
- "sex": "m",
- "phone": "string",
- "company_name": "string",
- "company_code": "string",
- "company_address": "string",
- "company_city": "string",
- "company_postalcode": "string",
- "company_phone": "string",
- "company_www": "string",
- "company_field": "string",
- "company_size": "string",
- "company_state": "string",
- "company_country": "string",
- "some1": "string",
- "some2": "string",
- "some3": "string",
- "ssn": "string",
- "iban": "string"
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}Fields from firstname to iban are only returned if Account module is enabled
| user-id required | integer Id of user |
{- "items": [
- {
- "id": 5,
- "groups": [
- 3,
- 5
], - "username": "user21",
- "email": "john.tester@test.com",
- "name": "John",
- "active": true,
- "valid_to": "2045-02-04T05:24:28Z",
- "created": "2015-06-12T22:33:08Z",
- "modified": "2017-02-04T05:24:28Z",
- "firstname": "John",
- "lastname": "Tester",
- "birthdate": "1947-02-04T05:24:28Z",
- "city": "Enontekiö",
- "address1": "Kansankatu",
- "address2": "string",
- "address3": "string",
- "address4": "string",
- "postalcode": "90250",
- "description": "Tester",
- "avatar": "string",
- "extra1": "string",
- "extra2": "string",
- "extra3": "string",
- "sex": "m",
- "phone": "string",
- "company_name": "string",
- "company_code": "string",
- "company_address": "string",
- "company_city": "string",
- "company_postalcode": "string",
- "company_phone": "string",
- "company_www": "string",
- "company_field": "string",
- "company_size": "string",
- "company_state": "string",
- "company_country": "string",
- "some1": "string",
- "some2": "string",
- "some3": "string",
- "ssn": "string",
- "iban": "string"
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}Fields from firstname to iban are only editable if Account module is enabled. password field is returned only with new password.
| user-id required | integer Id of user |
| groups | Array of integers |
| username | string |
string | |
| name | string |
| active | boolean Default: true |
| valid_to | string <date-time> |
| password | string >= 8 characters |
| firstname | string |
| lastname | string |
| birthdate | string <date-time> |
| city | string |
| address1 | string |
| address2 | string |
| address3 | string |
| address4 | string |
| postalcode | string |
| description | string |
| avatar | string |
| extra1 | string |
| extra2 | string |
| extra3 | string |
| sex | string or null Default: null Enum: "m" "f" |
| phone | string |
| company_name | string |
| company_code | string |
| company_address | string |
| company_city | string |
| company_postalcode | string |
| company_phone | string |
| company_www | string |
| company_field | string |
| company_size | string |
| company_state | string |
| company_country | string |
| some1 | string |
| some2 | string |
| some3 | string |
| ssn | string |
| iban | string |
{- "groups": [
- 3,
- 5
], - "username": "user21",
- "email": "john.tester@test.com",
- "name": "John",
- "active": true,
- "valid_to": "2045-02-04T05:24:28Z",
- "password": "LJHADGUS",
- "firstname": "John",
- "lastname": "Tester",
- "birthdate": "1947-02-04T05:24:28Z",
- "city": "Enontekiö",
- "address1": "Kansankatu",
- "address2": "string",
- "address3": "string",
- "address4": "string",
- "postalcode": "90250",
- "description": "Tester",
- "avatar": "string",
- "extra1": "string",
- "extra2": "string",
- "extra3": "string",
- "sex": "m",
- "phone": "string",
- "company_name": "string",
- "company_code": "string",
- "company_address": "string",
- "company_city": "string",
- "company_postalcode": "string",
- "company_phone": "string",
- "company_www": "string",
- "company_field": "string",
- "company_size": "string",
- "company_state": "string",
- "company_country": "string",
- "some1": "string",
- "some2": "string",
- "some3": "string",
- "ssn": "string",
- "iban": "string"
}{- "items": [
- {
- "id": 5,
- "groups": [
- 3,
- 5
], - "username": "user21",
- "email": "john.tester@test.com",
- "name": "John",
- "active": true,
- "valid_to": "2045-02-04T05:24:28Z",
- "password": "LJHADGUS",
- "created": "2015-06-12T22:33:08Z",
- "modified": "2017-02-04T05:24:28Z",
- "firstname": "John",
- "lastname": "Tester",
- "birthdate": "1947-02-04T05:24:28Z",
- "city": "Enontekiö",
- "address1": "Kansankatu",
- "address2": "string",
- "address3": "string",
- "address4": "string",
- "postalcode": "90250",
- "description": "Tester",
- "avatar": "string",
- "extra1": "string",
- "extra2": "string",
- "extra3": "string",
- "sex": "m",
- "phone": "string",
- "company_name": "string",
- "company_code": "string",
- "company_address": "string",
- "company_city": "string",
- "company_postalcode": "string",
- "company_phone": "string",
- "company_www": "string",
- "company_field": "string",
- "company_size": "string",
- "company_state": "string",
- "company_country": "string",
- "some1": "string",
- "some2": "string",
- "some3": "string",
- "ssn": "string",
- "iban": "string"
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| user-id required | integer Id of user |
{- "items": [
- {
- "id": 5,
- "groups": [
- 3,
- 5
], - "username": "user21",
- "email": "john.tester@test.com",
- "name": "John",
- "active": true,
- "valid_to": "2045-02-04T05:24:28Z",
- "password": "LJHADGUS",
- "created": "2015-06-12T22:33:08Z",
- "modified": "2017-02-04T05:24:28Z",
- "firstname": "John",
- "lastname": "Tester",
- "birthdate": "1947-02-04T05:24:28Z",
- "city": "Enontekiö",
- "address1": "Kansankatu",
- "address2": "string",
- "address3": "string",
- "address4": "string",
- "postalcode": "90250",
- "description": "Tester",
- "avatar": "string",
- "extra1": "string",
- "extra2": "string",
- "extra3": "string",
- "sex": "m",
- "phone": "string",
- "company_name": "string",
- "company_code": "string",
- "company_address": "string",
- "company_city": "string",
- "company_postalcode": "string",
- "company_phone": "string",
- "company_www": "string",
- "company_field": "string",
- "company_size": "string",
- "company_state": "string",
- "company_country": "string",
- "some1": "string",
- "some2": "string",
- "some3": "string",
- "ssn": "string",
- "iban": "string"
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}Fields from firstname to iban are only available if Account module is enabled
| groups required | Array of integers |
| username required | string |
| email required | string |
| name required | string |
| active | boolean Default: true |
| valid_to | string <date-time> |
| password required | string >= 8 characters |
| firstname | string |
| lastname | string |
| birthdate | string <date-time> |
| city | string |
| address1 | string |
| address2 | string |
| address3 | string |
| address4 | string |
| postalcode | string |
| description | string |
| avatar | string |
| extra1 | string |
| extra2 | string |
| extra3 | string |
| sex | string or null Default: null Enum: "m" "f" |
| phone | string |
| company_name | string |
| company_code | string |
| company_address | string |
| company_city | string |
| company_postalcode | string |
| company_phone | string |
| company_www | string |
| company_field | string |
| company_size | string |
| company_state | string |
| company_country | string |
| some1 | string |
| some2 | string |
| some3 | string |
| ssn | string |
| iban | string |
[- {
- "groups": [
- 4,
- 3,
- 6
], - "username": "user1",
- "email": "user1@email.com",
- "name": "UserTest1",
- "password": "ASDFGHJJKL",
- "active": true
}, - {
- "groups": [
- 4,
- 3
], - "username": "user2",
- "email": "user2@email.com",
- "name": "UserTest2",
- "password": "LKJJHGFDSA"
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}Fields from firstname to iban are only available if Account module is enabled
| id required | integer <int64> |
| groups | Array of integers |
| username | string |
string | |
| name | string |
| active | boolean Default: true |
| valid_to | string <date-time> |
| password | string >= 8 characters |
| firstname | string |
| lastname | string |
| birthdate | string <date-time> |
| city | string |
| address1 | string |
| address2 | string |
| address3 | string |
| address4 | string |
| postalcode | string |
| description | string |
| avatar | string |
| extra1 | string |
| extra2 | string |
| extra3 | string |
| sex | string or null Default: null Enum: "m" "f" |
| phone | string |
| company_name | string |
| company_code | string |
| company_address | string |
| company_city | string |
| company_postalcode | string |
| company_phone | string |
| company_www | string |
| company_field | string |
| company_size | string |
| company_state | string |
| company_country | string |
| some1 | string |
| some2 | string |
| some3 | string |
| ssn | string |
| iban | string |
[- {
- "id": 23,
- "email": "user1@email.com",
- "active": true
}, - {
- "id": 25,
- "username": "user2",
- "email": "user2@email.com",
- "name": "UserTest2"
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| limit | integer >= 1 Default: 20 Example: limit=30 The number of items to return. Default is 20. |
| offset | integer >= 0 The number of items to skip. |
| group_id | Array of integers non-empty Groups to search by id. Example group_id[]=4&group_id[]=7 |
{- "items": [
- {
- "id": 5,
- "name": "Content manager",
- "type": "admin",
- "description": "Description",
- "access_languages": [
- "FI",
- "EN"
],
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| group-id required | integer Id of group |
{- "items": [
- {
- "id": 5,
- "name": "Content manager",
- "type": "admin",
- "description": "Description",
- "access_languages": [
- "FI",
- "EN"
],
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| limit | integer >= 1 Default: 20 Example: limit=30 The number of items to return. Default is 20. |
| offset | integer >= 0 The number of items to skip. |
{- "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| form-id required | integer Id of form |
| limit | integer >= 1 Default: 20 Example: limit=30 The number of items to return. Default is 20. |
| offset | integer >= 0 The number of items to skip. |
{- "items": [
- {
- "id": 2,
- "submitted_when": "2017-02-04T05:24:28Z",
- "submitted_by": 15,
- "fields": [
- {
- "id": 3,
- "title": "Select",
- "type": "select",
- "options": [
- {
- "label": "Choice 1",
- "value": "Yes"
}
], - "values": [
- "Yes"
]
}
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| form-id required | integer Id of form |
| submission-id required | integer Id of submission |
{- "items": [
- {
- "id": 2,
- "submitted_when": "2017-02-04T05:24:28Z",
- "submitted_by": 15,
- "fields": [
- {
- "id": 3,
- "title": "Select",
- "type": "select",
- "options": [
- {
- "label": "Choice 1",
- "value": "Yes"
}
], - "values": [
- "Yes"
]
}
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| limit | integer >= 1 Default: 20 Example: limit=30 The number of items to return. Default is 20. |
| offset | integer >= 0 The number of items to skip. |
| langcode | Array of strings non-empty Categories to search by language. Example langcode[]=FI&langcode[]=EN |
{- "items": [
- {
- "id": 5,
- "parent": 5,
- "root": "product",
- "sites": [
- 1
], - "permission_view": [
- 1,
- 4
], - "permission_admin": [
- 3,
- 4
], - "translations": {
- "FI": "Kategoriat",
- "EN": "Categories"
}, - "properties": [
- {
- "id": 3,
- "translations": {
- "FI": "Ominaisuus",
- "EN": "Property"
}, - "descriptions": {
- "FI": "Kuvaus",
- "EN": "Description"
}, - "type": "short_text",
- "required": true,
- "multivalued": false,
- "exportable": true
}, - {
- "id": 4,
- "translations": {
- "FI": "Ominaisuus",
- "EN": "Property"
}, - "descriptions": {
- "FI": "Kuvaus",
- "EN": "Description"
}, - "type": "choice",
- "options": {
- "id": 60,
- "translations": {
- "FI": "Vaihtoehto",
- "EN": "Option"
}
}, - "required": true,
- "multivalued": false,
- "exportable": true
}
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| category-id required | integer Id of category |
{- "items": [
- {
- "parent": 5,
- "root": "product",
- "sites": [
- 1
], - "permission_view": [
- 1,
- 4
], - "permission_admin": [
- 3,
- 4
], - "translations": {
- "FI": "Kategoriat",
- "EN": "Categories"
}, - "properties": [
- {
- "id": 3,
- "translations": {
- "FI": "Ominaisuus",
- "EN": "Property"
}, - "descriptions": {
- "FI": "Kuvaus",
- "EN": "Description"
}, - "type": "short_text",
- "required": true,
- "multivalued": false,
- "exportable": true
}, - {
- "id": 4,
- "translations": {
- "FI": "Ominaisuus",
- "EN": "Property"
}, - "descriptions": {
- "FI": "Kuvaus",
- "EN": "Description"
}, - "type": "choice",
- "options": {
- "id": 60,
- "translations": {
- "FI": "Vaihtoehto",
- "EN": "Option"
}
}, - "required": true,
- "multivalued": false,
- "exportable": true
}
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| job-queue-id required | integer Id of job queue |
{- "status": {
- "state": "processing",
- "message": "Inserting users",
- "eta": "2019-05-02T12:36:38+03:00"
}, - "meta": {
- "response_at": "2018-08-02T12:36:38+03:00"
}
}Fields from firstname to iban are only available if Account module is enabled
| groups required | Array of integers |
| username required | string |
| email required | string |
| name required | string |
| active | boolean Default: true |
| valid_to | string <date-time> |
| password required | string >= 8 characters |
| firstname | string |
| lastname | string |
| birthdate | string <date-time> |
| city | string |
| address1 | string |
| address2 | string |
| address3 | string |
| address4 | string |
| postalcode | string |
| description | string |
| avatar | string |
| extra1 | string |
| extra2 | string |
| extra3 | string |
| sex | string or null Default: null Enum: "m" "f" |
| phone | string |
| company_name | string |
| company_code | string |
| company_address | string |
| company_city | string |
| company_postalcode | string |
| company_phone | string |
| company_www | string |
| company_field | string |
| company_size | string |
| company_state | string |
| company_country | string |
| some1 | string |
| some2 | string |
| some3 | string |
| ssn | string |
| iban | string |
[- {
- "groups": [
- 4,
- 3,
- 6
], - "username": "user1",
- "email": "user1@email.com",
- "name": "UserTest1",
- "password": "ASDFGHJJKL",
- "active": true
}, - {
- "groups": [
- 4,
- 3
], - "username": "user2",
- "email": "user2@email.com",
- "name": "UserTest2",
- "password": "LKJJHGFDSA"
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}Fields from firstname to iban are only available if Account module is enabled
| id required | integer <int64> |
| groups | Array of integers |
| username | string |
string | |
| name | string |
| active | boolean Default: true |
| valid_to | string <date-time> |
| password | string >= 8 characters |
| firstname | string |
| lastname | string |
| birthdate | string <date-time> |
| city | string |
| address1 | string |
| address2 | string |
| address3 | string |
| address4 | string |
| postalcode | string |
| description | string |
| avatar | string |
| extra1 | string |
| extra2 | string |
| extra3 | string |
| sex | string or null Default: null Enum: "m" "f" |
| phone | string |
| company_name | string |
| company_code | string |
| company_address | string |
| company_city | string |
| company_postalcode | string |
| company_phone | string |
| company_www | string |
| company_field | string |
| company_size | string |
| company_state | string |
| company_country | string |
| some1 | string |
| some2 | string |
| some3 | string |
| ssn | string |
| iban | string |
[- {
- "id": 23,
- "email": "user1@email.com",
- "active": true
}, - {
- "id": 25,
- "username": "user2",
- "email": "user2@email.com",
- "name": "UserTest2"
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}items field contains all uninserted/unupdated elements
| job-queue-id required | integer Id of job queue |
{- "items": [
- {
- "groups": [
- 3,
- 5
], - "username": "user21",
- "email": "john.tester@test.com",
- "name": "John",
- "active": true,
- "valid_to": "2045-02-04T05:24:28Z",
- "created": "2015-06-12T22:33:08Z",
- "modified": "2017-02-04T05:24:28Z",
- "firstname": "John",
- "lastname": "Tester",
- "birthdate": "1947-02-04T05:24:28Z",
- "city": "Enontekiö",
- "address1": "Kansankatu",
- "address2": "string",
- "address3": "string",
- "address4": "string",
- "postalcode": "90250",
- "description": "Tester",
- "avatar": "string",
- "extra1": "string",
- "extra2": "string",
- "extra3": "string",
- "sex": "m",
- "phone": "string",
- "company_name": "string",
- "company_code": "string",
- "company_address": "string",
- "company_city": "string",
- "company_postalcode": "string",
- "company_phone": "string",
- "company_www": "string",
- "company_field": "string",
- "company_size": "string",
- "company_state": "string",
- "company_country": "string",
- "some1": "string",
- "some2": "string",
- "some3": "string",
- "ssn": "string",
- "iban": "string"
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}required | object |
| commenting | string (CommentingTypes) Default: "none" Enum: "public" "registered" "none" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (VisibilityTypes) Default: "public" Enum: "public" "private" "registered" "hidden" |
| categories required | Array of integers |
Array of objects (ProductProperties) |
[- {
- "translations": {
- "FI": "Astianpesukone",
- "EN": "Dishwasher"
}, - "categories": [
- 13,
- 9
]
}, - {
- "translations": {
- "FI": "Pyötä",
- "EN": "Table"
}, - "categories": [
- 10,
- 9
], - "commenting": "registered"
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| id required | integer <int64> |
object | |
| commenting | string (CommentingTypes) Default: "none" Enum: "public" "registered" "none" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (VisibilityTypes) Default: "public" Enum: "public" "private" "registered" "hidden" |
| categories | Array of integers |
Array of objects (ProductProperties) |
[- {
- "id": 23,
- "categories": [
- 13
], - "visibility": "hidden"
}, - {
- "id": 27,
- "owner": 32
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}items field contains all uninserted/unupdated elements
| job-queue-id required | integer Id of job queue |
{- "items": [
- {
- "translations": {
- "FI": "Tuotteet",
- "EN": "Products"
}, - "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "properties": [
- {
- "property_id": 5,
- "langcode": "EN",
- "values": [
- 3,
- 4
]
}
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| firstname required | string |
| lastname required | string |
| type | string Value: "person" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (VisibilityTypes) Default: "public" Enum: "public" "private" "registered" "hidden" |
| categories required | Array of integers |
Array of objects (ContactProperties) |
[- {
- "type": "person",
- "firstname": "Testi",
- "lastname": "Testaaja",
- "categories": [
- 13,
- 9
]
}, - {
- "type": "organization",
- "names": {
- "FI": "Yritys",
- "EN": "Company"
}, - "categories": [
- 10,
- 9
], - "visibility": "hidden"
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| firstname | string |
| lastname | string |
| type | string Value: "person" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (VisibilityTypes) Default: "public" Enum: "public" "private" "registered" "hidden" |
| categories | Array of integers |
Array of objects (ContactProperties) | |
| id required | integer <int64> |
[- {
- "id": 23,
- "categories": [
- 13
], - "visibility": "private"
}, - {
- "id": 27,
- "owner": 32
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}items field contains all uninserted/unupdated elements
| job-queue-id required | integer Id of job queue |
{- "items": [
- {
- "firstname": "John",
- "lastname": "Tester",
- "type": "person",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "properties": [
- {
- "property_id": 5,
- "langcode": "EN",
- "values": [
- 3,
- 4
]
}
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}required | object |
object | |
object | |
object | |
object | |
object | |
object | |
object | |
required | object |
Array of objects (NewsProperties) |
[- {
- "translations": {
- "FI": "Uutinen1",
- "EN": "News1"
}, - "intros": {
- "FI": "Johdanto",
- "EN": "Introduction"
}, - "categories": {
- "FI": [
- 13,
- 9
], - "EN": [
- 9
]
}
}, - {
- "translations": {
- "FI": "Uutinen2"
}, - "categories": {
- "FI": [
- 9
]
}
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| id required | integer <int64> |
| translation | string |
| intro | string |
| body | string |
| commenting | string (schemas-CommentingTypes) Default: "none" Enum: "public" "none" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (schemas-VisibilityTypes) Default: "public" Enum: "public" "hidden" |
| categories | Array of integers |
Array of objects (NewsProperties) |
[- {
- "id": 4,
- "visibility": "none"
}, - {
- "id": 5,
- "body": "Kappale"
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}items field contains all uninserted/unupdated elements
| job-queue-id required | integer Id of job queue |
{- "items": [
- {
- "translations": {
- "FI": "Uutinen",
- "EN": "News"
}, - "intros": {
- "FI": "Intro",
- "EN": "Intro"
}, - "bodies": {
- "FI": "Sisältö",
- "EN": "Content"
}, - "commentings": {
- "FI": "public",
- "EN": "none"
}, - "owners": {
- "FI": 54,
- "EN": 57
}, - "valid_froms": {
- "FI": "2045-02-04T05:24:28Z",
- "EN": "2045-02-04T05:24:28Z"
}, - "valid_tos": {
- "FI": "2054-02-04T05:24:28Z",
- "EN": "2047-02-04T05:24:28Z"
}, - "visibilities": {
- "FI": "hidden",
- "EN": "public"
}, - "categories": {
- "FI": [
- 15,
- 12
], - "EN": [
- 15,
- 10
]
}, - "properties": [
- {
- "property_id": 5,
- "langcode": "EN",
- "values": [
- 3,
- 4
]
}
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}required | object |
object | |
object | |
object | |
object | |
object | |
object | |
object | |
required | object |
Array of objects (EventProperties) |
[- {
- "translations": {
- "FI": "Tapahtuma1",
- "EN": "Event1"
}, - "intros": {
- "FI": "Johdanto",
- "EN": "Introduction"
}, - "categories": {
- "FI": [
- 13,
- 9
], - "EN": [
- 9
]
}
}, - {
- "translations": {
- "FI": "Tapahtuma2"
}, - "categories": {
- "FI": [
- 9
]
}
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| id required | integer <int64> |
| translation | string |
| intro | string |
| body | string |
| commenting | string (schemas-CommentingTypes) Default: "none" Enum: "public" "none" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (schemas-VisibilityTypes) Default: "public" Enum: "public" "hidden" |
| categories | Array of integers |
Array of objects (EventProperties) |
[- {
- "id": 4,
- "visibility": "none"
}, - {
- "id": 5,
- "body": "Kappale"
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}items field contains all uninserted/unupdated elements
| job-queue-id required | integer Id of job queue |
{- "items": [
- {
- "translations": {
- "FI": "Tapahtuma",
- "EN": "Event"
}, - "intros": {
- "FI": "Intro",
- "EN": "Intro"
}, - "bodies": {
- "FI": "Sisältö",
- "EN": "Content"
}, - "commentings": {
- "FI": "public",
- "EN": "none"
}, - "owners": {
- "FI": 54,
- "EN": 57
}, - "valid_froms": {
- "FI": "2045-02-04T05:24:28Z",
- "EN": "2045-02-04T05:24:28Z"
}, - "valid_tos": {
- "FI": "2054-02-04T05:24:28Z",
- "EN": "2047-02-04T05:24:28Z"
}, - "visibilities": {
- "FI": "hidden",
- "EN": "public"
}, - "categories": {
- "FI": [
- 15,
- 12
], - "EN": [
- 15,
- 10
]
}, - "properties": [
- {
- "property_id": 5,
- "langcode": "EN",
- "values": [
- 3,
- 4
]
}
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}required | object |
| commenting | string (CommentingTypes) Default: "none" Enum: "public" "registered" "none" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (VisibilityTypes) Default: "public" Enum: "public" "private" "registered" "hidden" |
| categories required | Array of integers |
Array of objects (ProductProperties) |
[- {
- "translations": {
- "FI": "Astianpesukone",
- "EN": "Dishwasher"
}, - "categories": [
- 13,
- 9
]
}, - {
- "translations": {
- "FI": "Pyötä",
- "EN": "Table"
}, - "categories": [
- 10,
- 9
], - "commenting": "registered"
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| id required | integer <int64> |
object | |
| commenting | string (CommentingTypes) Default: "none" Enum: "public" "registered" "none" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (VisibilityTypes) Default: "public" Enum: "public" "private" "registered" "hidden" |
| categories | Array of integers |
Array of objects (ProductProperties) |
[- {
- "id": 23,
- "categories": [
- 13
], - "visibility": "hidden"
}, - {
- "id": 27,
- "owner": 32
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| limit | integer >= 1 Default: 20 Example: limit=30 The number of items to return. Default is 20. |
| offset | integer >= 0 The number of items to skip. |
| langcode | Array of strings non-empty Products to search by language. Example langcode[]=FI&langcode[]=EN |
| categories | Array of integers non-empty Products to search by categories. Example categories[]=1&categories[]=2 |
| visibility | Array of strings non-empty Enum: "public" "private" "registered" "hidden" Products to search by visibility. Example visibility[]=hidden&visibility[]=public |
| commenting | Array of strings non-empty Enum: "public" "none" "registered" Products to search by commenting. Example commenting[]=registered&commenting[]=public |
| owner | Array of integers non-empty Products to search by owner. Example owner[]=1&owner[]=2 |
| valid_from_before | string <date-time> non-empty Products to search by validity start before given date-time. Example valid_from_before=2019-12-13T10:47:00Z |
| valid_from_after | string <date-time> non-empty Products to search by validity start after given date-time. Example valid_from_after=2019-12-13T10:47:00Z |
| valid_to_before | string <date-time> non-empty Products to search by validity end before given date-time. Example valid_to_before=2019-12-13T10:47:00Z |
| valid_to_after | string <date-time> non-empty Products to search by validity end after given date-time. Example valid_to_after=2019-12-13T10:47:00Z |
| posted_before | string <date-time> non-empty Products to search by posted before before given date-time. Example posted_before=2019-12-13T10:47:00Z |
| posted_after | string <date-time> non-empty Products to search by posted after given date-time. Example posted_after=2019-12-13T10:47:00Z |
| modified_before | string <date-time> non-empty Products to search by modified before before given date-time. Example modified_before=2019-12-13T10:47:00Z |
| modified_after | string <date-time> non-empty Products to search by modified after given date-time. Example modified_after=2019-12-13T10:47:00Z |
| show_properties | boolean <boolean> Example: show_properties=true List Product Properties |
{- "items": [
- {
- "id": 5,
- "translations": {
- "FI": "Tuotteet",
- "EN": "Products"
}, - "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "modified_by": 65,
- "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": {
- "langcode": [
- "string"
]
}
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}required | object |
| commenting | string (CommentingTypes) Default: "none" Enum: "public" "registered" "none" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (VisibilityTypes) Default: "public" Enum: "public" "private" "registered" "hidden" |
| categories required | Array of integers |
Array of objects (ProductProperties) |
{- "translations": {
- "FI": "Tuotteet",
- "EN": "Products"
}, - "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "properties": [
- {
- "property_id": 5,
- "langcode": "EN",
- "values": [
- 3,
- 4
]
}
]
}{- "items": [
- {
- "id": 5,
- "translations": {
- "FI": "Tuotteet",
- "EN": "Products"
}, - "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "modified_by": 65,
- "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": {
- "langcode": [
- "string"
]
}
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| product-id required | integer Id of product |
{- "items": [
- {
- "id": 5,
- "translations": {
- "FI": "Tuotteet",
- "EN": "Products"
}, - "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "modified_by": 65,
- "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": {
- "langcode": [
- "string"
]
}
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| product-id required | integer Id of product |
object | |
| commenting | string (CommentingTypes) Default: "none" Enum: "public" "registered" "none" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (VisibilityTypes) Default: "public" Enum: "public" "private" "registered" "hidden" |
| categories | Array of integers |
Array of objects (ProductProperties) |
{- "translations": {
- "FI": "Tuotteet",
- "EN": "Products"
}, - "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "properties": [
- {
- "property_id": 5,
- "langcode": "EN",
- "values": [
- 3,
- 4
]
}
]
}{- "items": [
- {
- "id": 5,
- "translations": {
- "FI": "Tuotteet",
- "EN": "Products"
}, - "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "modified_by": 65,
- "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": {
- "langcode": [
- "string"
]
}
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| product-id required | integer Id of product |
{- "items": [
- {
- "id": 5,
- "translations": {
- "FI": "Tuotteet",
- "EN": "Products"
}, - "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "modified_by": 65,
- "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": {
- "langcode": [
- "string"
]
}
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| firstname required | string |
| lastname required | string |
| type | string Value: "person" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (VisibilityTypes) Default: "public" Enum: "public" "private" "registered" "hidden" |
| categories required | Array of integers |
Array of objects (ContactProperties) |
[- {
- "type": "person",
- "firstname": "Testi",
- "lastname": "Testaaja",
- "categories": [
- 13,
- 9
]
}, - {
- "type": "organization",
- "names": {
- "FI": "Yritys",
- "EN": "Company"
}, - "categories": [
- 10,
- 9
], - "visibility": "hidden"
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| firstname | string |
| lastname | string |
| type | string Value: "person" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (VisibilityTypes) Default: "public" Enum: "public" "private" "registered" "hidden" |
| categories | Array of integers |
Array of objects (ContactProperties) | |
| id required | integer <int64> |
[- {
- "id": 23,
- "categories": [
- 13
], - "visibility": "private"
}, - {
- "id": 27,
- "owner": 32
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| limit | integer >= 1 Default: 20 Example: limit=30 The number of items to return. Default is 20. |
| offset | integer >= 0 The number of items to skip. |
| langcode | Array of strings non-empty Contacts to search by language. Example langcode[]=FI&langcode[]=EN |
| langcode | Array of strings non-empty Contacts to search by language. Example langcode[]=FI&langcode[]=EN |
| categories | Array of integers non-empty Contacts to search by categories. Example categories[]=1&categories[]=2 |
| visibility | Array of strings non-empty Enum: "public" "private" "registered" "hidden" Contacts to search by visibility. Example visibility[]=hidden&visibility[]=public |
| owner | Array of integers non-empty Contacts to search by owner. Example owner[]=1&owner[]=2 |
| valid_from_before | string <date-time> non-empty contacts to search by validity start before given date-time. Example valid_from_before=2019-12-13T10:47:00Z |
| valid_from_after | string <date-time> non-empty Contacts to search by validity start after given date-time. Example valid_from_after=2019-12-13T10:47:00Z |
| valid_to_before | string <date-time> non-empty Contacts to search by validity end before given date-time. Example valid_to_before=2019-12-13T10:47:00Z |
| valid_to_after | string <date-time> non-empty Contacts to search by validity end after given date-time. Example valid_to_after=2019-12-13T10:47:00Z |
| posted_before | string <date-time> non-empty Contacts to search by posted before before given date-time. Example posted_before=2019-12-13T10:47:00Z |
| posted_after | string <date-time> non-empty Contacts to search by posted after given date-time. Example posted_after=2019-12-13T10:47:00Z |
| modified_before | string <date-time> non-empty Contacts to search by modified before before given date-time. Example modified_before=2019-12-13T10:47:00Z |
| modified_after | string <date-time> non-empty Contacts to search by modified after given date-time. Example modified_after=2019-12-13T10:47:00Z |
| show_properties | boolean <boolean> Example: show_properties=true List contact Properties |
{- "items": [
- {
- "id": 5,
- "firstname": "John",
- "lastname": "Tester",
- "names": {
- "FI": "Yritys",
- "EN": "Company"
}, - "type": "person",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "modified_by": 65,
- "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": {
- "langcode": [
- "string"
]
}
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| firstname required | string |
| lastname required | string |
| type | string Value: "person" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (VisibilityTypes) Default: "public" Enum: "public" "private" "registered" "hidden" |
| categories required | Array of integers |
Array of objects (ContactProperties) |
{- "firstname": "John",
- "lastname": "Tester",
- "type": "person",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "properties": [
- {
- "property_id": 5,
- "langcode": "EN",
- "values": [
- 3,
- 4
]
}
]
}{- "items": [
- {
- "id": 5,
- "firstname": "John",
- "lastname": "Tester",
- "names": {
- "FI": "Yritys",
- "EN": "Company"
}, - "type": "person",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "modified_by": 65,
- "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": {
- "langcode": [
- "string"
]
}
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| contact-id required | integer Id of contact |
{- "items": [
- {
- "id": 5,
- "firstname": "John",
- "lastname": "Tester",
- "names": {
- "FI": "Yritys",
- "EN": "Company"
}, - "type": "person",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "modified_by": 65,
- "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": {
- "langcode": [
- "string"
]
}
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| contact-id required | integer Id of contact |
| firstname | string |
| lastname | string |
| type | string Value: "person" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (VisibilityTypes) Default: "public" Enum: "public" "private" "registered" "hidden" |
| categories | Array of integers |
Array of objects (ContactProperties) |
{- "firstname": "John",
- "lastname": "Tester",
- "type": "person",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "properties": [
- {
- "property_id": 5,
- "langcode": "EN",
- "values": [
- 3,
- 4
]
}
]
}{- "items": [
- {
- "id": 5,
- "firstname": "John",
- "lastname": "Tester",
- "names": {
- "FI": "Yritys",
- "EN": "Company"
}, - "type": "person",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "modified_by": 65,
- "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": {
- "langcode": [
- "string"
]
}
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| contact-id required | integer Id of contact |
{- "items": [
- {
- "id": 5,
- "firstname": "John",
- "lastname": "Tester",
- "names": {
- "FI": "Yritys",
- "EN": "Company"
}, - "type": "person",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "modified_by": 65,
- "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": {
- "langcode": [
- "string"
]
}
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}required | object |
object | |
object | |
object | |
object | |
object | |
object | |
object | |
required | object |
Array of objects (NewsProperties) |
[- {
- "translations": {
- "FI": "Uutinen1",
- "EN": "News1"
}, - "intros": {
- "FI": "Johdanto",
- "EN": "Introduction"
}, - "categories": {
- "FI": [
- 13,
- 9
], - "EN": [
- 9
]
}
}, - {
- "translations": {
- "FI": "Uutinen2"
}, - "categories": {
- "FI": [
- 9
]
}
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| id required | integer <int64> |
| translation | string |
| intro | string |
| body | string |
| commenting | string (schemas-CommentingTypes) Default: "none" Enum: "public" "none" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (schemas-VisibilityTypes) Default: "public" Enum: "public" "hidden" |
| categories | Array of integers |
Array of objects (NewsProperties) |
[- {
- "id": 4,
- "visibility": "none"
}, - {
- "id": 5,
- "body": "Kappale"
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| limit | integer >= 1 Default: 20 Example: limit=30 The number of items to return. Default is 20. |
| offset | integer >= 0 The number of items to skip. |
| langcode required | Array of strings non-empty News to search by language. Example langcode[]=FI&langcode[]=EN |
| categories | Array of integers non-empty News to search by categories. Example categories[]=1&categories[]=2 |
| visibility | Array of strings non-empty Enum: "public" "private" "registered" "hidden" News to search by visibility. Example visibility[]=hidden&visibility[]=public |
| commenting | Array of strings non-empty Enum: "public" "none" "registered" News to search by commenting. Example commenting[]=registered&commenting[]=public |
| owner | Array of integers non-empty News to search by owner. Example owner[]=1&owner[]=2 |
| valid_from_before | string <date-time> non-empty News to search by validity start before given date-time. Example valid_from_before=2019-12-13T10:47:00Z |
| valid_from_after | string <date-time> non-empty News to search by validity start after given date-time. Example valid_from_after=2019-12-13T10:47:00Z |
| valid_to_before | string <date-time> non-empty News to search by validity end before given date-time. Example valid_to_before=2019-12-13T10:47:00Z |
| valid_to_after | string <date-time> non-empty News to search by validity end after given date-time. Example valid_to_after=2019-12-13T10:47:00Z |
| posted_before | string <date-time> non-empty News to search by posted before before given date-time. Example posted_before=2019-12-13T10:47:00Z |
| posted_after | string <date-time> non-empty News to search by posted after given date-time. Example posted_after=2019-12-13T10:47:00Z |
| modified_before | string <date-time> non-empty News to search by modified before before given date-time. Example modified_before=2019-12-13T10:47:00Z |
| modified_after | string <date-time> non-empty News to search by modified after given date-time. Example modified_after=2019-12-13T10:47:00Z |
| show_properties | boolean <boolean> Example: show_properties=true List news Properties |
{- "items": [
- {
- "id": 5,
- "translation": "Uutinen",
- "intro": "Intro",
- "body": "Sisältö",
- "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "language": "FI",
- "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "versions": {
- "FI": 11,
- "EN": 12,
- "DE": 13
}, - "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": [
- "/cms/kategoria/uutinen/uutinen-1.html"
],
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}required | object |
object | |
object | |
object | |
object | |
object | |
object | |
object | |
required | object |
Array of objects (NewsProperties) |
{- "translations": {
- "FI": "Uutinen",
- "EN": "News"
}, - "intros": {
- "FI": "Intro",
- "EN": "Intro"
}, - "bodies": {
- "FI": "Sisältö",
- "EN": "Content"
}, - "commentings": {
- "FI": "public",
- "EN": "none"
}, - "owners": {
- "FI": 54,
- "EN": 57
}, - "valid_froms": {
- "FI": "2045-02-04T05:24:28Z",
- "EN": "2045-02-04T05:24:28Z"
}, - "valid_tos": {
- "FI": "2054-02-04T05:24:28Z",
- "EN": "2047-02-04T05:24:28Z"
}, - "visibilities": {
- "FI": "hidden",
- "EN": "public"
}, - "categories": {
- "FI": [
- 15,
- 12
], - "EN": [
- 15,
- 10
]
}, - "properties": [
- {
- "property_id": 5,
- "langcode": "EN",
- "values": [
- 3,
- 4
]
}
]
}{- "items": [
- {
- "id": 5,
- "translation": "Uutinen",
- "intro": "Intro",
- "body": "Sisältö",
- "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "language": "FI",
- "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "versions": {
- "FI": 11,
- "EN": 12,
- "DE": 13
}, - "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": [
- "/cms/kategoria/uutinen/uutinen-1.html"
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| limit | integer >= 1 Default: 20 Example: limit=30 The number of items to return. Default is 20. |
| offset | integer >= 0 The number of items to skip. |
{- "items": [
- {
- "id": 5,
- "translation": "Uutinen",
- "intro": "Intro",
- "body": "Sisältö",
- "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "language": "FI",
- "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "versions": {
- "FI": 11,
- "EN": 12,
- "DE": 13
}, - "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": [
- "/cms/kategoria/uutinen/uutinen-1.html"
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}news-id should match existing language version of an news
| translation required | string |
| intro | string |
| body | string |
| commenting | string (schemas-CommentingTypes) Default: "none" Enum: "public" "none" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (schemas-VisibilityTypes) Default: "public" Enum: "public" "hidden" |
| categories required | Array of integers |
| language required | string |
Array of objects (NewsProperties) |
{- "translation": "Uutinen",
- "intro": "Intro",
- "body": "Sisältö",
- "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "language": "FI",
- "properties": [
- {
- "property_id": 5,
- "langcode": "EN",
- "values": [
- 3,
- 4
]
}
]
}{- "items": [
- {
- "id": 5,
- "translation": "Uutinen",
- "intro": "Intro",
- "body": "Sisältö",
- "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "language": "FI",
- "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "versions": {
- "FI": 11,
- "EN": 12,
- "DE": 13
}, - "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": [
- "/cms/kategoria/uutinen/uutinen-1.html"
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| news-id required | integer Id of news |
| translation | string |
| intro | string |
| body | string |
| commenting | string (schemas-CommentingTypes) Default: "none" Enum: "public" "none" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (schemas-VisibilityTypes) Default: "public" Enum: "public" "hidden" |
| categories | Array of integers |
Array of objects (NewsProperties) |
{- "translation": "Uutinen",
- "intro": "Intro",
- "body": "Sisältö",
- "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "properties": [
- {
- "property_id": 5,
- "langcode": "EN",
- "values": [
- 3,
- 4
]
}
]
}{- "items": [
- {
- "id": 5,
- "translation": "Uutinen",
- "intro": "Intro",
- "body": "Sisältö",
- "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "language": "FI",
- "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "versions": {
- "FI": 11,
- "EN": 12,
- "DE": 13
}, - "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": [
- "/cms/kategoria/uutinen/uutinen-1.html"
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| news-id required | integer Id of news |
| remove_all_versions | boolean Default: false |
{- "remove_all_versions": false
}{- "items": [
- {
- "id": 5,
- "translation": "Uutinen",
- "intro": "Intro",
- "body": "Sisältö",
- "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "language": "FI",
- "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "versions": {
- "FI": 11,
- "EN": 12,
- "DE": 13
}, - "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": [
- "/cms/kategoria/uutinen/uutinen-1.html"
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}required | object |
object | |
object | |
object | |
object | |
object | |
object | |
object | |
required | object |
Array of objects (EventProperties) |
[- {
- "translations": {
- "FI": "Tapahtuma1",
- "EN": "Event1"
}, - "intros": {
- "FI": "Johdanto",
- "EN": "Introduction"
}, - "categories": {
- "FI": [
- 13,
- 9
], - "EN": [
- 9
]
}
}, - {
- "translations": {
- "FI": "Tapahtuma2"
}, - "categories": {
- "FI": [
- 9
]
}
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| id required | integer <int64> |
| translation | string |
| intro | string |
| body | string |
| commenting | string (schemas-CommentingTypes) Default: "none" Enum: "public" "none" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (schemas-VisibilityTypes) Default: "public" Enum: "public" "hidden" |
| categories | Array of integers |
Array of objects (EventProperties) |
[- {
- "id": 4,
- "visibility": "none"
}, - {
- "id": 5,
- "body": "Kappale"
}
]{- "status": {
- "state": "processing",
- "message": "Started process",
- "eta": "2024-02-04T05:24:28Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| limit | integer >= 1 Default: 20 Example: limit=30 The number of items to return. Default is 20. |
| offset | integer >= 0 The number of items to skip. |
| langcode required | Array of strings non-empty Events to search by language. Example langcode[]=FI&langcode[]=EN |
| langcode required | Array of strings non-empty Events to search by language. Example langcode[]=FI&langcode[]=EN |
| categories | Array of integers non-empty Events to search by categories. Example categories[]=1&categories[]=2 |
| visibility | Array of strings non-empty Enum: "public" "private" "registered" "hidden" Events to search by visibility. Example visibility[]=hidden&visibility[]=public |
| commenting | Array of strings non-empty Enum: "public" "none" "registered" Events to search by commenting. Example commenting[]=registered&commenting[]=public |
| owner | Array of integers non-empty Events to search by owner. Example owner[]=1&owner[]=2 |
| valid_from_before | string <date-time> non-empty Events to search by validity start before given date-time. Example valid_from_before=2019-12-13T10:47:00Z |
| valid_from_after | string <date-time> non-empty Events to search by validity start after given date-time. Example valid_from_after=2019-12-13T10:47:00Z |
| valid_to_before | string <date-time> non-empty Events to search by validity end before given date-time. Example valid_to_before=2019-12-13T10:47:00Z |
| valid_to_after | string <date-time> non-empty Events to search by validity end after given date-time. Example valid_to_after=2019-12-13T10:47:00Z |
| posted_before | string <date-time> non-empty Events to search by posted before before given date-time. Example posted_before=2019-12-13T10:47:00Z |
| posted_after | string <date-time> non-empty Events to search by posted after given date-time. Example posted_after=2019-12-13T10:47:00Z |
| modified_before | string <date-time> non-empty Events to search by modified before before given date-time. Example modified_before=2019-12-13T10:47:00Z |
| modified_after | string <date-time> non-empty Events to search by modified after given date-time. Example modified_after=2019-12-13T10:47:00Z |
| show_properties | boolean <boolean> Example: show_properties=true List event Properties |
{- "items": [
- {
- "id": 5,
- "translation": "Tapahtuma",
- "intro": "Intro",
- "body": "Sisältö",
- "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "language": "FI",
- "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "versions": {
- "FI": 11,
- "EN": 12,
- "DE": 13
}, - "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": [
- "/cms/kategoria/tapahtuma/tapahtuma-1.html"
],
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}required | object |
object | |
object | |
object | |
object | |
object | |
object | |
object | |
required | object |
Array of objects (EventProperties) |
{- "translations": {
- "FI": "Tapahtuma",
- "EN": "Event"
}, - "intros": {
- "FI": "Intro",
- "EN": "Intro"
}, - "bodies": {
- "FI": "Sisältö",
- "EN": "Content"
}, - "commentings": {
- "FI": "public",
- "EN": "none"
}, - "owners": {
- "FI": 54,
- "EN": 57
}, - "valid_froms": {
- "FI": "2045-02-04T05:24:28Z",
- "EN": "2045-02-04T05:24:28Z"
}, - "valid_tos": {
- "FI": "2054-02-04T05:24:28Z",
- "EN": "2047-02-04T05:24:28Z"
}, - "visibilities": {
- "FI": "hidden",
- "EN": "public"
}, - "categories": {
- "FI": [
- 15,
- 12
], - "EN": [
- 15,
- 10
]
}, - "properties": [
- {
- "property_id": 5,
- "langcode": "EN",
- "values": [
- 3,
- 4
]
}
]
}{- "items": [
- {
- "id": 5,
- "translation": "Tapahtuma",
- "intro": "Intro",
- "body": "Sisältö",
- "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "language": "FI",
- "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "versions": {
- "FI": 11,
- "EN": 12,
- "DE": 13
}, - "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": [
- "/cms/kategoria/tapahtuma/tapahtuma-1.html"
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| limit | integer >= 1 Default: 20 Example: limit=30 The number of items to return. Default is 20. |
| offset | integer >= 0 The number of items to skip. |
{- "items": [
- {
- "id": 5,
- "translation": "Tapahtuma",
- "intro": "Intro",
- "body": "Sisältö",
- "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "language": "FI",
- "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "versions": {
- "FI": 11,
- "EN": 12,
- "DE": 13
}, - "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": [
- "/cms/kategoria/tapahtuma/tapahtuma-1.html"
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}event-id should match existing language version of an event
| translation required | string |
| intro | string |
| body | string |
| commenting | string (schemas-CommentingTypes) Default: "none" Enum: "public" "none" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (schemas-VisibilityTypes) Default: "public" Enum: "public" "hidden" |
| categories required | Array of integers |
| language required | string |
Array of objects (EventProperties) |
{- "translation": "Tapahtuma",
- "intro": "Intro",
- "body": "Sisältö",
- "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "language": "FI",
- "properties": [
- {
- "property_id": 5,
- "langcode": "EN",
- "values": [
- 3,
- 4
]
}
]
}{- "items": [
- {
- "id": 5,
- "translation": "Tapahtuma",
- "intro": "Intro",
- "body": "Sisältö",
- "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "language": "FI",
- "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "versions": {
- "FI": 11,
- "EN": 12,
- "DE": 13
}, - "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": [
- "/cms/kategoria/tapahtuma/tapahtuma-1.html"
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| event-id required | integer Id of event |
| translation | string |
| intro | string |
| body | string |
| commenting | string (schemas-CommentingTypes) Default: "none" Enum: "public" "none" |
| owner | integer |
| valid_from | string <date-time> |
| valid_to | string <date-time> |
| visibility | string (schemas-VisibilityTypes) Default: "public" Enum: "public" "hidden" |
| categories | Array of integers |
Array of objects (EventProperties) |
{- "translation": "Tapahtuma",
- "intro": "Intro",
- "body": "Sisältö",
- "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "properties": [
- {
- "property_id": 5,
- "langcode": "EN",
- "values": [
- 3,
- 4
]
}
]
}{- "items": [
- {
- "id": 5,
- "translation": "Tapahtuma",
- "intro": "Intro",
- "body": "Sisältö",
- "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "language": "FI",
- "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "versions": {
- "FI": 11,
- "EN": 12,
- "DE": 13
}, - "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": [
- "/cms/kategoria/tapahtuma/tapahtuma-1.html"
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| event-id required | integer Id of event |
| remove_all_versions | boolean Default: false |
{- "remove_all_versions": false
}{- "items": [
- {
- "id": 5,
- "translation": "Tapahtuma",
- "intro": "Intro",
- "body": "Sisältö",
- "commenting": "public",
- "owner": 54,
- "valid_from": "2045-02-04T05:24:28Z",
- "valid_to": "2050-02-04T05:24:28Z",
- "visibility": "public",
- "categories": [
- 3,
- 4
], - "language": "FI",
- "posted": "2035-02-04T05:24:28Z",
- "modified": "2017-02-04T05:24:28Z",
- "versions": {
- "FI": 11,
- "EN": 12,
- "DE": 13
}, - "properties": [
- {
- "property_id": 1,
- "langcode": "FI",
- "values": [
- 1,
- 2
],
}
], - "links": [
- "/cms/kategoria/tapahtuma/tapahtuma-1.html"
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| name required | string |
object | |
object | |
| type required | string Value: "folder" |
| target required | integer <int64> |
{- "name": "Tiedosto",
- "titles": {
- "FI": "Otsikko",
- "EN": "Title"
}, - "descriptions": {
- "FI": "Kuvaus",
- "EN": "Description"
}, - "type": "folder",
- "target": 5
}{- "items": [
- {
- "id": 5,
- "name": "Kuva",
- "titles": {
- "FI": "Otsikko",
- "EN": "Title"
}, - "descriptions": {
- "FI": "Kuvaus",
- "EN": "Description"
}, - "type": "folder",
- "mime_type": "image/png",
- "is_private": false,
- "created": "2023-02-04T05:24:28Z"
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}Id 0 corresponds to the root path
| limit | integer >= 1 Default: 20 Example: limit=30 The number of items to return. Default is 20. |
| offset | integer >= 0 The number of items to skip. |
| private | boolean Default: false Show private files. |
{- "items": [
- {
- "id": 5,
- "name": "Kuva",
- "titles": {
- "FI": "Otsikko",
- "EN": "Title"
}, - "descriptions": {
- "FI": "Kuvaus",
- "EN": "Description"
}, - "type": "folder",
- "mime_type": "image/png",
- "is_private": false,
- "created": "2023-02-04T05:24:28Z"
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}Files are only allowed to be moved to another directory
| news-id required | integer Id of media |
| name | string |
object | |
object | |
| move_to | integer <int64> |
{- "name": "Tiedosto",
- "titles": {
- "FI": "Otsikko",
- "EN": "Title"
}, - "descriptions": {
- "FI": "Kuvaus",
- "EN": "Description"
}, - "move_to": 5
}{- "items": [
- {
- "id": 5,
- "name": "Kuva",
- "titles": {
- "FI": "Otsikko",
- "EN": "Title"
}, - "descriptions": {
- "FI": "Kuvaus",
- "EN": "Description"
}, - "type": "folder",
- "mime_type": "image/png",
- "is_private": false,
- "created": "2023-02-04T05:24:28Z"
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}