Resolve
Resolve a path to a GoLink target. Returns the resolution outcome (redirect URL, action, chooser, prerequisite, etc.)
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
- Token URL
- /auth/v1/token
Body
The GoLinkServiceResolveRequest message.
The path to resolve, e.g. "jira/PROJ-123", "aws/console", "j"
Response
Successful response
The GoLinkServiceResolveResponse message.
Set when outcome is ACTION. The action ID to trigger.
Set when outcome is CHOOSER. The chooser options to present to the user.
GoLink is the API representation of a short link.
The outcome field.
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 GoLinkPrerequisite message.
Set when outcome is REDIRECT. The fully resolved URL to redirect to.
Set when outcome is NOT_FOUND. Suggested GoLinks that might match the path.