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')
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/job.json6
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/packages/package.json7
2 files changed, 11 insertions, 2 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/job.json b/spec/fixtures/api/schemas/public_api/v4/job.json
index afed4f23017..f6b12d3a1c0 100644
--- a/spec/fixtures/api/schemas/public_api/v4/job.json
+++ b/spec/fixtures/api/schemas/public_api/v4/job.json
@@ -20,7 +20,8 @@
"artifacts",
"artifacts_expire_at",
"tag_list",
- "runner"
+ "runner",
+ "project"
],
"properties": {
"id": { "type": "integer" },
@@ -64,6 +65,9 @@
{ "type": "null" },
{ "$ref": "runner.json" }
]
+ },
+ "project": {
+ "ci_job_token_scope_enabled": { "type": "boolean" }
}
},
"additionalProperties":false
diff --git a/spec/fixtures/api/schemas/public_api/v4/packages/package.json b/spec/fixtures/api/schemas/public_api/v4/packages/package.json
index 607e0df1886..5d0d5f63aa9 100644
--- a/spec/fixtures/api/schemas/public_api/v4/packages/package.json
+++ b/spec/fixtures/api/schemas/public_api/v4/packages/package.json
@@ -6,7 +6,9 @@
"package_type",
"status",
"_links",
- "versions"
+ "versions",
+ "created_at",
+ "last_downloaded_at"
],
"properties": {
"name": {
@@ -38,6 +40,9 @@
"created_at": {
"type": "string"
},
+ "last_downloaded_at": {
+ "type": ["string", "null"]
+ },
"versions": {
"type": "array",
"items": {