Custom Sinks

Get custom sink declaration

Get details of a specific custom sink declaration including associated repositories.

post/api/v2/customSinks/get

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring
declarationIdstring required

Response

Successful response

idstring required
namestring required
descriptionstring required
globPatternstring required
enabledboolean required
scope'allRepositories' | 'repositories' | 'tags' required

Where the declaration applies: every repository, the listed repositories, or repositories carrying its tags.

createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.