UNPKG

@itentialopensource/adapter-azure_devops

Version:

This adapter integrates with system described as: Azure DevOps.

1,752 lines 1.36 MB
{ "openapi": "3.1.0", "info": { "title": "", "version": "1.0.0" }, "paths": { "/{organization}/{project}/_apis/pipelines": { "post": { "tags": [ "Pipelines" ], "operationId": "pipelinesCreate", "description": "The parameters and request body are for method: pipelinesCreate. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "folder": { "type": "string" }, "id": { "type": "number" }, "name": { "type": "string" }, "revision": { "type": "number" } } }, "example": { "folder": "string", "id": 7, "name": "string", "revision": 7 } } } } }, "parameters": [ { "name": "organization", "in": "path", "required": true, "schema": { "title": "organization", "type": "string" } }, { "name": "project", "in": "path", "required": true, "schema": { "title": "project", "type": "string" } }, { "name": "apiVersion", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } }, "get": { "tags": [ "Pipelines" ], "operationId": "pipelinesList", "description": "The parameters and request body are for method: pipelinesList. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "folder": { "type": "string" }, "id": { "type": "number" }, "name": { "type": "string" }, "revision": { "type": "number" } } } }, "example": [ { "folder": "string", "id": 10, "name": "string", "revision": 10 }, { "folder": "string", "id": 9, "name": "string", "revision": 1 }, { "folder": "string", "id": 9, "name": "string", "revision": 9 }, { "folder": "string", "id": 5, "name": "string", "revision": 3 } ] } } } }, "parameters": [ { "name": "organization", "in": "path", "required": true, "schema": { "title": "organization", "type": "string" } }, { "name": "project", "in": "path", "required": true, "schema": { "title": "project", "type": "string" } }, { "name": "orderBy", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "top", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "continuationToken", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "apiVersion", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/{organization}/{project}/_apis/pipelines/{pipelineId}": { "get": { "tags": [ "Pipelines" ], "operationId": "pipelinesGet", "description": "The parameters and request body are for method: pipelinesGet. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "folder": { "type": "string" }, "id": { "type": "number" }, "name": { "type": "string" }, "revision": { "type": "number" } } }, "example": { "folder": "string", "id": 10, "name": "string", "revision": 6 } } } } }, "parameters": [ { "name": "organization", "in": "path", "required": true, "schema": { "title": "organization", "type": "string" } }, { "name": "project", "in": "path", "required": true, "schema": { "title": "project", "type": "string" } }, { "name": "pipelineId", "in": "path", "required": true, "schema": { "title": "pipelineId", "type": "number" } }, { "name": "pipelineVersion", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "apiVersion", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/{organization}/{project}/_apis/pipelines/{pipelineId}/preview": { "post": { "tags": [ "Preview" ], "operationId": "previewPreview", "description": "The parameters and request body are for method: previewPreview. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "finalYaml": { "type": "string" } } }, "example": { "finalYaml": "string" } } } } }, "parameters": [ { "name": "organization", "in": "path", "required": true, "schema": { "title": "organization", "type": "string" } }, { "name": "project", "in": "path", "required": true, "schema": { "title": "project", "type": "string" } }, { "name": "pipelineId", "in": "path", "required": true, "schema": { "title": "pipelineId", "type": "number" } }, { "name": "pipelineVersion", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "apiVersion", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/{organization}/{project}/_apis/pipelines/{pipelineId}/runs": { "get": { "tags": [ "Runs" ], "operationId": "runsList", "description": "The parameters and request body are for method: runsList. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "number" }, "name": { "type": "string" } } } }, "example": [ { "id": 5, "name": "string" }, { "id": 9, "name": "string" }, { "id": 8, "name": "string" }, { "id": 2, "name": "string" } ] } } } }, "parameters": [ { "name": "organization", "in": "path", "required": true, "schema": { "title": "organization", "type": "string" } }, { "name": "project", "in": "path", "required": true, "schema": { "title": "project", "type": "string" } }, { "name": "pipelineId", "in": "path", "required": true, "schema": { "title": "pipelineId", "type": "number" } }, { "name": "apiVersion", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "post": { "tags": [ "Runs" ], "operationId": "runsRunPipeline", "description": "The parameters and request body are for method: runsRunPipeline. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "number" }, "name": { "type": "string" } } }, "example": { "id": 2, "name": "string" } } } } }, "parameters": [ { "name": "organization", "in": "path", "required": true, "schema": { "title": "organization", "type": "string" } }, { "name": "project", "in": "path", "required": true, "schema": { "title": "project", "type": "string" } }, { "name": "pipelineId", "in": "path", "required": true, "schema": { "title": "pipelineId", "type": "number" } }, { "name": "pipelineVersion", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "apiVersion", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/{organization}/{project}/_apis/pipelines/{pipelineId}/runs/{runId}": { "get": { "tags": [ "Runs" ], "operationId": "runsGet", "description": "The parameters and request body are for method: runsGet. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "number" }, "name": { "type": "string" } } }, "example": { "id": 5, "name": "string" } } } } }, "parameters": [ { "name": "organization", "in": "path", "required": true, "schema": { "title": "organization", "type": "string" } }, { "name": "project", "in": "path", "required": true, "schema": { "title": "project", "type": "string" } }, { "name": "pipelineId", "in": "path", "required": true, "schema": { "title": "pipelineId", "type": "number" } }, { "name": "runId", "in": "path", "required": true, "schema": { "title": "runId", "type": "number" } }, { "name": "apiVersion", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/{organization}/{project}/_apis/pipelines/{pipelineId}/runs/{runId}/artifacts": { "get": { "tags": [ "Artifacts" ], "operationId": "artifactsGet", "description": "The parameters and request body are for method: artifactsGet. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "name": { "type": "string" }, "signedContent": { "type": "object" }, "url": { "type": "string" } } }, "example": { "name": "string", "signedContent": null, "url": "string" } } } } }, "parameters": [ { "name": "organization", "in": "path", "required": true, "schema": { "title": "organization", "type": "string" } }, { "name": "project", "in": "path", "required": true, "schema": { "title": "project", "type": "string" } }, { "name": "pipelineId", "in": "path", "required": true, "schema": { "title": "pipelineId", "type": "number" } }, { "name": "runId", "in": "path", "required": true, "schema": { "title": "runId", "type": "number" } }, { "name": "artifactName", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "expand", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "apiVersion", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/{organization}/{project}/_apis/pipelines/{pipelineId}/runs/{runId}/logs": { "get": { "tags": [ "Logs" ], "operationId": "logsList", "description": "The parameters and request body are for method: logsList. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "logs": { "type": "array", "items": { "type": "object", "properties": { "createdOn": { "type": "string" }, "id": { "type": "number" }, "lastChangedOn": { "type": "string" }, "lineCount": { "type": "number" }, "signedContent": { "type": "object", "properties": { "signatureExpires": { "type": "string" }, "url": { "type": "string" } } }, "url": { "type": "string" } } } }, "signedContent": { "type": "object", "properties": { "signatureExpires": { "type": "string" }, "url": { "type": "string" } } }, "url": { "type": "string" } } }, "example": { "logs": [ { "createdOn": "string", "id": 8, "lastChangedOn": "string", "lineCount": 7, "signedContent": { "signatureExpires": "string", "url": "string" }, "url": "string" }, { "createdOn": "string", "id": 9, "lastChangedOn": "string", "lineCount": 10, "signedContent": { "signatureExpires": "string", "url": "string" }, "url": "string" }, { "createdOn": "string", "id": 2, "lastChangedOn": "string", "lineCount": 6, "signedContent": { "signatureExpires": "string", "url": "string" }, "url": "string" }, { "createdOn": "string", "id": 5, "lastChangedOn": "string", "lineCount": 5, "signedContent": { "signatureExpires": "string", "url": "string" }, "url": "string" }, { "createdOn": "string", "id": 8, "lastChangedOn": "string", "lineCount": 4, "signedContent": { "signatureExpires": "string", "url": "string" }, "url": "string" }, { "createdOn": "string", "id": 2, "lastChangedOn": "string", "lineCount": 1, "signedContent": { "signatureExpires": "string", "url": "string" }, "url": "string" }, { "createdOn": "string", "id": 4, "lastChangedOn": "string", "lineCount": 2, "signedContent": { "signatureExpires": "string", "url": "string" }, "url": "string" }, { "createdOn": "string", "id": 7, "lastChangedOn": "string", "lineCount": 2, "signedContent": { "signatureExpires": "string", "url": "string" }, "url": "string" }, { "createdOn": "string", "id": 8, "lastChangedOn": "string", "lineCount": 8, "signedContent": { "signatureExpires": "string", "url": "string" }, "url": "string" }, { "createdOn": "string", "id": 1, "lastChangedOn": "string", "lineCount": 1, "signedContent": { "signatureExpires": "string", "url": "string" }, "url": "string" } ], "signedContent": { "signatureExpires": "string", "url": "string" }, "url": "string" } } } } }, "parameters": [ { "name": "organization", "in": "path", "required": true, "schema": { "title": "organization", "type": "string" } }, { "name": "project", "in": "path", "required": true, "schema": { "title": "project", "type": "string" } }, { "name": "pipelineId", "in": "path", "required": true, "schema": { "title": "pipelineId", "type": "number" } }, { "name": "runId", "in": "path", "required": true, "schema": { "title": "runId", "type": "number" } }, { "name": "expand", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "apiVersion", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/{organization}/{project}/_apis/pipelines/{pipelineId}/runs/{runId}/logs/{logId}": { "get": { "tags": [ "Logs" ], "operationId": "logsGet", "description": "The parameters and request body are for method: logsGet. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "createdOn": { "type": "string" }, "id": { "type": "number" }, "lastChangedOn": { "type": "string" }, "lineCount": { "type": "number" }, "signedContent": { "type": "object", "properties": { "signatureExpires": { "type": "string" }, "url": { "type": "string" } } }, "url": { "type": "string" } } }, "example": { "createdOn": "string", "id": 4, "lastChangedOn": "string", "lineCount": 5, "signedContent": { "signatureExpires": "string", "url": "string" }, "url": "string" } } } } }, "parameters": [ { "name": "organization", "in": "path", "required": true, "schema": { "title": "organization", "type": "string" } }, { "name": "project", "in": "path", "required": true, "schema": { "title": "project", "type": "string" } }, { "name": "pipelineId", "in": "path", "required": true, "schema": { "title": "pipelineId", "type": "number" } }, { "name": "runId", "in": "path", "required": true, "schema": { "title": "runId", "type": "number" } }, { "name": "logId", "in": "path", "required": true, "schema": { "title": "logId", "type": "number" } }, { "name": "expand", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "apiVersion", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/{organization}/{project}/_apis/git/deletedrepositories": { "get": { "tags": [ "Repositories" ], "operationId": "repositoriesGetDeletedRepositories", "description": "The parameters and request body are for method: repositoriesGetDeletedRepositories. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "createdDate": { "type": "string" }, "deletedBy": { "type": "object", "properties": { "_links": { "type": "object", "properties": { "links": { "type": "object" } } }, "descriptor": { "type": "string" }, "displayName": { "type": "string" }, "url": { "type": "string" } } }, "deletedDate": { "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" }, "project": { "type": "object", "properties": { "abbreviation": { "type": "string" }, "defaultTeamImageUrl": { "type": "string" }, "description": { "type": "string" }, "id": { "type": "string" }, "lastUpdateTime": { "type": "string" }, "name": { "type": "string" }, "revision": { "type": "number" }, "state": { "type": "string" }, "url": { "type": "string" }, "visibility": { "type": "string" } } } } } }, "example": [ { "createdDate": "string", "deletedBy": { "_links": { "links": {} }, "descriptor": "string", "displayName": "string", "url": "string" }, "deletedDate": "string", "id": "string", "name": "string", "project": { "abbreviation": "string", "defaultTeamImageUrl": "string", "description": "string", "id": "string", "lastUpdateTime": "string", "name": "string", "revision": 4, "state": "createPending", "url": "string", "visibility": "public" } }, { "createdDate": "string", "deletedBy": { "_links": { "links": {} }, "descriptor": "string", "displayName": "string", "url": "string" }, "deletedDate": "string", "id": "string", "name": "string", "project": { "abbreviation": "string", "defaultTeamImageUrl": "string", "description": "string", "id": "string", "lastUpdateTime": "string", "name": "string", "revision": 1, "state": "all", "url": "string", "visibility": "public" } } ] } } } }, "parameters": [ { "name": "organization", "in": "path", "required": true, "schema": { "title": "organization", "type": "string" } }, { "name": "project", "in": "path", "required": true, "schema": { "title": "project", "type": "string" } }, { "name": "apiVersion", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/{organization}/{project}/_apis/git/recycleBin/repositories": { "get": { "tags": [ "Repositories" ], "operationId": "repositoriesGetRecycleBinRepositories", "description": "The parameters and request body are for method: repositoriesGetRecycleBinRepositories. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "createdDate": { "type": "string" }, "deletedBy": { "type": "object", "properties": { "_links": { "type": "object", "properties": { "links": { "type": "object" } } }, "descriptor": { "type": "string" }, "displayName": { "type": "string" }, "url": { "type": "string" } } }, "deletedDate": { "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" }, "project": { "type": "object", "properties": { "abbreviation": { "type": "string" }, "defaultTeamImageUrl": { "type": "string" }, "description": { "type": "string" }, "id": { "type": "string" }, "lastUpdateTime": { "type": "string" }, "name": { "type": "string" }, "revision": { "type": "number" }, "state": { "type": "string" }, "url": { "type": "string" }, "visibility": { "type": "string" } } } } } }, "example": [ { "createdDate": "string", "deletedBy": { "_links": { "links": {} }, "descriptor": "string", "displayName": "string", "url": "string" }, "deletedDate": "string", "id": "string", "name": "string", "project": { "abbreviation": "string", "defaultTeamImageUrl": "string", "description": "string", "id": "string", "lastUpdateTime": "string", "name": "string", "revision": 8, "state": "deleted", "url": "string", "visibility": "public" } } ] } } } }, "parameters": [ { "name": "organization", "in": "path", "required": true, "schema": { "title": "organization", "type": "string" } }, { "name": "project", "in": "path", "required": true, "schema": { "title": "project", "type": "string" } }, { "name": "apiVersion", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/{organization}/{project}/_apis/git/recycleBin/repositories/{repositoryId}": { "delete": { "tags": [ "Repositories" ], "operationId": "repositoriesDeleteRepositoryFromRecycleBin", "description": "The parameters and request body are for method: repositoriesDeleteRepositoryFromRecycleBin. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "organization", "in": "path", "required": true, "schema": { "title": "organization", "type": "string" } }, { "name": "project", "in": "path", "required": true, "schema": { "title": "project", "type": "string" } }, { "name": "repositoryId", "in": "path", "required": true, "schema": { "title": "repositoryId", "type": "string" } }, { "name": "apiVersion", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "patch": { "tags": [ "Repositories" ], "operationId": "repositoriesRestoreRepositoryFromRecycleBin", "description": "The parameters and request body are for method: repositoriesRestoreRepositoryFromRecycleBin. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "organization", "in": "path", "required": true, "schema": { "title": "organization", "type": "string" } }, { "name": "project", "in": "path", "required": true, "schema": { "title": "project", "type": "string" } }, { "name": "repositoryId", "in": "path", "required": true, "schema": { "title": "repositoryId", "type": "string" } }, { "name": "apiVersion", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/{organization}/{project}/_apis/git/repositories": { "post": { "tags": [ "Repositories" ], "operationId": "repositoriesCreate", "description": "The parameters and request body are for method: repositoriesCreate. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "organization", "in": "path", "required": true, "schema": { "title": "organization", "type": "string" } }, { "name": "project", "in": "path", "required": true, "schema": { "title": "project", "type": "string" } }, { "name": "sourceRef", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "apiVersion", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } }, "get": { "tags": [ "Repositories" ], "operationId": "repositoriesList", "description": "The parameters and request body are for method: repositoriesList. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "_links": { "type": "object", "properties": { "links": { "type": "object" } } }, "defaultBranch": { "type": "string" }, "id": { "type": "string" }, "isDisabled": { "type": "boolean" }, "isFork": { "type": "boolean" }, "name": { "type": "string" }, "parentRepository": { "type": "object", "properties": { "collection"