Download OpenAPI specification:Download
Collection of API endpoints used in the validation and management of external Git services, such as Gitlab and Github.
Validates a list of commits for a merge request.
provider required | string Enum: "github" "gitlab" "gerrit" The provider for which the commit is being validated for |
repoUrl required | string the outward facing URL of the repo the commit belongs to. |
strictMode required | boolean Whether to strictly apply validation regardless of project matching |
estimatedLoc | integer or null The estimated LOC changed by the set of commits sent for validation. |
required | Array of objects >= 1 |
{- "provider": "github",
- "repoUrl": "string",
- "strictMode": true,
- "estimatedLoc": 0,
- "commits": [
- {
- "hash": "string",
- "body": null,
- "subject": null,
- "author": {
- "name": "string",
- "mail": "string",
- "external_id": null
}, - "committer": {
- "name": "string",
- "mail": "string",
- "external_id": null
}, - "last_modification_date": "2019-08-24T14:15:22Z",
- "head": true,
- "parents": [
- "string"
]
}
]
}
{- "time": "2019-08-24T14:15:22Z",
- "trackedProject": true,
- "strictMode": true,
- "fingerprint": "string",
- "errorCount": 0,
- "passed": true,
- "commits": {
- "property1": {
- "messages": [
- {
- "code": 0,
- "message": "string"
}
], - "warnings": [
- {
- "code": 0,
- "message": "string"
}
], - "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}, - "property2": {
- "messages": [
- {
- "code": 0,
- "message": "string"
}
], - "warnings": [
- {
- "code": 0,
- "message": "string"
}
], - "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}
}
}
Returns a set of validation messages for the given unique fingerprint
fingerprint required | string Unique ID for the request group |
[- {
- "id": 0,
- "commit_hash": "string",
- "user_mail": "string",
- "estimated_loc": 0,
- "project": "string",
- "repo_url": "string",
- "provider": "github",
- "creation_date": "2019-08-24T14:15:22Z",
- "last_modified": "2019-08-24T14:15:22Z",
- "errors": [
- {
- "id": 0,
- "status_code": 0,
- "eclipse_id": null,
- "author_email": "string",
- "committer_email": "string",
- "provider_id": null
}
]
}
]
Returns wether or not the user has a signed ECA
q | string Query string containing either email or username. Email is only valid for logged in committers/project leads |
string Deprecated Email is only valid for logged in committers/project leads. For removal at the end of 2024. |
Returns list of private project events using desired filters
key required | string The endpoint access key |
status | string the project's current status - active/deleted |
since | string Starting date range for project creation date - yyyy-MM-dd |
until | string Ending date range for project creation date - yyyy-MM-dd |
[- {
- "user_id": 0,
- "project_id": 0,
- "project_path": "string",
- "ef_username": "string",
- "parent_project": 0,
- "creation_date": "string",
- "deletion_date": "string"
}
]
Process incoming pull request hook events from Github
X-GitHub-Delivery required | string |
X-GitHub-Event required | string |
X-GitHub-Hook-ID required | string |
object Information about the Github App installation making this request | |
object Information about the repository that triggered this request | |
object Information on the pull request that triggered this workflow. |
{- "installation": {
- "id": "string"
}, - "repository": {
- "full_name": "string",
- "html_url": "string"
}, - "pull_request": {
- "number": null,
- "head": {
- "sha": "string"
}
}
}
Process incoming system hooks from GitLab
fingerprint required | string Unique ID for the request group |
h-form-captcha-response required | string the hCaptcha challenge response. |
{- "status_code": 0,
- "message": "string",
- "url": "string"
}
Process incoming system hooks from GitLab
X-Gitlab-Event required | string |
created_at required | string <date-time> (DateTime) Time of the project creation event |
updated_at required | string <date-time> (DateTime) Time indicating the last event occured |
event_name required | string The event type |
name required | string The project name |
owner_email required | string The namespace's email. If not user, will be empty |
owner_name required | string The namespace name (group, user) |
required | Array of objects The project owners |
path required | string The project path |
path_with_namespace required | string The project path with namespace |
project_id required | integer The project's gitlab id |
project_visibility required | string The project's visibility (public, private) |
old_path_with_namespace | null or string The old path with namespace, only used in 'project_rename' hooks |
{- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "event_name": "string",
- "name": "string",
- "owner_email": "string",
- "owner_name": "string",
- "owners": [
- {
- "name": "string",
- "email": "string"
}
], - "path": "string",
- "path_with_namespace": "string",
- "project_id": 0,
- "project_visibility": "string",
- "old_path_with_namespace": null
}