PHPR API (3.7.0)

Download OpenAPI specification:

PHPR API USING API-PLATFORM

langs

Retrieves a langs resource.

Retrieves a langs resource.

Authorizations:
JWT
path Parameters
id
required
string

langs identifier

Responses

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "tag": "string",
  • "text": "string",
  • "language": {
    },
  • "notes": "string",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "shortcode": "string",
  • "id": 0,
  • "slug": "string",
  • "customProperties": null,
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "toString": "string",
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}

Replaces the langs resource.

Replaces the langs resource.

Authorizations:
JWT
path Parameters
id
required
string

langs identifier

Request Body schema:
required

The updated langs resource

tag
required
string

Translation key

text
required
string
required
object (lang_languages.jsonld-post)

Languages.

notes
string or null
deletedAt
string or null <date-time>
slug
required
string

DB Identifier

customData
Array of strings or null
disabledAt
string or null <date-time>

Responses

Request samples

Content type
{
  • "tag": "string",
  • "text": "string",
  • "language": {
    },
  • "notes": "string",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "slug": "string",
  • "customData": [
    ],
  • "disabledAt": "2019-08-24T14:15:22Z"
}

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "tag": "string",
  • "text": "string",
  • "language": {
    },
  • "notes": "string",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "shortcode": "string",
  • "id": 0,
  • "slug": "string",
  • "customProperties": null,
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "toString": "string",
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}

Removes the langs resource.

Removes the langs resource.

Authorizations:
JWT
path Parameters
id
required
string

langs identifier

Responses