Time Dilation
Download SpecCreate a new time-dilation instance for a project
Creates a new time-dilation instance for a specific project. This instance affects the perceived timeline for the code files in the project.
id
string
projectId
string
state
string
- Enum
-
- ACTIVE
- INACTIVE
dilationFactor
number
creationDate
string
date-time
projectId
string
required
deprecated
Request
{
"dilationFactor": 2.0
}
Response
Time-dilation instance created
{
"id": "td123",
"projectId": "p456",
"state": "ACTIVE",
"dilationFactor": 2.0,
"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
state
string
- Enum
-
- ACTIVE
- INACTIVE
dilationFactor
number
creationDate
string
date-time
Bad request
Empty response
Get a time-dilation instance by ID
Retrieves information about a specific time-dilation instance.
projectId
string
required
timeDilationId
string
required
Response
A time-dilation instance
{
"id": "td123",
"projectId": "p456",
"state": "ACTIVE",
"dilationFactor": 2.0,
"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
state
string
- Enum
-
- ACTIVE
- INACTIVE
dilationFactor
number
creationDate
string
date-time
Time-dilation instance not found
Empty response
Delete a time-dilation instance by ID
Deletes a specific time-dilation instance.
projectId
string
required
timeDilationId
string
required
Response
Time-dilation instance deleted
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
Time-dilation instance not found
Empty response
Was this page helpful?