Skip to content

Commit

Permalink
Added space definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jbristowe committed Nov 19, 2020
1 parent 22a2afd commit 247e69f
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions api/space.json
@@ -0,0 +1,62 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://octopus.com/2020/space.json",
"title": "Space",
"description": "Represents a space",
"type": "object",
"required": [
"name"
],
"properties": {
"description": {
"description": "description for a space",
"type": "string"
},
"id": {
"description": "unique identifier of a space",
"readOnly": true,
"type": "string"
},
"is_default": {
"description": "indicates if this space is the default for the Octopus Deploy",
"type": "boolean"
},
"is_task_queue_stopped": {
"description": "indicates if the task queue for this space is stopped",
"type": "boolean"
},
"links": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"modified_by": {
"description": "the user that last modified this space",
"type": "string"
},
"modified_on": {
"description": "the timestamp when this space was last modified",
"type": "string",
"format": "date-time"
},
"name": {
"description": "the name of a space",
"type": "string"
},
"space_managers_team_members": {
"items": {
"type": "string",
"uniqueItems": true
},
"type": "array"
},
"space_managers_teams": {
"items": {
"type": "string",
"uniqueItems": true
},
"type": "array"
}
}
}

0 comments on commit 247e69f

Please sign in to comment.