Short Links

Resolve a path to a GoLink target. Returns the resolution outcome (redirect URL, action, chooser, prerequisite, etc.)

post/api/v1/golinks/resolve

Request

  • Base URL
    https://example.conductor.one
  • URL
    https://example.conductor.one/api/v1/golinks/resolve
  • Auth
    HTTP bearer and OAuth 2
    Client credentials
    Token URL: /auth/v1/token

Request body

pathstring

The path to resolve, e.g. "jira/PROJ-123", "aws/console", "j"

Response

Successful response

actionIdstring

Set when outcome is ACTION. The action ID to trigger.

outcome'GO_LINK_RESOLVE_OUTCOME_UNSPECIFIED' | 'GO_LINK_RESOLVE_OUTCOME_REDIRECT' | 'GO_LINK_RESOLVE_OUTCOME_PREREQUISITE_MISSING' | 'GO_LINK_RESOLVE_OUTCOME_CHOOSER' | 'GO_LINK_RESOLVE_OUTCOME_ACTION' | 'GO_LINK_RESOLVE_OUTCOME_NOT_FOUND' | 'GO_LINK_RESOLVE_OUTCOME_DISABLED'

The outcome field.

redirectUrlstring

Set when outcome is REDIRECT. The fully resolved URL to redirect to.

Changes