Returns the capacity of the specified user. The response includes the user's planning capacity.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Path parameters
userIdstringRequiredThe id of the user.
Responses
200 OK
application/json
userIdstringOptionalThe id of the user this capacity belongs to.
weeklyCapacityobjectOptionalShow 7 properties
monintegerOptionalThe user's capacity on Monday, in seconds.
tueintegerOptionalThe user's capacity on Tuesday, in seconds.
wedintegerOptionalThe user's capacity on Wednesday, in seconds.
thuintegerOptionalThe user's capacity on Thursday, in seconds.
friintegerOptionalThe user's capacity on Friday, in seconds.
satintegerOptionalThe user's capacity on Saturday, in seconds.
sunintegerOptionalThe user's capacity on Sunday, in seconds.
createdOnstringOptionalThe date this user capacity was created.
createdBystringOptionalThe id of the user who created this user capacity.
updatedOnstringOptionalThe date when this user capacity was last updated.
updatedBystringOptionalThe id of the user who updated the user capacity.
capacityPerWeekintegerOptionalDeprecatedThe capacity of the user per week, in seconds.
401 Unauthorized
application/json
codestringRequired1 The error code.
descriptionstringRequired1 The description of the error.
linkstringRequired1 The link to the API documentation page.
detailsarray of string or nullOptionalA list of details describing the error.
validationErrorsarray of object or nullOptionalIf a validation error occurred, this contains the validation errors for each property.
Show 2 properties
propertystring or nullOptionalThe name of the property that failed validation.
messagestring or nullOptionalThe reason why this property failed validation.
traceIdstring or nullOptionalThe request trace id for tracking the request.