For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get collections (getcollections)

Create a new style guide collection.

Request

Use the shared HTTP API endpoint and request formats.

See HTTP API Overview.

Parameters

Parameter
Type
Required
Default
Notes

cmd

string

Yes

style_guide

Command name.

action

string

Yes

getcollections

Action name.

collection

string

No

The name of the collection to be retrieved.

lang

string

No

common

Language scope to get the collections in (example: en_US or en).

Behavior

  • Retrives a list of collections in the target lang scope.

  • Returns the retrieved collections info in result.

Response

Single result object containing retrieved collection(s) with it's category and lang .

See Response schema.

Errors

See

Examples

1) Get all the collections

Request URL (on-premises)
Request URL (Cloud)
Request CURL (on-premises)
Request CURL (Cloud)

Response

2) Get all the collections for a specific language

Request URL (on-premises)
Request URL (Cloud)
Request CURL (on-premises)
Request CURL (Cloud)

Response

3) Get a specific collection for a specific language

Request URL (on-premises)
Request URL (Cloud)
Request CURL (on-premises)
Request CURL (Cloud)

Response

Last updated

Was this helpful?