[
{
"description": "Gets deployment events by deployment ID and build ID",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"builds": {
"description": "Builds parameter",
"type": "number"
},
"delimiter": {
"description": "Delimiter for events",
"type": "number"
},
"deploymentId": {
"description": "The ID or URL of the deployment",
"type": "string"
},
"direction": {
"description": "Direction of events retrieval",
"enum": [
"forward",
"backward"
],
"type": "string"
},
"follow": {
"description": "Follow parameter for events",
"type": "number"
},
"limit": {
"description": "Limit on number of events to return",
"type": "number"
},
"name": {
"description": "Filter events by name",
"type": "string"
},
"since": {
"description": "Timestamp to get events from",
"type": "number"
},
"slug": {
"description": "Slug",
"type": "string"
},
"statusCode": {
"description": "Filter events by status code",
"type": "string"
},
"teamId": {
"description": "Team ID",
"type": "string"
},
"until": {
"description": "Timestamp to get events until",
"type": "number"
}
},
"required": [
"deploymentId"
],
"type": "object"
},
"name": "getDeploymentEvents"
},
{
"description": "Gets a deployment by ID or URL",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"deploymentId": {
"description": "The ID or URL of the deployment",
"type": "string"
},
"slug": {
"description": "Slug",
"type": "string"
},
"teamId": {
"description": "Team ID",
"type": "string"
},
"withGitRepoInfo": {
"description": "Include git repository info",
"type": "string"
}
},
"required": [
"deploymentId"
],
"type": "object"
},
"name": "getDeployment"
},
{
"description": "Cancels a deployment",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"deploymentId": {
"description": "The ID of the deployment to cancel",
"type": "string"
},
"slug": {
"description": "Slug",
"type": "string"
},
"teamId": {
"description": "Team ID",
"type": "string"
}
},
"required": [
"deploymentId"
],
"type": "object"
},
"name": "cancelDeployment"
},
{
"description": "Lists deployment files",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"deploymentId": {
"description": "The ID of the deployment",
"type": "string"
},
"slug": {
"description": "Slug",
"type": "string"
},
"teamId": {
"description": "Team ID",
"type": "string"
}
},
"required": [
"deploymentId"
],
"type": "object"
},
"name": "listDeploymentFiles"
},
{
"description": "Gets deployment file contents",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"deploymentId": {
"description": "The ID of the deployment",
"type": "string"
},
"fileId": {
"description": "The ID of the file",
"type": "string"
},
"slug": {
"description": "Slug",
"type": "string"
},
"teamId": {
"description": "Team ID",
"type": "string"
}
},
"required": [
"deploymentId",
"fileId"
],
"type": "object"
},
"name": "getDeploymentFileContents"
},
{
"description": "Lists deployments",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"app": {
"description": "Application name",
"type": "string"
},
"from": {
"description": "Timestamp to list deployments from",
"type": "number"
},
"limit": {
"description": "Limit on number of deployments to return",
"type": "number"
},
"projectId": {
"description": "Project ID",
"type": "string"
},
"since": {
"description": "Timestamp to get deployments from",
"type": "number"
},
"slug": {
"description": "Slug",
"type": "string"
},
"state": {
"description": "Deployment state",
"type": "string"
},
"target": {
"description": "Deployment target",
"type": "string"
},
"teamId": {
"description": "Team ID",
"type": "string"
},
"to": {
"description": "Timestamp to list deployments until",
"type": "number"
},
"until": {
"description": "Timestamp to get deployments until",
"type": "number"
},
"users": {
"description": "Filter by users",
"type": "string"
}
},
"type": "object"
},
"name": "getDeployments"
},
{
"description": "Deletes a deployment",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"deploymentId": {
"description": "The ID of the deployment to delete",
"type": "string"
},
"slug": {
"description": "Slug",
"type": "string"
},
"teamId": {
"description": "Team ID",
"type": "string"
},
"url": {
"description": "The URL of the deployment",
"type": "string"
}
},
"required": [
"deploymentId"
],
"type": "object"
},
"name": "deleteDeployment"
}
]