Uploading Contributors Data
Importing Contributors Data
GitHub, GitLab, Git, Jira, AzureDevops, BitBucket, CircleCi, CodeCov, BuildKite
Upload Example Using cURL
curl --location --request POST 'https://logilica.io/api/import/v1/contributors/create' \
--header 'X-lgca-token: lgca_UeRxFs_3RYRJEJtdYp7j7Wa6DirG5NjiYslsb' \
--header 'x-lgca-domain: myworkspace' \
--header 'Content-Type: application/json' \
--data-raw '[{
"name": "John Doe",
"email": "johndoe@test.com",
"accounts": [{
"service": "GitHub",
"username": "johndoe",
"email": "johndoe@github.com"
},
{
"service": "Jira",
"username": "johndoe@test.com",
"email": "johndoe@test.com"
}]
}]'API Schema for Contributors
Create Contributors
post
Bodyobject[]
namestringRequired
The full name of the contributor
emailstringRequired
The email address of the contributor
Responses
200
Success
application/json
messagestringRequired
400
Data given doesn't match schema. Return value will be ZodError with validation message
401
Unauthorized
404
Contributors not found
application/json
500
Failed to process request
application/json
postcontributors/create
POST /api/import/v1contributors/create HTTP/1.1
Host: logilica.io/
Content-Type: application/json
Accept: */*
Content-Length: 99
[
{
"name": "text",
"email": "text",
"accounts": [
{
"service": "GitHub",
"username": "text",
"email": "text"
}
]
}
]{
"message": "text"
}List Contributors
get
Responses
200
Success
application/json
messagestringRequired
400
Data given doesn't match schema. Return value will be ZodError with validation message
401
Unauthorized
404
Contributor not found
application/json
500
Failed to process request
application/json
getcontributors/
GET /api/import/v1contributors/ HTTP/1.1
Host: logilica.io/
Accept: */*
{
"message": "text"
}Last updated