diff options
Diffstat (limited to 'spec/fixtures/api/schemas/public_api/v4/user/admin.json')
-rw-r--r-- | spec/fixtures/api/schemas/public_api/v4/user/admin.json | 146 |
1 files changed, 144 insertions, 2 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/user/admin.json b/spec/fixtures/api/schemas/public_api/v4/user/admin.json index f0d3cf3ba0e..7b46cbf5a36 100644 --- a/spec/fixtures/api/schemas/public_api/v4/user/admin.json +++ b/spec/fixtures/api/schemas/public_api/v4/user/admin.json @@ -32,6 +32,148 @@ "namespace_id" ], "properties": { - "$ref": "full.json" + "id": { + "type": "integer" + }, + "username": { + "type": "string" + }, + "email": { + "type": "string", + "pattern": "^[^@]+@[^@]+$" + }, + "commit_email": { + "type": "string", + "pattern": "^[^@]+@[^@]+$" + }, + "name": { + "type": "string" + }, + "state": { + "type": "string", + "enum": [ + "active", + "blocked" + ] + }, + "avatar_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "web_url": { + "type": "string", + "format": "uri" + }, + "is_admin": { + "type": "boolean" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "bio": { + "type": [ + "string", + "null" + ] + }, + "location": { + "type": [ + "string", + "null" + ] + }, + "pronouns": { + "type": [ + "string", + "null" + ] + }, + "skype": { + "type": "string" + }, + "linkedin": { + "type": "string" + }, + "twitter": { + "type": "string" + }, + "website_url": { + "type": "string" + }, + "organization": { + "type": [ + "string", + "null" + ] + }, + "last_sign_in_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "confirmed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "color_scheme_id": { + "type": "integer" + }, + "projects_limit": { + "type": "integer" + }, + "current_sign_in_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "identities": { + "type": "array", + "items": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "enum": [ + "github", + "bitbucket", + "google_oauth2", + "twitter" + ] + }, + "extern_uid": { + "type": [ + "number", + "string" + ] + } + } + } + }, + "can_create_group": { + "type": "boolean" + }, + "can_create_project": { + "type": "boolean" + }, + "two_factor_enabled": { + "type": "boolean" + }, + "external": { + "type": "boolean" + }, + "namespace_id": { + "type": "integer" + } } -} +}
\ No newline at end of file |