Capabilities

List capabilities

Changed on

List capabiliteis

get/capabilities/

Request

  • Base URL: http://localhost:8080/api/octo
  • URL: http://localhost:8080/api/octo/capabilities/
  • Auth: HTTP bearer

Headers

Accept-Languagestring

This optional request header allows to specify preferred languages for content in the response. A language code that specifies the language of the product content. This code must conform to the BCP 47 standard, following RFC 5646 and RFC 4647 specifications for language tags. Examples include en-US for American English, fr-FR for French (France), and es-ES for Spanish (Spain). This header supports a comma-separated list of language tags with optional quality values (q) to indicate priority, such as en-US, fr-CA;q=0.8, fr;q=0.7, which prioritizes U.S. English, followed by Canadian French, and general French. This header is defined in the HTTP/1.1 specification (RFC 7231) and is commonly used for internationalized websites and services to enhance user experience. For more details, visit MDN Web Docs: Accept-Language - HTTP | MDN. Note this only determines preference and does not guarantee location has content available in the desired language.

Response

The request has succeeded.

id'octo/adjustments' | 'octo/cart' | 'octo/content' | 'octo/mappings' | 'octo/packages' | 'octo/pickups' | 'octo/pricing' | 'octo/offers' | 'octo/questions' | 'octo/webhooks' required
revisioninteger required

Revision number for the capability.

requiredboolean required

Whether this capability is required.

dependenciesCapabilityId[] required

List of dependent capability IDs.

docsstring nullable required

Optional documentation or description for this capability.

Example response

[
  {
    "id": "octo/pricing",
    "revision": 3,
    "required": true,
    "dependencies": [],
    "docs": "This capability enables booking creation."
  }
]

Changes