Add a new Image Source
POST {{baseUrl}}/orgs/:orgId/image-sources
Adds a new Image Source to an Organization. This request returns a token
which can be used in subsequent calls to POST /orgs/{orgId}/images/{imageId}/builds to notify Huamnitec about new Image Builds.
Request Body
{"id"=>"corporate-org-github", "name"=>"Github for Corporate Organization"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"id":"o15ht8","created_at":"2020-06-22T09:37:23.523Z","created_by":"laborum in officia do","name":"voluptate elit id","token":"tempor dolor elit aute m","type":"aliq"}