Get All Docker Registry Webhooks Using GET

Get All Docker Registry Webhooks Using GET

Get all Docker Registry Webhooks

Request
URI
GET
https://{api_host}/codestream/api/registry-webhooks
COPY
Query Parameters
string
$filter
Optional

To list Docker Registry Webhooks with OData like filter

string
$orderby
Optional
Constraints: default: name desc

Order by attribute

string
$skip
Optional
Constraints: default: 0

To skip 'n' Docker Registry Webhooks for listing

string
$top
Optional
Constraints: default: 25

To list top 'n' Docker Registry Webhooks for listing

string
page
Optional
Constraints: default: 0

To select 'n'th page for listing

string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about


Authentication
This operation uses the following authentication methods.
Responses
200

'Success' with get of Docker Registry Webhooks

Returns DockerRegistryWebhooks of type(s) application/json
{
    "count": 0,
    "documents": {
        "documents": {
            "_createTimeInMicros": 1568625938000000,
            "_createdBy": "exampleuser",
            "_link": "/codestream/api/<prefix>/8365ef3b-8bf3-48aa-bd5d-7113fcff827c",
            "_updateTimeInMicros": 1568625938000000,
            "_updatedBy": "exampleuser",
            "createdAt": "2019-09-16 09:25:38.065065+00",
            "createdBy": "exampleuser",
            "description": "string",
            "enabled": true,
            "endpoint": "Docker Endpoint",
            "externalListenerLink": "codestream/api/registry-webhooks/sdscfvefw34rfrdsvdsat43erwfdf",
            "id": "8365ef3b-8bf3-48aa-bd5d-7113fcff827c",
            "imageNameRegExPattern": "admin/wordpress",
            "input": [
                {
                    "ip": "10.5.23.84",
                    "script": "testScript.sh"
                }
            ],
            "name": "My-Name",
            "pipeline": "DemoPipeline",
            "project": "My-Project",
            "refreshToken": "cKNNVCSHijnaxlrfnVsxUYr6wM2g5Bg11tfnotmWb9XdA5kpUCvI2ubJojTIGp9g",
            "repoName": "MyRepository",
            "secretToken": "dvcdefrffsdvdfvfdgfdvbfdbvrefg3ff=",
            "serverType": "DockerHub/Docker_Trusted_Registry",
            "slug": "docker-webhook",
            "tagNamePattern": "tag1",
            "updatedAt": "2019-09-16 09:25:38.065065+00",
            "updatedBy": "exampleuser",
            "version": "v1"
        }
    },
    "links": [
        "string"
    ],
    "totalCount": 0
}
integer As int64 As int64
count
Optional

Number of resources within the current page.

object
documents
Optional

Details of the queried resources.

array of string
links
Optional

Partial URLs representing the links to the queried resources.

integer As int64 As int64
totalCount
Optional

Number of resources across all pages.


401

Unauthorized Request

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure

500

Server Error

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/codestream/api/registry-webhooks
                
Triggers Operations
GET
Get All Events Using GET
POST
Manual Trigger Using POST
GET
Get Event By ID Using GET
POST
Resume Or Rerun Event Using POST 1
DELETE
Delete Using DELETE 4
GET
Get All Gerrit Listeners Using GET
POST
Create Gerrit Listener Using POST
POST
Validate Gerrit Listener Using POST
GET
Get Gerrit Listener By ID Using GET
POST
Clone Listener Using POST
PUT
Update By Id Using PUT 2
DELETE
Delete By Id Using DELETE 1
PATCH
Patch By Id Using PATCH 1
GET
Get Gerrit Projects Using GET
GET
Get Gerrit Listener By Name Using GET
PUT
Update By Name Using PUT 2
DELETE
Delete By Name Using DELETE 1
PATCH
Patch By Name Using PATCH 1
GET
Get Gerrit Projects Using GET 1
GET
Get All Using GET 2
POST
Create Using POST 2
GET
Get Trigger Using GET
POST
Clone Trigger Using POST
PUT
Update By Id Using PUT 3
DELETE
Delete Using DELETE 5
PATCH
Patch By Id Using PATCH 2
GET
Get Trigger By Name Using GET
PUT
Update By Name Using PUT 3
DELETE
Delete By Name Using DELETE 2
PATCH
Patch By Name Using PATCH 2
GET
Get All Git Events Using GET
GET
Get Git Event By ID Using GET
POST
Resume Or Rerun Event Using POST 2
DELETE
Delete Using DELETE 6
GET
Get All Git Webhooks Using GET
POST
Create Git Webhook Using POST
GET
Get Git Webhook By ID Using GET
PUT
Update Using PUT 1
DELETE
Delete Using DELETE 7
GET
Get Git Webhook By Name Using GET
PUT
Update By Name Using PUT 4
DELETE
Delete By Name Using DELETE 3
GET
Get All Docker Events Using GET
GET
Get Docker Event By ID Using GET
POST
Resume Or Rerun Event Using POST
DELETE
Delete Using DELETE
GET
Get All Docker Registry Webhooks Using GET
POST
Create Docker Registry Webhook Using POST
GET
Get Docker Registry Webhook By ID Using GET
PUT
Update Using PUT
DELETE
Delete By Id Using DELETE
PATCH
Patch By Id Using PATCH
GET
Get Docker Registry Webhook By Name Using GET
PUT
Update By Name Using PUT
DELETE
Delete By Name Using DELETE
PATCH
Patch By Name Using PATCH