API introspection – List packages, resources and their interfaces

Found 9 resources


Resource class ContentVendor\Controller\Api\V1\LanguagesController of type CollectionController
Access controlled by ContentVendor\Core\Api\AccessRule\ApiAccessRule

Endpoint to recieve a collection of all published provided language models

Name Type Size Default Description Visible Mutable Nullable
State ENUM DRAFT Value set: DRAFT, PUBLISHED yes no no
Fallback BOOLEAN false yes no no
Code ENUM not set Value set: AF, AR_AE, AR_BH, AR_DZ, AR_EG, AR_IQ, AR_JO, AR_KW, AR_LB, AR_LY, AR_MA, AR_OM, AR_QA, AR_SA, AR_SY, AR_TN, AR_YE, BE, BG, CA, CS, CY, DA, DE, DE_AT, DE_CH, DE_LI, DE_LU, EL, EN, EN_AU, EN_BZ, EN_CA, EN_GB, EN_IE, EN_JM, EN_NZ, EN_TT, EN_US, EN_ZA, ES, ES_AR, ES_BO, ES_CL, ES_CO, ES_CR, ES_DO, ES_EC, ES_GT, ES_HN, ES_MX, ES_NI, ES_PA, ES_PE, ES_PR, ES_PY, ES_SV, ES_UY, ES_VE, ET, EU, FA, FI, FO, FR, FR_BE, FR_CA, FR_CH, FR_LU, GA, GD, HE, HI, HR, HU, ID, IS, IT, IT_CH, JA, JI, KO, KU, LT, LV, MK, ML, MS, MT, NL, NL_BE, NB, NN, NO, PA, PL, PT, PT_BR, RM, RO, RO_MD, RU, RU_MD, SB, SK, SL, SQ, SR, SV, SV_FI, TH, TN, TR, TS, UK, UR, VE, VI, XH, ZH_CN, ZH_HK, ZH_SG, ZH_TW, ZU yes no no
TextDirection ENUM LEFT_TO_RIGHT Value set: LEFT_TO_RIGHT, RIGHT_TO_LEFT yes no no
FirstDayOfWeek ENUM SUNDAY Value set: SATURDAY, SUNDAY, MONDAY yes no no
DateFormat VARCHAR 16 Y-m-d yes no no
TimeFormat VARCHAR 16 H:i:s yes no no
CreatedAt TIMESTAMP not set yes no yes
UpdatedAt TIMESTAMP not set yes no yes
Uuid VARCHAR 36 not set yes no no
CustomAttributes VIRTUAL not set yes no yes

Interfaces

Found 2 interfaces in class ContentVendor\Controller\Api\V1\LanguagesController

Resource: Languages, Method: find

Loads a model collection or throws an exception

Endpoint
GET /api/v1/languages/
GET /api/v1/languages
Host: /
Accept: application/json
Authorization: Bearer aHgxbjlpMTh3b3doczAzbDo4ODEwNzY0NC00MzE3LTRjY2ItYWE4MC0wYmQzYjkxOGZiYjQ=
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3


HTTP/1.1 200 Ok
Date: Sat, 15 Feb 2020 13:52:06 +0000
Content-Length: 2234
Content-Type: application/json
Cache-Control: public, max-age=86400
Expires: Sun, 16 Feb 2020 13:52:06 GMT
Last-Modified: Sat, 15 Feb 2020 13:52:06 GMT

{ "LanguageModelCollection": [ { "State": "DRAFT", "Fallback": true, "Code": "EN_US", "TextDirection": "LEFT_TO_RIGHT", "FirstDayOfWeek": "SUNDAY", "DateFormat": "Y-m-d", "TimeFormat": "H:i:s", "CreatedAt": "2013-11-12 16:39:00", "UpdatedAt": "2013-11-12 16:39:00", "Uuid": "123e4567-e89b-12d3-a456-426655440000", "CustomAttributes": { "CUSTOM_ATTRIBUTE_IDENTIFIER_1": "Custom attribute string value", "CUSTOM_ATTRIBUTE_IDENTIFIER_2": true, "CUSTOM_ATTRIBUTE_IDENTIFIER_3": 1279, "CUSTOM_ATTRIBUTE_IDENTIFIER_4": 23.194687, "CUSTOM_ATTRIBUTE_IDENTIFIER_5": [ "Custom", "attribute list", "value" ], "CUSTOM_ATTRIBUTE_IDENTIFIER_6": "Custom attribute selected value from enum value set" } } ], "CollectionConfiguration": { "CollectionModelName": "LanguageModelCollection", "IsPaginated": true, "MaxItemsPerPage": 100, "CurrentPage": 1, "FirstPage": 1, "LastPage": 5, "PreviousPage": 1, "NextPage": 2, "CurrentPageEndpoint": "Endpoint to get this page", "FirstPageEndpoint": "Endpoint to get the first page", "LastPageEndpoint": "Endpoint to get the last page", "PreviousPageEndpoint": "Endpoint to get the previous page", "NextPageEndpoint": "Endpoint to get the next page", "FirstIndex": 0, "LastIndex": 99, "TotalCount": 469 }, "Notifications": [ { "Type": "Propeller\\Lib\\ControllerNotification\\ControllerNotification", "Message": "SOME_NOTIFICATION_MESSAGE", "LocalizedMessage": "The localized notification message", "Level": 1, "LevelAsString": "notification", "Details": [ "Localized detail message #1", "Localized detail message #2", "Localized detail message #3" ], "Code": 17 } ] }
GET /api/v1/languages
                      
Host: /
Accept: application/json
Authorization: Bearer aHgxbjlpMTh3b3doczAzbDo4ODEwNzY0NC00MzE3LTRjY2ItYWE4MC0wYmQzYjkxOGZiYjQ=
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3



HTTP/1.1 200 Ok
Date: Sat, 15 Feb 2020 13:52:06 +0000
Content-Length: 2234
Content-Type: application/json

{ "LanguageModelCollection": [ { "State": "DRAFT", "Fallback": true, "Code": "EN_US", "TextDirection": "LEFT_TO_RIGHT", "FirstDayOfWeek": "SUNDAY", "DateFormat": "Y-m-d", "TimeFormat": "H:i:s", "CreatedAt": "2013-11-12 16:39:00", "UpdatedAt": "2013-11-12 16:39:00", "Uuid": "123e4567-e89b-12d3-a456-426655440000", "CustomAttributes": { "CUSTOM_ATTRIBUTE_IDENTIFIER_1": "Custom attribute string value", "CUSTOM_ATTRIBUTE_IDENTIFIER_2": true, "CUSTOM_ATTRIBUTE_IDENTIFIER_3": 1279, "CUSTOM_ATTRIBUTE_IDENTIFIER_4": 23.194687, "CUSTOM_ATTRIBUTE_IDENTIFIER_5": [ "Custom", "attribute list", "value" ], "CUSTOM_ATTRIBUTE_IDENTIFIER_6": "Custom attribute selected value from enum value set" } } ], "CollectionConfiguration": { "CollectionModelName": "LanguageModelCollection", "IsPaginated": true, "MaxItemsPerPage": 100, "CurrentPage": 1, "FirstPage": 1, "LastPage": 5, "PreviousPage": 1, "NextPage": 2, "CurrentPageEndpoint": "Endpoint to get this page", "FirstPageEndpoint": "Endpoint to get the first page", "LastPageEndpoint": "Endpoint to get the last page", "PreviousPageEndpoint": "Endpoint to get the previous page", "NextPageEndpoint": "Endpoint to get the next page", "FirstIndex": 0, "LastIndex": 99, "TotalCount": 469 }, "Notifications": [ { "Type": "Propeller\\Lib\\ControllerNotification\\ControllerNotification", "Message": "SOME_NOTIFICATION_MESSAGE", "LocalizedMessage": "The localized notification message", "Level": 1, "LevelAsString": "notification", "Details": [ "Localized detail message #1", "Localized detail message #2", "Localized detail message #3" ], "Code": 17 } ] }
Request header
Bearer Token named Authorization
The Clients Last Modified Date Time As HTTP Date (RFC 2616) named If-Modified-Since
Response header
The Servers Cache Control Instruction named Cache-Control
The Servers Cache Expiration Instruction As HTTP Date (RFC 2616) named Expires
The Servers Last Modified Date Time As HTTP Date (RFC 2616) named Last-Modified
Response data
FilteredLanguagesControllerModel[] named LanguageModelCollection

Resource: Languages, Method: page

Loads an paginated model collection or throws an exception

The number of items per page is defined in the class property $modelsPerPage

Endpoint
GET /api/v1/languages/page/{?page}/
GET /api/v1/languages/page/{?page}
Host: /
Accept: application/json
Authorization: Bearer aHgxbjlpMTh3b3doczAzbDo4ODEwNzY0NC00MzE3LTRjY2ItYWE4MC0wYmQzYjkxOGZiYjQ=
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3


HTTP/1.1 200 Ok
Date: Sat, 15 Feb 2020 13:52:06 +0000
Content-Length: 2234
Content-Type: application/json
Cache-Control: public, max-age=86400
Expires: Sun, 16 Feb 2020 13:52:06 GMT
Last-Modified: Sat, 15 Feb 2020 13:52:06 GMT

{ "LanguageModelCollection": [ { "State": "DRAFT", "Fallback": true, "Code": "EN_US", "TextDirection": "LEFT_TO_RIGHT", "FirstDayOfWeek": "SUNDAY", "DateFormat": "Y-m-d", "TimeFormat": "H:i:s", "CreatedAt": "2013-11-12 16:39:00", "UpdatedAt": "2013-11-12 16:39:00", "Uuid": "123e4567-e89b-12d3-a456-426655440000", "CustomAttributes": { "CUSTOM_ATTRIBUTE_IDENTIFIER_1": "Custom attribute string value", "CUSTOM_ATTRIBUTE_IDENTIFIER_2": true, "CUSTOM_ATTRIBUTE_IDENTIFIER_3": 1279, "CUSTOM_ATTRIBUTE_IDENTIFIER_4": 23.194687, "CUSTOM_ATTRIBUTE_IDENTIFIER_5": [ "Custom", "attribute list", "value" ], "CUSTOM_ATTRIBUTE_IDENTIFIER_6": "Custom attribute selected value from enum value set" } } ], "CollectionConfiguration": { "CollectionModelName": "LanguageModelCollection", "IsPaginated": true, "MaxItemsPerPage": 100, "CurrentPage": 1, "FirstPage": 1, "LastPage": 5, "PreviousPage": 1, "NextPage": 2, "CurrentPageEndpoint": "Endpoint to get this page", "FirstPageEndpoint": "Endpoint to get the first page", "LastPageEndpoint": "Endpoint to get the last page", "PreviousPageEndpoint": "Endpoint to get the previous page", "NextPageEndpoint": "Endpoint to get the next page", "FirstIndex": 0, "LastIndex": 99, "TotalCount": 469 }, "Notifications": [ { "Type": "Propeller\\Lib\\ControllerNotification\\ControllerNotification", "Message": "SOME_NOTIFICATION_MESSAGE", "LocalizedMessage": "The localized notification message", "Level": 1, "LevelAsString": "notification", "Details": [ "Localized detail message #1", "Localized detail message #2", "Localized detail message #3" ], "Code": 17 } ] }
GET /api/v1/languages/page/{?page}
                      
Host: /
Accept: application/json
Authorization: Bearer aHgxbjlpMTh3b3doczAzbDo4ODEwNzY0NC00MzE3LTRjY2ItYWE4MC0wYmQzYjkxOGZiYjQ=
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3



HTTP/1.1 200 Ok
Date: Sat, 15 Feb 2020 13:52:06 +0000
Content-Length: 2234
Content-Type: application/json

{ "LanguageModelCollection": [ { "State": "DRAFT", "Fallback": true, "Code": "EN_US", "TextDirection": "LEFT_TO_RIGHT", "FirstDayOfWeek": "SUNDAY", "DateFormat": "Y-m-d", "TimeFormat": "H:i:s", "CreatedAt": "2013-11-12 16:39:00", "UpdatedAt": "2013-11-12 16:39:00", "Uuid": "123e4567-e89b-12d3-a456-426655440000", "CustomAttributes": { "CUSTOM_ATTRIBUTE_IDENTIFIER_1": "Custom attribute string value", "CUSTOM_ATTRIBUTE_IDENTIFIER_2": true, "CUSTOM_ATTRIBUTE_IDENTIFIER_3": 1279, "CUSTOM_ATTRIBUTE_IDENTIFIER_4": 23.194687, "CUSTOM_ATTRIBUTE_IDENTIFIER_5": [ "Custom", "attribute list", "value" ], "CUSTOM_ATTRIBUTE_IDENTIFIER_6": "Custom attribute selected value from enum value set" } } ], "CollectionConfiguration": { "CollectionModelName": "LanguageModelCollection", "IsPaginated": true, "MaxItemsPerPage": 100, "CurrentPage": 1, "FirstPage": 1, "LastPage": 5, "PreviousPage": 1, "NextPage": 2, "CurrentPageEndpoint": "Endpoint to get this page", "FirstPageEndpoint": "Endpoint to get the first page", "LastPageEndpoint": "Endpoint to get the last page", "PreviousPageEndpoint": "Endpoint to get the previous page", "NextPageEndpoint": "Endpoint to get the next page", "FirstIndex": 0, "LastIndex": 99, "TotalCount": 469 }, "Notifications": [ { "Type": "Propeller\\Lib\\ControllerNotification\\ControllerNotification", "Message": "SOME_NOTIFICATION_MESSAGE", "LocalizedMessage": "The localized notification message", "Level": 1, "LevelAsString": "notification", "Details": [ "Localized detail message #1", "Localized detail message #2", "Localized detail message #3" ], "Code": 17 } ] }
Request header
Bearer Token named Authorization
The Clients Last Modified Date Time As HTTP Date (RFC 2616) named If-Modified-Since
Response header
The Servers Cache Control Instruction named Cache-Control
The Servers Cache Expiration Instruction As HTTP Date (RFC 2616) named Expires
The Servers Last Modified Date Time As HTTP Date (RFC 2616) named Last-Modified
Response data
FilteredLanguagesControllerModel[] named LanguageModelCollection