@itentialopensource/adapter-gitlab
Version:
This adapter integrates with system described as: gitlab.
1,334 lines (1,333 loc) • 1.78 MB
JSON
{
"openapi": "3.1.0",
"info": {
"title": "",
"version": "1.0.0"
},
"paths": {
"/application/settings": {
"get": {
"tags": [
"application"
],
"operationId": "getV4ApplicationSettings",
"description": "The parameters and request body are for method: getV4ApplicationSettings. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"after_sign_out_path": {
"type": "string"
},
"after_sign_up_text": {
"type": "string"
},
"container_registry_token_expire_delay": {
"type": "string"
},
"created_at": {
"type": "string"
},
"default_branch_protection": {
"type": "string"
},
"default_group_visibility": {
"type": "string"
},
"default_project_visibility": {
"type": "string"
},
"default_projects_limit": {
"type": "string"
},
"default_snippet_visibility": {
"type": "string"
},
"domain_blacklist": {
"type": "string"
},
"domain_blacklist_enabled": {
"type": "string"
},
"domain_whitelist": {
"type": "string"
},
"gravatar_enabled": {
"type": "string"
},
"home_page_url": {
"type": "string"
},
"id": {
"type": "string"
},
"koding_enabled": {
"type": "string"
},
"koding_url": {
"type": "string"
},
"max_attachment_size": {
"type": "string"
},
"plantuml_enabled": {
"type": "string"
},
"plantuml_url": {
"type": "string"
},
"repository_storage": {
"type": "string"
},
"repository_storages": {
"type": "string"
},
"restricted_visibility_levels": {
"type": "string"
},
"session_expire_delay": {
"type": "string"
},
"sign_in_text": {
"type": "string"
},
"signin_enabled": {
"type": "string"
},
"signup_enabled": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"user_oauth_applications": {
"type": "string"
}
}
},
"example": {
"after_sign_out_path": "string",
"after_sign_up_text": "string",
"container_registry_token_expire_delay": "string",
"created_at": "string",
"default_branch_protection": "string",
"default_group_visibility": "string",
"default_project_visibility": "string",
"default_projects_limit": "string",
"default_snippet_visibility": "string",
"domain_blacklist": "string",
"domain_blacklist_enabled": "string",
"domain_whitelist": "string",
"gravatar_enabled": "string",
"home_page_url": "string",
"id": "string",
"koding_enabled": "string",
"koding_url": "string",
"max_attachment_size": "string",
"plantuml_enabled": "string",
"plantuml_url": "string",
"repository_storage": "string",
"repository_storages": "string",
"restricted_visibility_levels": "string",
"session_expire_delay": "string",
"sign_in_text": "string",
"signin_enabled": "string",
"signup_enabled": "string",
"updated_at": "string",
"user_oauth_applications": "string"
}
}
}
}
},
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
},
"example": {}
}
}
}
},
"put": {
"tags": [
"application"
],
"operationId": "putV4ApplicationSettings",
"description": "The parameters and request body are for method: putV4ApplicationSettings. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"after_sign_out_path": {
"type": "string"
},
"after_sign_up_text": {
"type": "string"
},
"container_registry_token_expire_delay": {
"type": "string"
},
"created_at": {
"type": "string"
},
"default_branch_protection": {
"type": "string"
},
"default_group_visibility": {
"type": "string"
},
"default_project_visibility": {
"type": "string"
},
"default_projects_limit": {
"type": "string"
},
"default_snippet_visibility": {
"type": "string"
},
"domain_blacklist": {
"type": "string"
},
"domain_blacklist_enabled": {
"type": "string"
},
"domain_whitelist": {
"type": "string"
},
"gravatar_enabled": {
"type": "string"
},
"home_page_url": {
"type": "string"
},
"id": {
"type": "string"
},
"koding_enabled": {
"type": "string"
},
"koding_url": {
"type": "string"
},
"max_attachment_size": {
"type": "string"
},
"plantuml_enabled": {
"type": "string"
},
"plantuml_url": {
"type": "string"
},
"repository_storage": {
"type": "string"
},
"repository_storages": {
"type": "string"
},
"restricted_visibility_levels": {
"type": "string"
},
"session_expire_delay": {
"type": "string"
},
"sign_in_text": {
"type": "string"
},
"signin_enabled": {
"type": "string"
},
"signup_enabled": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"user_oauth_applications": {
"type": "string"
}
}
},
"example": {
"after_sign_out_path": "string",
"after_sign_up_text": "string",
"container_registry_token_expire_delay": "string",
"created_at": "string",
"default_branch_protection": "string",
"default_group_visibility": "string",
"default_project_visibility": "string",
"default_projects_limit": "string",
"default_snippet_visibility": "string",
"domain_blacklist": "string",
"domain_blacklist_enabled": "string",
"domain_whitelist": "string",
"gravatar_enabled": "string",
"home_page_url": "string",
"id": "string",
"koding_enabled": "string",
"koding_url": "string",
"max_attachment_size": "string",
"plantuml_enabled": "string",
"plantuml_url": "string",
"repository_storage": "string",
"repository_storages": "string",
"restricted_visibility_levels": "string",
"session_expire_delay": "string",
"sign_in_text": "string",
"signin_enabled": "string",
"signup_enabled": "string",
"updated_at": "string",
"user_oauth_applications": "string"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/deploy_keys": {
"get": {
"tags": [
"DeployKeys"
],
"operationId": "getV4DeployKeys",
"description": "The parameters and request body are for method: getV4DeployKeys. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"title": {
"type": "string"
},
"key": {
"type": "string"
},
"created_at": {
"type": "string"
}
}
}
},
"example": [
{
"id": 1,
"title": "Public key",
"key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=",
"created_at": "2013-10-02T10:12:29Z"
},
{
"id": 1,
"title": "Public key",
"key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=",
"created_at": "2013-10-02T10:12:29Z"
},
{
"id": 1,
"title": "Public key",
"key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=",
"created_at": "2013-10-02T10:12:29Z"
},
{
"id": 1,
"title": "Public key",
"key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=",
"created_at": "2013-10-02T10:12:29Z"
}
]
}
}
}
},
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
},
"example": {}
}
}
}
}
},
"/groups": {
"get": {
"tags": [
"groups"
],
"operationId": "getV4Groups",
"description": "The parameters and request body are for method: getV4Groups. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"description": {
"type": "string"
},
"visibility": {
"type": "string"
},
"lfs_enabled": {
"type": "boolean"
},
"avatar_url": {
"type": "string"
},
"web_url": {
"type": "string"
},
"request_access_enabled": {
"type": "boolean"
},
"full_name": {
"type": "string"
},
"full_path": {
"type": "string"
},
"file_template_project_id": {
"type": "number"
}
}
}
},
"example": [
{
"id": 1,
"name": "Foobar Group",
"path": "foo-bar",
"description": "An interesting group",
"visibility": "public",
"lfs_enabled": true,
"avatar_url": "http://localhost:3000/uploads/group/avatar/1/foo.jpg",
"web_url": "http://localhost:3000/groups/foo-bar",
"request_access_enabled": false,
"full_name": "Foobar Group",
"full_path": "foo-bar",
"file_template_project_id": 1
},
{
"id": 1,
"name": "Foobar Group",
"path": "foo-bar",
"description": "An interesting group",
"visibility": "public",
"lfs_enabled": true,
"avatar_url": "http://localhost:3000/uploads/group/avatar/1/foo.jpg",
"web_url": "http://localhost:3000/groups/foo-bar",
"request_access_enabled": false,
"full_name": "Foobar Group",
"full_path": "foo-bar",
"file_template_project_id": 1
},
{
"id": 1,
"name": "Foobar Group",
"path": "foo-bar",
"description": "An interesting group",
"visibility": "public",
"lfs_enabled": true,
"avatar_url": "http://localhost:3000/uploads/group/avatar/1/foo.jpg",
"web_url": "http://localhost:3000/groups/foo-bar",
"request_access_enabled": false,
"full_name": "Foobar Group",
"full_path": "foo-bar",
"file_template_project_id": 1
},
{
"id": 1,
"name": "Foobar Group",
"path": "foo-bar",
"description": "An interesting group",
"visibility": "public",
"lfs_enabled": true,
"avatar_url": "http://localhost:3000/uploads/group/avatar/1/foo.jpg",
"web_url": "http://localhost:3000/groups/foo-bar",
"request_access_enabled": false,
"full_name": "Foobar Group",
"full_path": "foo-bar",
"file_template_project_id": 1
}
]
}
}
}
},
"parameters": [
{
"name": "statistics",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "allAvailable",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "search",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "orderBy",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "sort",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "skipGroups",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "withCustomAttributes",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "owned",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "minAccessLevel",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
},
"example": {}
}
}
}
},
"post": {
"tags": [
"groups"
],
"operationId": "postV4Groups",
"description": "The parameters and request body are for method: postV4Groups. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"avatar_url": {
"type": "string"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"lfs_enabled": {
"type": "string"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"request_access_enabled": {
"type": "string"
},
"statistics": {
"type": "string"
},
"visibility_level": {
"type": "string"
},
"web_url": {
"type": "string"
}
}
},
"example": {
"avatar_url": "string",
"description": "string",
"id": "string",
"lfs_enabled": "string",
"name": "string",
"path": "string",
"request_access_enabled": "string",
"statistics": "string",
"visibility_level": "string",
"web_url": "string"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/groups/{id}": {
"get": {
"tags": [
"groups"
],
"operationId": "getV4GroupsId",
"description": "The parameters and request body are for method: getV4GroupsId. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"avatar_url": {
"type": "string"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"lfs_enabled": {
"type": "string"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"projects": {
"type": "object",
"properties": {
"archived": {
"type": "string"
},
"avatar_url": {
"type": "string"
},
"builds_enabled": {
"type": "string"
},
"container_registry_enabled": {
"type": "string"
},
"created_at": {
"type": "string"
},
"creator_id": {
"type": "string"
},
"default_branch": {
"type": "string"
},
"description": {
"type": "string"
},
"forked_from_project": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"default_branch": {
"type": "string"
},
"visibility": {
"type": "string"
},
"ssh_url_to_repo": {
"type": "string"
},
"http_url_to_repo": {
"type": "string"
},
"web_url": {
"type": "string"
},
"readme_url": {
"type": "string"
},
"tag_list": {
"type": "array",
"items": {
"type": "string"
}
},
"owner": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"name": {
"type": "string"
},
"created_at": {
"type": "string"
}
}
},
"name": {
"type": "string"
},
"name_with_namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"path_with_namespace": {
"type": "string"
},
"issues_enabled": {
"type": "boolean"
},
"open_issues_count": {
"type": "number"
},
"merge_requests_enabled": {
"type": "boolean"
},
"jobs_enabled": {
"type": "boolean"
},
"wiki_enabled": {
"type": "boolean"
},
"snippets_enabled": {
"type": "boolean"
},
"resolve_outdated_diff_discussions": {
"type": "boolean"
},
"container_registry_enabled": {
"type": "boolean"
},
"created_at": {
"type": "string"
},
"last_activity_at": {
"type": "string"
},
"creator_id": {
"type": "number"
},
"namespace": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"kind": {
"type": "string"
},
"full_path": {
"type": "string"
}
}
},
"import_status": {
"type": "string"
},
"archived": {
"type": "boolean"
},
"avatar_url": {
"type": "string"
},
"shared_runners_enabled": {
"type": "boolean"
},
"forks_count": {
"type": "number"
},
"star_count": {
"type": "number"
},
"runners_token": {
"type": "string"
},
"public_jobs": {
"type": "boolean"
},
"shared_with_groups": {
"type": "object"
},
"only_allow_merge_if_pipeline_succeeds": {
"type": "boolean"
},
"only_allow_merge_if_all_discussions_are_resolved": {
"type": "boolean"
},
"request_access_enabled": {
"type": "boolean"
},
"merge_method": {
"type": "string"
},
"approvals_before_merge": {
"type": "number"
},
"statistics": {
"type": "object",
"properties": {
"commit_count": {
"type": "number"
},
"storage_size": {
"type": "number"
},
"repository_size": {
"type": "number"
},
"wiki_size": {
"type": "number"
},
"lfs_objects_size": {
"type": "number"
},
"job_artifacts_size": {
"type": "number"
},
"packages_size": {
"type": "number"
}
}
}
}
},
"forks_count": {
"type": "string"
},
"http_url_to_repo": {
"type": "string"
},
"id": {
"type": "string"
},
"issues_enabled": {
"type": "string"
},
"last_activity_at": {
"type": "string"
},
"lfs_enabled": {
"type": "string"
},
"merge_requests_enabled": {
"type": "string"
},
"name": {
"type": "string"
},
"name_with_namespace": {
"type": "string"
},
"namespace": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"kind": {
"type": "string"
},
"full_path": {
"type": "string"
}
}
},
"only_allow_merge_if_all_discussions_are_resolved": {
"type": "string"
},
"only_allow_merge_if_build_succeeds": {
"type": "string"
},
"open_issues_count": {
"type": "string"
},
"owner": {
"type": "object",
"properties": {
"avatar_url": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"state": {
"type": "string"
},
"username": {
"type": "string"
},
"web_url": {
"type": "string"
}
}
},
"path": {
"type": "string"
},
"path_with_namespace": {
"type": "string"
},
"public": {
"type": "string"
},
"public_builds": {
"type": "string"
},
"request_access_enabled": {
"type": "string"
},
"runners_token": {
"type": "string"
},
"shared_runners_enabled": {
"type": "string"
},
"shared_with_groups": {
"type": "string"
},
"snippets_enabled": {
"type": "string"
},
"ssh_url_to_repo": {
"type": "string"
},
"star_count": {
"type": "string"
},
"statistics": {
"type": "object",
"properties": {
"build_artifacts_size": {
"type": "string"
},
"commit_count": {
"type": "string"
},
"lfs_objects_size": {
"type": "string"
},
"repository_size": {
"type": "string"
},
"storage_size": {
"type": "string"
}
}
},
"tag_list": {
"type": "string"
},
"visibility_level": {
"type": "string"
},
"web_url": {
"type": "string"
},
"wiki_enabled": {
"type": "string"
}
}
},
"request_access_enabled": {
"type": "string"
},
"shared_projects": {
"type": "object",
"properties": {
"archived": {
"type": "string"
},
"avatar_url": {
"type": "string"
},
"builds_enabled": {
"type": "string"
},
"container_registry_enabled": {
"type": "string"
},
"created_at": {
"type": "string"
},
"creator_id": {
"type": "string"
},
"default_branch": {
"type": "string"
},
"description": {
"type": "string"
},
"forked_from_project": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"default_branch": {
"type": "string"
},
"visibility": {
"type": "string"
},
"ssh_url_to_repo": {
"type": "string"
},
"http_url_to_repo": {
"type": "string"
},
"web_url": {
"type": "string"
},
"readme_url": {
"type": "string"
},
"tag_list": {
"type": "array",
"items": {
"type": "string"
}
},
"owner": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"name": {
"type": "string"
},
"created_at": {
"type": "string"
}
}
},
"name": {
"type": "string"
},
"name_with_namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"path_with_namespace": {
"type": "string"
},
"issues_enabled": {
"type": "boolean"
},
"open_issues_count": {
"type": "number"
},
"merge_requests_enabled": {
"type": "boolean"
},
"jobs_enabled": {
"type": "boolean"
},
"wiki_enabled": {
"type": "boolean"
},
"snippets_enabled": {
"type": "boolean"
},
"resolve_outdated_diff_discussions": {
"type": "boolean"
},
"container_registry_enabled": {
"type": "boolean"
},
"created_at": {
"type": "string"
},
"last_activity_at": {
"type": "string"
},
"creator_id": {
"type": "number"
},
"namespace": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"kind": {
"type": "string"
},
"full_path": {
"type": "string"
}
}
},
"import_status": {
"type": "string"
},
"archived": {
"type": "boolean"
},
"avatar_url": {
"type": "string"
},
"shared_runners_enabled": {
"type": "boolean"
},
"forks_count": {
"type": "number"
},
"star_count": {
"type": "number"
},
"runners_token": {
"type": "string"
},
"public_jobs": {
"type": "boolean"
},
"shared_with_groups": {
"type": "object"
},
"only_allow_merge_if_pipeline_succeeds": {
"type": "boolean"
},
"only_allow_merge_if_all_discussions_are_resolved": {
"type": "boolean"
},
"request_access_enabled": {
"type": "boolean"
},
"merge_method": {
"type": "string"
},
"approvals_before_merge": {
"type": "number"
},
"statistics": {
"type": "object",
"properties": {
"commit_count": {
"type": "number"
},
"storage_size": {
"type": "number"
},
"repository_size": {
"type": "number"
},
"wiki_size": {
"type": "number"
},
"lfs_objects_size": {
"type": "number"
},
"job_artifacts_size": {
"type": "number"
},
"packages_size": {
"type": "number"
}
}
}
}
},
"forks_count": {
"type": "string"
},
"http_url_to_repo": {
"type": "string"
},
"id": {
"type": "string"
},
"issues_enabled": {
"type": "string"
},
"last_activity_at": {
"type": "string"
},
"lfs_enabled": {
"type": "string"
},
"merge_requests_enabled": {
"type": "string"
},
"name": {
"type": "string"
},
"name_with_namespace": {
"type": "string"
},
"namespace": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"kind": {
"type": "string"
},
"full_path": {
"type": "string"
}
}
},
"only_allow_merge_if_all_discussions_are_resolved": {
"type": "string"
},
"only_allow_merge_if_build_succeeds": {
"type": "string"
},
"open_issues_count": {
"type": "string"
},
"owner": {
"type": "object",
"properties": {
"avatar_url": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"state": {
"type": "string"
},
"username": {
"type": "string"
},
"web_url": {
"type": "string"
}
}
},
"path": {
"type": "string"