Skip to Content
Users

Get activity summary for a user

GET
/users/{user_id}/activity

Path Parameters

user_id*string

The numeric ID or URL Slug of a user.

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Response Body

Ok

application/json
  1. response
projects*

Total number of projects that user has access to, as owner or team member.

environments*

Total number of environments that user has access to, as owner or team member.

teams*

Total number of teams that user has access to, as owner or team member.

triggered_actions*
Example Request
curl -X GET 'https://api.devopness.com/users/johndoe/activity' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json'
Example Response
{  "projects": {    "owner_of": 4,    "member_of": 6  },  "environments": {    "owner_of": 4,    "member_of": 6  },  "teams": {    "owner_of": 4,    "member_of": 6  },  "triggered_actions": {    "summary": {      "count": 5,      "queued": 1,      "pending": 1,      "in_progress": 1,      "completed": 1,      "failed": 1    },    "operations": [      {        "resource_type": "server",        "action_type": "configure",        "resource_type_human_readable": "Server",        "action_type_human_readable": "Add",        "summary": {          "count": 5,          "queued": 1,          "pending": 1,          "in_progress": 1,          "completed": 1,          "failed": 1        }      }    ]  }}