userCapacities

Returns the capacity of the specified user.

Changed on

Returns the capacity of the specified user. The response includes the user's planning capacity. <Check title="Required Permissions" icon="key">The user must have permission to access the requested resource.</Check>

get/users/{userId}/capacity

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/users/{userId}/capacity
  • Auth: HTTP bearer

Path parameters

userIdstring uuid required

The id of the user.

Response

OK

userIdstring uuid

The id of the user this capacity belongs to.

createdOnstring date-time

The date this user capacity was created.

createdBystring uuid

The id of the user who created this user capacity.

updatedOnstring date-time

The date when this user capacity was last updated.

updatedBystring uuid

The id of the user who updated the user capacity.

capacityPerWeekinteger

The capacity of the user per week, in seconds.

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      api operation id GetUserCapacityByUserId removed and replaced with userCapacities_GetUserCapacityByUserId