younifyd
Menu

Read Open Api Spec

Get OpenAPI Specification

GET/server/specs/oas

Use it in a workflow

  1. Add a step and choose the Directus connector.
  2. Pick the Read Open Api Spec action (under Server).
  3. Fill in the fields below, then reference the result from later steps as {{readOpenApiSpec.response.data}}.

Fields

baseUrlstring

The API host this action calls. Override to point at a different environment.

Default "/"

forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded. Additional headers below will override forwarded ones.

Default false

headerskeyvalue

Extra HTTP headers to include, beyond what this action already declares. These override forwarded or declared headers with the same name.

queryParamskeyvalue

Extra URL query parameters to include, beyond what this action already declares. These override declared query parameters with the same name.

Response

Returns 200 with an object. Read it in later steps with {{readOpenApiSpec.response.data.<field>}}.

Need more? See the Directus guide for connection setup and behaviour shared by every action.

Was this page helpful?