/api/public

POST /api/public/document/{uuid}/card/{card-id}/{export-format}

Changed on

Fetch a Card embedded in a public Document and return query results in the specified format. Does not require auth credentials. Public sharing must be enabled.

post/api/public/document/{uuid}/card/{card-id}/{export-format}

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Path parameters

uuidstring required

value must be a valid UUID.

card-idinteger required

value must be an integer greater than zero.

export-format'csv' | 'api' | 'xlsx' | 'json' required

Schema for valid export formats for downloading query results.

Request body

csv_include_bomboolean nullable

value must be a valid boolean string ('true' or 'false').

format_rowsboolean

value must be a valid boolean string ('true' or 'false').

pivot_resultsboolean

value must be a valid boolean string ('true' or 'false').

Response

Successful response

Changes

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • info

      added the new optional request property

    • info

      added subschema #2 to the request property anyOf list

    • info

      the request property became optional

    • info

      the request property became optional

    • info

      api operation id post-api-public-document-uuid-card-card-id-export-format was added