Commit 13fca9e9 authored by Sean Carroll's avatar Sean Carroll

Update docs for deprecated Release Evidence endpoints

Part of https://gitlab.com/gitlab-org/gitlab/-/issues/217818

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/32178
parent a62bea15
...@@ -96,7 +96,6 @@ Example response: ...@@ -96,7 +96,6 @@ Example response:
], ],
"commit_path":"/root/awesome-app/commit/588440f66559714280628a4f9799f0c4eb880a4a", "commit_path":"/root/awesome-app/commit/588440f66559714280628a4f9799f0c4eb880a4a",
"tag_path":"/root/awesome-app/-/tags/v0.11.1", "tag_path":"/root/awesome-app/-/tags/v0.11.1",
"evidence_sha":"760d6cdfb0879c3ffedec13af470e0f71cf52c6cde4d",
"assets":{ "assets":{
"count":6, "count":6,
"sources":[ "sources":[
...@@ -133,6 +132,13 @@ Example response: ...@@ -133,6 +132,13 @@ Example response:
], ],
"evidence_file_path":"https://gitlab.example.com/root/awesome-app/-/releases/v0.2/evidence.json" "evidence_file_path":"https://gitlab.example.com/root/awesome-app/-/releases/v0.2/evidence.json"
}, },
"evidences":[
{
sha: "760d6cdfb0879c3ffedec13af470e0f71cf52c6cde4d",
filepath: "https://gitlab.example.com/root/awesome-app/-/releases/v0.2/evidence.json",
collected_at: "2019-01-03T01:56:19.539Z"
}
]
}, },
{ {
"tag_name":"v0.1", "tag_name":"v0.1",
...@@ -165,7 +171,6 @@ Example response: ...@@ -165,7 +171,6 @@ Example response:
"committer_email":"admin@example.com", "committer_email":"admin@example.com",
"committed_date":"2019-01-03T01:53:28.000Z" "committed_date":"2019-01-03T01:53:28.000Z"
}, },
"evidence_sha":"760d6cdfb0879c3ffedec13af470e0f71cf52c6cde4d",
"assets":{ "assets":{
"count":4, "count":4,
"sources":[ "sources":[
...@@ -191,6 +196,13 @@ Example response: ...@@ -191,6 +196,13 @@ Example response:
], ],
"evidence_file_path":"https://gitlab.example.com/root/awesome-app/-/releases/v0.1/evidence.json" "evidence_file_path":"https://gitlab.example.com/root/awesome-app/-/releases/v0.1/evidence.json"
}, },
"evidences":[
{
sha: "c3ffedec13af470e760d6cdfb08790f71cf52c6cde4d",
filepath: "https://gitlab.example.com/root/awesome-app/-/releases/v0.1/evidence.json",
collected_at: "2019-01-03T01:55:18.203Z"
}
]
} }
] ]
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment