Get available locales

get

https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}/activeVersion/locales

This operation will get a deployment version's available locales.

Request

Path Parameters
Query Parameters
  • Comma separated list of named resources to expand, or "all" to expand all
  • Comma separated list of fields to be returned
  • Comma separated list of links to be returned, or "none" to omit links

There's no request body for this operation.

Security
  • Type: apiKey
    Description: Obtain a bearer token from https://{your_site_interface}/opa-hub/api/12.2.17/auth and use it in the Authorization header as: Bearer {token}.
  • Type: oauth2
    Description: POST the OAuth2 Client Credentials parameters to https://{your_site_interface}/opa-hub/api/12.2.17/auth and use the access token from the response in the Authorization header.
Back to Top

Response

Supported Media Types

200 Response

The request was successfully completed.
Body ()
Root Schema : locales
Type: object
Show Source
Nested Schema : available
Type: array
An array of all the available locales for this policy model.
Show Source
Back to Top