View .md

Activities endpoints (Client API: VDS)

1 FeatherPanel Client API: VDS endpoint from user/vds/activities.php: methods, paths, auth, permissions, rate limits, parameters and responses.

Last synced from FeatherPanel 15b94e9 on .

On this page

Defined in backend/app/routes/user/vds/activities.php. Authentication used here: VDS access. Read Authentication for how to send credentials and Rate limits and errors for the response envelope.

Paths, methods, permissions and rate limits come from the route file. Summaries, parameters and response codes come from the OpenAPI annotations on the controllers; endpoints without annotations show only what the route file declares.

Endpoints

GET/api/user/vm-instances/{id}/activities

Auth: VDS accessDefault rate limit: 30 / minuteRoute name: user-vm-instance-activitiesController: VmUserActivityController::getVmInstanceActivitiesroute source

Get VM instance activities Retrieve paginated activity log for this VM instance (power, subuser, etc.). Uses dedicated vm_instance_activities table.

ParameterInTypeRequiredDescription
idpathintegeryes
pagequeryintegerno
per_pagequeryintegerno
searchquerystringno
Response data fieldTypeDescription
activitiesUserVmInstanceActivity[]
paginationVmInstanceActivityPagination
curl -X GET "$PANEL_URL/api/user/vm-instances/$ID/activities" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

Responses: 200 Activities retrieved · 401 Unauthorized · 403 Forbidden · 404 VM instance not found