Users
Get activity summary for a user
GET
user_id*stringThe numeric ID or URL Slug of a user.
Accept*stringapplication/json
Content-Type*stringapplication/json
Ok
application/json- 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*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 } } ] }}