debian-mirror-gitlab/spec/fixtures/api/schemas/group_link/group_link.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

92 lines
1.6 KiB
JSON
Raw Permalink Normal View History

2020-11-24 15:15:51 +05:30
{
"type": "object",
2021-01-03 14:25:43 +05:30
"required": [
"id",
"created_at",
"expires_at",
"access_level",
2022-06-21 17:19:12 +05:30
"valid_roles",
"can_update",
"can_remove",
"is_direct_member"
2021-01-03 14:25:43 +05:30
],
2020-11-24 15:15:51 +05:30
"properties": {
2023-03-04 22:38:38 +05:30
"id": {
"type": "integer"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"expires_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
2020-11-24 15:15:51 +05:30
"access_level": {
"type": "object",
2023-03-04 22:38:38 +05:30
"required": [
"integer_value",
"string_value"
],
2020-11-24 15:15:51 +05:30
"properties": {
2023-03-04 22:38:38 +05:30
"integer_value": {
"type": "integer"
},
"string_value": {
"type": "string"
}
2021-03-11 19:13:27 +05:30
},
"additionalProperties": false
2020-11-24 15:15:51 +05:30
},
2023-03-04 22:38:38 +05:30
"valid_roles": {
"type": "object"
},
2020-11-24 15:15:51 +05:30
"shared_with_group": {
"type": "object",
2023-03-04 22:38:38 +05:30
"required": [
"id",
"name",
"full_name",
"full_path",
"avatar_url",
"web_url"
],
2020-11-24 15:15:51 +05:30
"properties": {
2023-03-04 22:38:38 +05:30
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"full_name": {
"type": "string"
},
"full_path": {
"type": "string"
},
"avatar_url": {
"type": [
"string",
"null"
]
},
"web_url": {
"type": "string"
}
2021-03-11 19:13:27 +05:30
},
"additionalProperties": false
2022-06-21 17:19:12 +05:30
},
2023-03-04 22:38:38 +05:30
"can_update": {
"type": "boolean"
},
"can_remove": {
"type": "boolean"
},
"is_direct_member": {
"type": "boolean"
}
2020-11-24 15:15:51 +05:30
}
2023-03-04 22:38:38 +05:30
}