diff options
author | Andrew Beresford <aberesford@equalexperts.com> | 2018-04-06 15:58:45 +0100 |
---|---|---|
committer | Andrew Beresford <aberesford@equalexperts.com> | 2018-04-08 20:59:03 +0100 |
commit | 3a4086e22f2a4c837635f14bb6e9ae056299dc6c (patch) | |
tree | c7a72787ce86ca5b0ad419489cd8be67ebfb7bda /spec/fixtures | |
parent | 86ca1a77c58b508fc1b037c5fffbfb22fd992b42 (diff) | |
download | gitlab-ce-3a4086e22f2a4c837635f14bb6e9ae056299dc6c.tar.gz |
Expose the target commit ID through the tag API
This is useful for annotated tags, where the deferenced target is not the same as the tag object. At the moment there is no way to differentiate the two through the tag API.
This change adds a "target" property and leaves the existing "commit" property alone so that existing behaviour is not altered.
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/api/schemas/public_api/v4/tag.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/tag.json b/spec/fixtures/api/schemas/public_api/v4/tag.json index 52cfe86aeeb..10d4edb7ffb 100644 --- a/spec/fixtures/api/schemas/public_api/v4/tag.json +++ b/spec/fixtures/api/schemas/public_api/v4/tag.json @@ -10,6 +10,7 @@ "name": { "type": "string" }, "message": { "type": ["string", "null"] }, "commit": { "$ref": "commit/basic.json" }, + "target": { "type": "string" }, "release": { "oneOf": [ { "type": "null" }, |