Code Collaboration
Download SpecCreate a new code collaboration session
Initiates a new code collaboration session for a project, allowing developers to work together in a shared development environment.
id
string
projectId
string
participants
array[string]
string
active
boolean
creationDate
string
date-time
projectId
string
required
Request
{
"participants": [
"dev1",
"dev2",
"dev3"
]
}
Response
Code collaboration session created
{
"id": "c123",
"projectId": "p456",
"participants": [
"dev1",
"dev2",
"dev3"
],
"active": true,
"creationDate": "2023-07-24T18:00:00Z"
}
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
No schema
id
string
projectId
string
participants
array[string]
string
active
boolean
creationDate
string
date-time
Bad request
Empty response
Get a code collaboration session by ID
Retrieves information about a specific code collaboration session.
projectId
string
required
collaborationId
string
required
Response
A code collaboration session
{
"id": "c123",
"projectId": "p456",
"participants": [
"dev1",
"dev2",
"dev3"
],
"active": true,
"creationDate": "2023-07-24T18:00:00Z"
}
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
No schema
id
string
projectId
string
participants
array[string]
string
active
boolean
creationDate
string
date-time
Collaboration session not found
Empty response
Update a code collaboration session by ID
Updates the participants of a code collaboration session, adding or removing developers as needed.
id
string
projectId
string
participants
array[string]
string
active
boolean
creationDate
string
date-time
projectId
string
required
collaborationId
string
required
Request
{
"participants": [
"dev1",
"dev4"
]
}
Response
Code collaboration session updated
{
"id": "c123",
"projectId": "p456",
"participants": [
"dev1",
"dev4"
],
"active": true,
"creationDate": "2023-07-24T18:00:00Z"
}
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
No schema
No schema
id
string
projectId
string
participants
array[string]
string
active
boolean
creationDate
string
date-time
Bad request
Empty response
Collaboration session not found
Empty response
Delete a code collaboration session by ID
Ends a specific code collaboration session.
projectId
string
required
collaborationId
string
required
Response
Collaboration session ended
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
No schema
No schema
Collaboration session not found
Empty response
Was this page helpful?