A RESTful API for accessing the resources of the internal OpenSmartCLIDE database. It exposes the following endpoints:
/users
{
"id": "628c87f6aa5a2857398a80a0",
"email": "[email protected]",
"team_id": "628c87f6aa5a2857398a80d8"
}
/teams
{
"name": "Test team",
"workflows": [],
"services": [],
"deployments": []
}
/ci_managers
{
"user_id": "628c87f6aa5a2857398a80a0",
"type": "jenkins",
"url": "http://some_url",
"username": "test_user",
"token": "giuggff8ff7igfigfiugi..."
}
/deployment_platforms
{
"user_id": "628c87f6aa5a2857398a80a0",
"url": "http://some_url",
"username": "test_user",
"token": "giuggff8ff7igfigfiugi..."
}
/service_registries
{
"user_id": "628c87f6aa5a2857398a80a0",
"type": "github",
"url": "http://some_url",
"username": "test_user",
"token": "dnsuibfifgyucgufgu..."
}
/git_credentials
{
"user_id": "628c87f6aa5a2857398a80a0",
"type": "github",
"url": "http://some_url",
"username": "test",
"token": "bcsuifgsiufgsfiuiu"
}
/services
{
"name": "Test service",
"user_id": "628c87f6aa5a2857398a80a0",
"registry_id": "628c8dab80b42501489a85da",
"git_credentials_id": "628c922780b42501489a85dd",
"url": "http://test_url",
"description": "A short service description..",
"is_public": true,
"licence": "test_licence",
"framework": "java",
"created": "2022-01-14T15:42:25.000+00:00",
"updated": "2022-01-14T15:42:25.000+00:00"
}
/workflows
{
"name": "Test service",
"user_id": "628c87f6aa5a2857398a80a0",
"git_credentials_id": "628c922780b42501489a85dd",
"url": "http://test_url",
"description": "A short workflow description..",
"is_public": true,
"created": "2022-01-14T15:42:25.000+00:00",
"updated": "2022-01-14T15:42:25.000+00:00"
}
/deployments
{
"name": "Test service",
"user_id": "628c87f6aa5a2857398a80a0",
"git_credentials_id": "628c922780b42501489a85dd",
"url": "http://test_url",
"workflow_id": "6283ac19189ff14b1516c11c",
"service_id": "628c928d80b42501489a85de",
"version": "$deployment_version",
"state": "$deployment_state",
"created": "2022-01-14T15:42:25.000+00:00",
"updated": "2022-01-14T15:42:25.000+00:00"
}