Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api/schemas/public_api/v4/deploy_key.json')
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/deploy_key.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/deploy_key.json b/spec/fixtures/api/schemas/public_api/v4/deploy_key.json
new file mode 100644
index 00000000000..3dbdfcc95a1
--- /dev/null
+++ b/spec/fixtures/api/schemas/public_api/v4/deploy_key.json
@@ -0,0 +1,25 @@
+{
+ "type": "object",
+ "required": [
+ "id",
+ "title",
+ "created_at",
+ "expires_at",
+ "key",
+ "fingerprint",
+ "projects_with_write_access"
+ ],
+ "properties": {
+ "id": { "type": "integer" },
+ "title": { "type": "string" },
+ "created_at": { "type": "string", "format": "date-time" },
+ "expires_at": { "type": ["string", "null"], "format": "date-time" },
+ "key": { "type": "string" },
+ "fingerprint": { "type": "string" },
+ "projects_with_write_access": {
+ "type": "array",
+ "items": { "$ref": "project/identity.json" }
+ }
+ },
+ "additionalProperties": false
+}