first commit
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
import type {
|
||||
IExecuteFunctions,
|
||||
IHookFunctions,
|
||||
IDataObject,
|
||||
JsonObject,
|
||||
IHttpRequestMethods,
|
||||
IRequestOptions,
|
||||
} from 'n8n-workflow';
|
||||
import { NodeApiError } from 'n8n-workflow';
|
||||
|
||||
/**
|
||||
* Make an API request to Gitlab
|
||||
*
|
||||
*/
|
||||
export async function gitlabApiRequest(
|
||||
this: IHookFunctions | IExecuteFunctions,
|
||||
method: IHttpRequestMethods,
|
||||
endpoint: string,
|
||||
body: object,
|
||||
query?: IDataObject,
|
||||
option: IDataObject = {},
|
||||
): Promise<any> {
|
||||
const options: IRequestOptions = {
|
||||
method,
|
||||
headers: {},
|
||||
body,
|
||||
qs: query,
|
||||
uri: '',
|
||||
json: true,
|
||||
};
|
||||
|
||||
if (Object.keys(option).length !== 0) {
|
||||
Object.assign(options, option);
|
||||
}
|
||||
if (query === undefined) {
|
||||
delete options.qs;
|
||||
}
|
||||
|
||||
const authenticationMethod = this.getNodeParameter('authentication', 0);
|
||||
|
||||
try {
|
||||
if (authenticationMethod === 'accessToken') {
|
||||
const credentials = await this.getCredentials('gitlabApi');
|
||||
options.uri = `${(credentials.server as string).replace(/\/$/, '')}/api/v4${endpoint}`;
|
||||
return await this.helpers.requestWithAuthentication.call(this, 'gitlabApi', options);
|
||||
} else {
|
||||
const credentials = await this.getCredentials('gitlabOAuth2Api');
|
||||
|
||||
options.uri = `${(credentials.server as string).replace(/\/$/, '')}/api/v4${endpoint}`;
|
||||
|
||||
return await this.helpers.requestOAuth2.call(this, 'gitlabOAuth2Api', options);
|
||||
}
|
||||
} catch (error) {
|
||||
throw new NodeApiError(this.getNode(), error as JsonObject);
|
||||
}
|
||||
}
|
||||
|
||||
export async function gitlabApiRequestAllItems(
|
||||
this: IHookFunctions | IExecuteFunctions,
|
||||
method: IHttpRequestMethods,
|
||||
endpoint: string,
|
||||
|
||||
body: any = {},
|
||||
query: IDataObject = {},
|
||||
): Promise<any> {
|
||||
const returnData: IDataObject[] = [];
|
||||
|
||||
let responseData;
|
||||
|
||||
query.per_page = 100;
|
||||
query.page = 1;
|
||||
|
||||
do {
|
||||
responseData = await gitlabApiRequest.call(this, method, endpoint, body as IDataObject, query, {
|
||||
resolveWithFullResponse: true,
|
||||
});
|
||||
query.page++;
|
||||
returnData.push.apply(returnData, responseData.body as IDataObject[]);
|
||||
} while (responseData.headers.link?.includes('next'));
|
||||
return returnData;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"node": "n8n-nodes-base.gitlab",
|
||||
"nodeVersion": "1.0",
|
||||
"codexVersion": "1.0",
|
||||
"categories": ["Development"],
|
||||
"resources": {
|
||||
"credentialDocumentation": [
|
||||
{
|
||||
"url": "https://docs.n8n.io/integrations/builtin/credentials/gitlab/"
|
||||
}
|
||||
],
|
||||
"primaryDocumentation": [
|
||||
{
|
||||
"url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.gitlab/"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"node": "n8n-nodes-base.gitlabTrigger",
|
||||
"nodeVersion": "1.0",
|
||||
"codexVersion": "1.0",
|
||||
"categories": ["Development"],
|
||||
"resources": {
|
||||
"credentialDocumentation": [
|
||||
{
|
||||
"url": "https://docs.n8n.io/integrations/builtin/credentials/gitlab/"
|
||||
}
|
||||
],
|
||||
"primaryDocumentation": [
|
||||
{
|
||||
"url": "https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.gitlabtrigger/"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,313 @@
|
||||
import type {
|
||||
IHookFunctions,
|
||||
IWebhookFunctions,
|
||||
IDataObject,
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
IWebhookResponseData,
|
||||
JsonObject,
|
||||
} from 'n8n-workflow';
|
||||
import { NodeConnectionTypes, NodeApiError } from 'n8n-workflow';
|
||||
|
||||
import { gitlabApiRequest } from './GenericFunctions';
|
||||
|
||||
const GITLAB_EVENTS = [
|
||||
{
|
||||
name: 'Comment',
|
||||
value: 'note',
|
||||
description:
|
||||
'Triggered when a new comment is made on commits, merge requests, issues, and code snippets',
|
||||
},
|
||||
{
|
||||
name: 'Confidential Issues',
|
||||
value: 'confidential_issues',
|
||||
description: "Triggered on confidential issues' events",
|
||||
},
|
||||
{
|
||||
name: 'Confidential Comments',
|
||||
value: 'confidential_note',
|
||||
description: 'Triggered when a confidential comment is made',
|
||||
},
|
||||
{
|
||||
name: 'Deployments',
|
||||
value: 'deployment',
|
||||
description: 'Triggered when a deployment starts/succeeds/fails/is cancelled',
|
||||
},
|
||||
{
|
||||
name: 'Issue',
|
||||
value: 'issues',
|
||||
description:
|
||||
'Triggered when a new issue is created or an existing issue was updated/closed/reopened',
|
||||
},
|
||||
{
|
||||
name: 'Job',
|
||||
value: 'job',
|
||||
description: 'Triggered on status change of a job',
|
||||
},
|
||||
{
|
||||
name: 'Merge Request',
|
||||
value: 'merge_requests',
|
||||
description:
|
||||
'Triggered when a new merge request is created, an existing merge request was updated/merged/closed or a commit is added in the source branch',
|
||||
},
|
||||
{
|
||||
name: 'Pipeline',
|
||||
value: 'pipeline',
|
||||
description: 'Triggered on status change of Pipeline',
|
||||
},
|
||||
{
|
||||
name: 'Push',
|
||||
value: 'push',
|
||||
description: 'Triggered when you push to the repository except when pushing tags',
|
||||
},
|
||||
{
|
||||
name: 'Release',
|
||||
value: 'releases',
|
||||
description: 'Release events are triggered when a release is created or updated',
|
||||
},
|
||||
{
|
||||
name: 'Tag',
|
||||
value: 'tag_push',
|
||||
description: 'Triggered when you create (or delete) tags to the repository',
|
||||
},
|
||||
{
|
||||
name: 'Wiki Page',
|
||||
value: 'wiki_page',
|
||||
description: 'Triggered when a wiki page is created, updated or deleted',
|
||||
},
|
||||
];
|
||||
|
||||
export class GitlabTrigger implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
displayName: 'GitLab Trigger',
|
||||
name: 'gitlabTrigger',
|
||||
icon: 'file:gitlab.svg',
|
||||
group: ['trigger'],
|
||||
version: 1,
|
||||
subtitle:
|
||||
'={{$parameter["owner"] + "/" + $parameter["repository"] + ": " + $parameter["events"].join(", ")}}',
|
||||
description: 'Starts the workflow when GitLab events occur',
|
||||
defaults: {
|
||||
name: 'GitLab Trigger',
|
||||
},
|
||||
inputs: [],
|
||||
outputs: [NodeConnectionTypes.Main],
|
||||
credentials: [
|
||||
{
|
||||
name: 'gitlabApi',
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
authentication: ['accessToken'],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'gitlabOAuth2Api',
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
authentication: ['oAuth2'],
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
webhooks: [
|
||||
{
|
||||
name: 'default',
|
||||
httpMethod: 'POST',
|
||||
responseMode: 'onReceived',
|
||||
path: 'webhook',
|
||||
},
|
||||
],
|
||||
properties: [
|
||||
{
|
||||
displayName: 'Authentication',
|
||||
name: 'authentication',
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
name: 'Access Token',
|
||||
value: 'accessToken',
|
||||
},
|
||||
{
|
||||
name: 'OAuth2',
|
||||
value: 'oAuth2',
|
||||
},
|
||||
],
|
||||
default: 'accessToken',
|
||||
},
|
||||
{
|
||||
displayName: 'Repository Owner',
|
||||
name: 'owner',
|
||||
type: 'string',
|
||||
default: '',
|
||||
required: true,
|
||||
placeholder: 'n8n-io',
|
||||
description: 'Owner of the repository',
|
||||
},
|
||||
{
|
||||
displayName: 'Repository Name',
|
||||
name: 'repository',
|
||||
type: 'string',
|
||||
default: '',
|
||||
required: true,
|
||||
placeholder: 'n8n',
|
||||
description: 'The name of the repository',
|
||||
},
|
||||
{
|
||||
displayName: 'Events',
|
||||
name: 'events',
|
||||
type: 'multiOptions',
|
||||
options: [
|
||||
...GITLAB_EVENTS,
|
||||
{
|
||||
name: '*',
|
||||
value: '*',
|
||||
description: 'Any time any event is triggered (Wildcard Event)',
|
||||
},
|
||||
],
|
||||
required: true,
|
||||
default: [],
|
||||
description: 'The events to listen to',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
webhookMethods = {
|
||||
default: {
|
||||
async checkExists(this: IHookFunctions): Promise<boolean> {
|
||||
const webhookData = this.getWorkflowStaticData('node');
|
||||
|
||||
if (webhookData.webhookId === undefined) {
|
||||
// No webhook id is set so no webhook can exist
|
||||
return false;
|
||||
}
|
||||
|
||||
// Webhook got created before so check if it still exists
|
||||
const owner = this.getNodeParameter('owner') as string;
|
||||
const repository = this.getNodeParameter('repository') as string;
|
||||
|
||||
const path = `${owner}/${repository}`.replace(/\//g, '%2F');
|
||||
|
||||
const endpoint = `/projects/${path}/hooks/${webhookData.webhookId}`;
|
||||
|
||||
try {
|
||||
await gitlabApiRequest.call(this, 'GET', endpoint, {});
|
||||
} catch (error) {
|
||||
if (error.cause.httpCode === '404' || error.description.includes('404')) {
|
||||
// Webhook does not exist
|
||||
delete webhookData.webhookId;
|
||||
delete webhookData.webhookEvents;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// Some error occured
|
||||
throw error;
|
||||
}
|
||||
|
||||
// If it did not error then the webhook exists
|
||||
return true;
|
||||
},
|
||||
/**
|
||||
* Gitlab API - Add project hook:
|
||||
* https://docs.gitlab.com/ee/api/projects.html#add-project-hook
|
||||
*/
|
||||
async create(this: IHookFunctions): Promise<boolean> {
|
||||
const webhookUrl = this.getNodeWebhookUrl('default');
|
||||
|
||||
const owner = this.getNodeParameter('owner') as string;
|
||||
const repository = this.getNodeParameter('repository') as string;
|
||||
|
||||
let eventsArray = this.getNodeParameter('events', []) as string[];
|
||||
if (eventsArray.includes('*')) {
|
||||
eventsArray = GITLAB_EVENTS.map((e) => e.value);
|
||||
}
|
||||
|
||||
const events: { [key: string]: boolean } = {};
|
||||
for (const e of eventsArray) {
|
||||
events[`${e}_events`] = true;
|
||||
}
|
||||
|
||||
// gitlab set the push_events to true when the field it's not sent.
|
||||
// set it to false when it's not picked by the user.
|
||||
if (events.push_events === undefined) {
|
||||
events.push_events = false;
|
||||
}
|
||||
|
||||
const path = `${owner}/${repository}`.replace(/\//g, '%2F');
|
||||
|
||||
const endpoint = `/projects/${path}/hooks`;
|
||||
|
||||
const body = {
|
||||
url: webhookUrl,
|
||||
...events,
|
||||
enable_ssl_verification: false,
|
||||
};
|
||||
|
||||
let responseData;
|
||||
try {
|
||||
responseData = await gitlabApiRequest.call(this, 'POST', endpoint, body);
|
||||
} catch (error) {
|
||||
throw new NodeApiError(this.getNode(), error as JsonObject);
|
||||
}
|
||||
|
||||
if (responseData.id === undefined) {
|
||||
// Required data is missing so was not successful
|
||||
throw new NodeApiError(this.getNode(), responseData as JsonObject, {
|
||||
message: 'GitLab webhook creation response did not contain the expected data.',
|
||||
});
|
||||
}
|
||||
|
||||
const webhookData = this.getWorkflowStaticData('node');
|
||||
webhookData.webhookId = responseData.id as string;
|
||||
webhookData.webhookEvents = eventsArray;
|
||||
|
||||
return true;
|
||||
},
|
||||
async delete(this: IHookFunctions): Promise<boolean> {
|
||||
const webhookData = this.getWorkflowStaticData('node');
|
||||
|
||||
if (webhookData.webhookId !== undefined) {
|
||||
const owner = this.getNodeParameter('owner') as string;
|
||||
const repository = this.getNodeParameter('repository') as string;
|
||||
|
||||
const path = `${owner}/${repository}`.replace(/\//g, '%2F');
|
||||
|
||||
const endpoint = `/projects/${path}/hooks/${webhookData.webhookId}`;
|
||||
const body = {};
|
||||
|
||||
try {
|
||||
await gitlabApiRequest.call(this, 'DELETE', endpoint, body);
|
||||
} catch (error) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Remove from the static workflow data so that it is clear
|
||||
// that no webhooks are registered anymore
|
||||
delete webhookData.webhookId;
|
||||
delete webhookData.webhookEvents;
|
||||
}
|
||||
|
||||
return true;
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
async webhook(this: IWebhookFunctions): Promise<IWebhookResponseData> {
|
||||
const bodyData = this.getBodyData();
|
||||
|
||||
const returnData: IDataObject[] = [];
|
||||
|
||||
returnData.push({
|
||||
body: bodyData,
|
||||
headers: this.getHeaderData(),
|
||||
query: this.getQueryData(),
|
||||
});
|
||||
|
||||
return {
|
||||
workflowData: [this.helpers.returnJsonArray(returnData)],
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"branch": {
|
||||
"type": "string"
|
||||
},
|
||||
"file_path": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"blob_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"commit_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"content": {
|
||||
"type": "string"
|
||||
},
|
||||
"content_sha256": {
|
||||
"type": "string"
|
||||
},
|
||||
"encoding": {
|
||||
"type": "string"
|
||||
},
|
||||
"execute_filemode": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"file_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"file_path": {
|
||||
"type": "string"
|
||||
},
|
||||
"last_commit_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"ref": {
|
||||
"type": "string"
|
||||
},
|
||||
"size": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"version": 5
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"mode": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
@@ -0,0 +1,213 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"_links": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"award_emoji": {
|
||||
"type": "string"
|
||||
},
|
||||
"closed_as_duplicate_of": {
|
||||
"type": "null"
|
||||
},
|
||||
"notes": {
|
||||
"type": "string"
|
||||
},
|
||||
"project": {
|
||||
"type": "string"
|
||||
},
|
||||
"self": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"assignees": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"avatar_url": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"locked": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"author": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"locked": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"blocking_issues_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"closed_at": {
|
||||
"type": "null"
|
||||
},
|
||||
"closed_by": {
|
||||
"type": "null"
|
||||
},
|
||||
"confidential": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"created_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"discussion_locked": {
|
||||
"type": "null"
|
||||
},
|
||||
"downvotes": {
|
||||
"type": "integer"
|
||||
},
|
||||
"has_tasks": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"iid": {
|
||||
"type": "integer"
|
||||
},
|
||||
"imported": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"imported_from": {
|
||||
"type": "string"
|
||||
},
|
||||
"issue_type": {
|
||||
"type": "string"
|
||||
},
|
||||
"labels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"merge_requests_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"milestone": {
|
||||
"type": "null"
|
||||
},
|
||||
"moved_to_id": {
|
||||
"type": "null"
|
||||
},
|
||||
"project_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"references": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"full": {
|
||||
"type": "string"
|
||||
},
|
||||
"relative": {
|
||||
"type": "string"
|
||||
},
|
||||
"short": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"service_desk_reply_to": {
|
||||
"type": "null"
|
||||
},
|
||||
"severity": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"subscribed": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"task_completion_status": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"completed_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"count": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"task_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"time_stats": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"human_time_estimate": {
|
||||
"type": "null"
|
||||
},
|
||||
"human_total_time_spent": {
|
||||
"type": "null"
|
||||
},
|
||||
"time_estimate": {
|
||||
"type": "integer"
|
||||
},
|
||||
"total_time_spent": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"upvotes": {
|
||||
"type": "integer"
|
||||
},
|
||||
"user_notes_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
},
|
||||
"weight": {
|
||||
"type": "null"
|
||||
}
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
@@ -0,0 +1,213 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"_links": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"award_emoji": {
|
||||
"type": "string"
|
||||
},
|
||||
"closed_as_duplicate_of": {
|
||||
"type": "null"
|
||||
},
|
||||
"notes": {
|
||||
"type": "string"
|
||||
},
|
||||
"project": {
|
||||
"type": "string"
|
||||
},
|
||||
"self": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"assignees": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"avatar_url": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"locked": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"author": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"avatar_url": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"locked": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"blocking_issues_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"confidential": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"created_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"downvotes": {
|
||||
"type": "integer"
|
||||
},
|
||||
"epic": {
|
||||
"type": "null"
|
||||
},
|
||||
"epic_iid": {
|
||||
"type": "null"
|
||||
},
|
||||
"has_tasks": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"iid": {
|
||||
"type": "integer"
|
||||
},
|
||||
"issue_type": {
|
||||
"type": "string"
|
||||
},
|
||||
"iteration": {
|
||||
"type": "null"
|
||||
},
|
||||
"labels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"merge_requests_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"milestone": {
|
||||
"type": "null"
|
||||
},
|
||||
"moved_to_id": {
|
||||
"type": "null"
|
||||
},
|
||||
"project_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"references": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"full": {
|
||||
"type": "string"
|
||||
},
|
||||
"relative": {
|
||||
"type": "string"
|
||||
},
|
||||
"short": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"service_desk_reply_to": {
|
||||
"type": "null"
|
||||
},
|
||||
"severity": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"subscribed": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"task_completion_status": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"completed_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"count": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"task_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"time_stats": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"human_time_estimate": {
|
||||
"type": "null"
|
||||
},
|
||||
"human_total_time_spent": {
|
||||
"type": "null"
|
||||
},
|
||||
"time_estimate": {
|
||||
"type": "integer"
|
||||
},
|
||||
"total_time_spent": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"upvotes": {
|
||||
"type": "integer"
|
||||
},
|
||||
"user_notes_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
},
|
||||
"weight": {
|
||||
"type": "null"
|
||||
}
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
@@ -0,0 +1,279 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"_links": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"award_emoji": {
|
||||
"type": "string"
|
||||
},
|
||||
"closed_as_duplicate_of": {
|
||||
"type": "null"
|
||||
},
|
||||
"notes": {
|
||||
"type": "string"
|
||||
},
|
||||
"project": {
|
||||
"type": "string"
|
||||
},
|
||||
"self": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"assignee": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"avatar_url": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"locked": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"assignees": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"avatar_url": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"locked": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"author": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"locked": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"blocking_issues_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"confidential": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"created_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"downvotes": {
|
||||
"type": "integer"
|
||||
},
|
||||
"epic": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"group_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"iid": {
|
||||
"type": "integer"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"has_tasks": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"iid": {
|
||||
"type": "integer"
|
||||
},
|
||||
"imported": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"imported_from": {
|
||||
"type": "string"
|
||||
},
|
||||
"issue_type": {
|
||||
"type": "string"
|
||||
},
|
||||
"iteration": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"due_date": {
|
||||
"type": "string"
|
||||
},
|
||||
"group_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"iid": {
|
||||
"type": "integer"
|
||||
},
|
||||
"sequence": {
|
||||
"type": "integer"
|
||||
},
|
||||
"start_date": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "integer"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"labels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"merge_requests_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"moved_to_id": {
|
||||
"type": "null"
|
||||
},
|
||||
"project_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"references": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"full": {
|
||||
"type": "string"
|
||||
},
|
||||
"relative": {
|
||||
"type": "string"
|
||||
},
|
||||
"short": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"service_desk_reply_to": {
|
||||
"type": "null"
|
||||
},
|
||||
"severity": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"subscribed": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"task_completion_status": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"completed_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"count": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"task_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"time_stats": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"time_estimate": {
|
||||
"type": "integer"
|
||||
},
|
||||
"total_time_spent": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"upvotes": {
|
||||
"type": "integer"
|
||||
},
|
||||
"user_notes_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
@@ -0,0 +1,382 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"_links": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"cluster_agents": {
|
||||
"type": "string"
|
||||
},
|
||||
"events": {
|
||||
"type": "string"
|
||||
},
|
||||
"issues": {
|
||||
"type": "string"
|
||||
},
|
||||
"labels": {
|
||||
"type": "string"
|
||||
},
|
||||
"members": {
|
||||
"type": "string"
|
||||
},
|
||||
"merge_requests": {
|
||||
"type": "string"
|
||||
},
|
||||
"repo_branches": {
|
||||
"type": "string"
|
||||
},
|
||||
"self": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"allow_pipeline_trigger_approve_deployment": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"analytics_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"approvals_before_merge": {
|
||||
"type": "integer"
|
||||
},
|
||||
"archived": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"auto_cancel_pending_pipelines": {
|
||||
"type": "string"
|
||||
},
|
||||
"auto_devops_deploy_strategy": {
|
||||
"type": "string"
|
||||
},
|
||||
"auto_devops_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"autoclose_referenced_issues": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"build_git_strategy": {
|
||||
"type": "string"
|
||||
},
|
||||
"build_timeout": {
|
||||
"type": "integer"
|
||||
},
|
||||
"builds_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"can_create_merge_request_in": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ci_allow_fork_pipelines_to_run_in_parent_project": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ci_delete_pipelines_in_seconds": {
|
||||
"type": "null"
|
||||
},
|
||||
"ci_forward_deployment_rollback_allowed": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ci_id_token_sub_claim_components": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"ci_job_token_scope_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ci_pipeline_variables_minimum_override_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"ci_push_repository_for_job_token_allowed": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ci_restrict_pipeline_cancellation_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"ci_separated_caches": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"container_registry_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"container_registry_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"container_registry_image_prefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"created_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"creator_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"default_branch": {
|
||||
"type": "string"
|
||||
},
|
||||
"description_html": {
|
||||
"type": "string"
|
||||
},
|
||||
"emails_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"empty_repo": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"enforce_auth_checks_on_uploads": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"environments_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"feature_flags_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"forking_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"forks_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"group_runners_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"http_url_to_repo": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"import_error": {
|
||||
"type": "null"
|
||||
},
|
||||
"import_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"infrastructure_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"issues_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"issues_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"jobs_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"keep_latest_artifact": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"last_activity_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"lfs_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"marked_for_deletion_at": {
|
||||
"type": "null"
|
||||
},
|
||||
"marked_for_deletion_on": {
|
||||
"type": "null"
|
||||
},
|
||||
"max_artifacts_size": {
|
||||
"type": "null"
|
||||
},
|
||||
"merge_method": {
|
||||
"type": "string"
|
||||
},
|
||||
"merge_pipelines_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"merge_requests_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"merge_requests_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"merge_trains_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"merge_trains_skip_train_allowed": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"mirror": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"model_experiments_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"model_registry_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"monitor_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"name_with_namespace": {
|
||||
"type": "string"
|
||||
},
|
||||
"namespace": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"full_path": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"only_allow_merge_if_all_discussions_are_resolved": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"only_allow_merge_if_pipeline_succeeds": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"open_issues_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"pages_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"path_with_namespace": {
|
||||
"type": "string"
|
||||
},
|
||||
"permissions": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"group_access": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"access_level": {
|
||||
"type": "integer"
|
||||
},
|
||||
"notification_level": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"printing_merge_request_link_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"public_jobs": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"releases_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"repository_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"repository_object_format": {
|
||||
"type": "string"
|
||||
},
|
||||
"request_access_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"requirements_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"requirements_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"restrict_user_defined_variables": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"runner_token_expiration_interval": {
|
||||
"type": "null"
|
||||
},
|
||||
"security_and_compliance_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"security_and_compliance_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"service_desk_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shared_runners_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shared_with_groups": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"expires_at": {
|
||||
"type": "null"
|
||||
},
|
||||
"group_access_level": {
|
||||
"type": "integer"
|
||||
},
|
||||
"group_full_path": {
|
||||
"type": "string"
|
||||
},
|
||||
"group_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"group_name": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"snippets_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"snippets_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"squash_commit_template": {
|
||||
"type": "null"
|
||||
},
|
||||
"squash_option": {
|
||||
"type": "string"
|
||||
},
|
||||
"ssh_url_to_repo": {
|
||||
"type": "string"
|
||||
},
|
||||
"star_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"visibility": {
|
||||
"type": "string"
|
||||
},
|
||||
"warn_about_potentially_unwanted_characters": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
},
|
||||
"wiki_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"wiki_enabled": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
+192
@@ -0,0 +1,192 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"_links": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"award_emoji": {
|
||||
"type": "string"
|
||||
},
|
||||
"closed_as_duplicate_of": {
|
||||
"type": "null"
|
||||
},
|
||||
"notes": {
|
||||
"type": "string"
|
||||
},
|
||||
"project": {
|
||||
"type": "string"
|
||||
},
|
||||
"self": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"assignees": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"avatar_url": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"author": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"avatar_url": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"locked": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"confidential": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"created_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"discussion_locked": {
|
||||
"type": "null"
|
||||
},
|
||||
"downvotes": {
|
||||
"type": "integer"
|
||||
},
|
||||
"has_tasks": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"iid": {
|
||||
"type": "integer"
|
||||
},
|
||||
"imported": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"imported_from": {
|
||||
"type": "string"
|
||||
},
|
||||
"issue_type": {
|
||||
"type": "string"
|
||||
},
|
||||
"labels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"merge_requests_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"moved_to_id": {
|
||||
"type": "null"
|
||||
},
|
||||
"project_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"references": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"full": {
|
||||
"type": "string"
|
||||
},
|
||||
"relative": {
|
||||
"type": "string"
|
||||
},
|
||||
"short": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"service_desk_reply_to": {
|
||||
"type": "null"
|
||||
},
|
||||
"severity": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"task_completion_status": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"completed_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"count": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"task_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"time_stats": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"human_total_time_spent": {
|
||||
"type": "null"
|
||||
},
|
||||
"time_estimate": {
|
||||
"type": "integer"
|
||||
},
|
||||
"total_time_spent": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"upvotes": {
|
||||
"type": "integer"
|
||||
},
|
||||
"user_notes_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
+426
@@ -0,0 +1,426 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"_links": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"cluster_agents": {
|
||||
"type": "string"
|
||||
},
|
||||
"events": {
|
||||
"type": "string"
|
||||
},
|
||||
"issues": {
|
||||
"type": "string"
|
||||
},
|
||||
"labels": {
|
||||
"type": "string"
|
||||
},
|
||||
"members": {
|
||||
"type": "string"
|
||||
},
|
||||
"merge_requests": {
|
||||
"type": "string"
|
||||
},
|
||||
"repo_branches": {
|
||||
"type": "string"
|
||||
},
|
||||
"self": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"allow_merge_on_skipped_pipeline": {
|
||||
"type": "null"
|
||||
},
|
||||
"analytics_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"archived": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"auto_cancel_pending_pipelines": {
|
||||
"type": "string"
|
||||
},
|
||||
"auto_devops_deploy_strategy": {
|
||||
"type": "string"
|
||||
},
|
||||
"auto_devops_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"autoclose_referenced_issues": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"avatar_url": {
|
||||
"type": "null"
|
||||
},
|
||||
"build_git_strategy": {
|
||||
"type": "string"
|
||||
},
|
||||
"build_timeout": {
|
||||
"type": "integer"
|
||||
},
|
||||
"builds_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"can_create_merge_request_in": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ci_allow_fork_pipelines_to_run_in_parent_project": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ci_default_git_depth": {
|
||||
"type": "integer"
|
||||
},
|
||||
"ci_delete_pipelines_in_seconds": {
|
||||
"type": "null"
|
||||
},
|
||||
"ci_forward_deployment_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ci_forward_deployment_rollback_allowed": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ci_id_token_sub_claim_components": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"ci_job_token_scope_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ci_pipeline_variables_minimum_override_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"ci_push_repository_for_job_token_allowed": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ci_separated_caches": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"container_expiration_policy": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"cadence": {
|
||||
"type": "string"
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"keep_n": {
|
||||
"type": "integer"
|
||||
},
|
||||
"name_regex": {
|
||||
"type": "string"
|
||||
},
|
||||
"name_regex_keep": {
|
||||
"type": "null"
|
||||
},
|
||||
"next_run_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"older_than": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"container_registry_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"container_registry_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"container_registry_image_prefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"created_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"creator_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"default_branch": {
|
||||
"type": "string"
|
||||
},
|
||||
"description_html": {
|
||||
"type": "string"
|
||||
},
|
||||
"emails_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"empty_repo": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"enforce_auth_checks_on_uploads": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"environments_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"external_authorization_classification_label": {
|
||||
"type": "string"
|
||||
},
|
||||
"feature_flags_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"forking_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"forks_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"group_runners_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"http_url_to_repo": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"import_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"infrastructure_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"issue_branch_template": {
|
||||
"type": "null"
|
||||
},
|
||||
"issues_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"issues_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"jobs_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"keep_latest_artifact": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"last_activity_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"lfs_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"max_artifacts_size": {
|
||||
"type": "null"
|
||||
},
|
||||
"merge_commit_template": {
|
||||
"type": "null"
|
||||
},
|
||||
"merge_method": {
|
||||
"type": "string"
|
||||
},
|
||||
"merge_requests_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"merge_requests_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"model_experiments_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"model_registry_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"monitor_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"name_with_namespace": {
|
||||
"type": "string"
|
||||
},
|
||||
"namespace": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"avatar_url": {
|
||||
"type": "string"
|
||||
},
|
||||
"full_path": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"parent_id": {
|
||||
"type": "null"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"only_allow_merge_if_all_discussions_are_resolved": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"only_allow_merge_if_pipeline_succeeds": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"open_issues_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"owner": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"avatar_url": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"locked": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"packages_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"pages_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"path_with_namespace": {
|
||||
"type": "string"
|
||||
},
|
||||
"permissions": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"group_access": {
|
||||
"type": "null"
|
||||
},
|
||||
"project_access": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"access_level": {
|
||||
"type": "integer"
|
||||
},
|
||||
"notification_level": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"printing_merge_request_link_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"public_jobs": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"releases_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"remove_source_branch_after_merge": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"repository_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"repository_object_format": {
|
||||
"type": "string"
|
||||
},
|
||||
"request_access_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"requirements_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"requirements_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"resolve_outdated_diff_discussions": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"restrict_user_defined_variables": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"runner_token_expiration_interval": {
|
||||
"type": "null"
|
||||
},
|
||||
"runners_token": {
|
||||
"type": "string"
|
||||
},
|
||||
"security_and_compliance_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"security_and_compliance_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"service_desk_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shared_runners_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"snippets_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"snippets_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"squash_commit_template": {
|
||||
"type": "null"
|
||||
},
|
||||
"squash_option": {
|
||||
"type": "string"
|
||||
},
|
||||
"ssh_url_to_repo": {
|
||||
"type": "string"
|
||||
},
|
||||
"star_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"suggestion_commit_message": {
|
||||
"type": "null"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"visibility": {
|
||||
"type": "string"
|
||||
},
|
||||
"warn_about_potentially_unwanted_characters": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"web_url": {
|
||||
"type": "string"
|
||||
},
|
||||
"wiki_access_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"wiki_enabled": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><g fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path fill="#E24329" d="m30.5 56.967 10.863-33.203H19.637z"/><path fill="#FC6D26" d="M30.5 56.967 19.637 23.764H4.41z"/><path fill="#FCA326" d="M4.41 23.764 1.11 33.86c-.3.92.03 1.928.817 2.496L30.5 56.967z"/><path fill="#E24329" d="M4.41 23.764h15.226L13.093 3.781c-.336-1.029-1.802-1.029-2.139 0z"/><path fill="#FC6D26" d="m30.5 56.967 10.863-33.203H56.59z"/><path fill="#FCA326" d="m56.59 23.764 3.3 10.086a2.22 2.22 0 0 1-.817 2.497L30.5 56.967z"/><path fill="#E24329" d="M56.59 23.764H41.362l6.544-19.992c.336-1.03 1.802-1.03 2.139 0l6.543 19.992z"/></g></svg>
|
||||
|
After Width: | Height: | Size: 710 B |
Reference in New Issue
Block a user