GET /snippets/{workspace}/{encoded_id}/{node_id}

Identical to GET /snippets/encoded_id, except that this endpoint can be used to retrieve the contents of the snippet as it was at an older revision, while /snippets/encoded_id always returns the snippet's current revision.

Note that only the snippet's file contents are versioned, not its meta data properties like the title.

Other than that, the two endpoints are identical in behavior.

Servers

Path parameters

Name Type Required Description
node_id String Yes

A commit revision (SHA1).

encoded_id String Yes

The snippet id.

workspace String Yes

This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.