Get resources
GET
/api/resources/list
Get all resources. Admin role is required.
Authorizations
bearerAuth
Bearer token using a JWT
Type
HTTP (Bearer)
Parameters
Query Parameters
query
Search text in resource (in resource data, AP actor or event)
Type
string
Example
"myevent"page
Get resources from this number of page.
Type
integer
Example
3pageSize
Number of resources in each page.
Type
integer
Example
10Responses
Filtered resources.
application/json
JSON "data": [ { "activitypub_id": "AP_ID", "createdAt": "2020-01-29T18:10:16.630Z", "updatedAt": "2020-01-30T22:42:14.789Z", "hidden": false, "data": { }, "apUserApId": "AP_USER_ID", "APUser": { "ap_id": "AP_USER_ID", "createdAt": "2020-01-29T18:10:16.630Z", "updatedAt": "2020-01-30T22:42:14.789Z", "follower": false, "following": false, "trusted": false, "blocked": false, "object": { }, "instanceDomain": "string", "instance": { "domain": "instance_domain.org", "name": "Instance Name", "blocked": false, "data": "string", "applicationActor": "string", "APUsers": [ { } ] }, "events": [ { "id": 1, "createdAt": "2020-01-29T18:10:16.630Z", "updatedAt": "2020-01-30T22:42:14.789Z", "title": "Event title", "status": "EventScheduled", "slug": "event-slug", "start_datetime": 1784109600, "end_datetime": 1784131200, "media": [ { "name": "Image name", "url": "6e599b27-5ed8-44c9-b954-53e9c6fa3c80.jpg", "height": 400, "width": 200, "size": 50000, "focalpoint": [ [ 0, 0 ] ] } ], "description": "Event description", "is_visible": true, "online_locations": [ [ "https://event.online", "https://eventalt.online" ] ], "recurrent": { "frequency": "1w", "type": "ordinal" }, "ld_signature": { "@context": "https://w3id.org/identity/v1", "creator": "http://localhost:13120/federation/u/relay#main-key", "created": "2026-07-01T21:07:49.103Z", "signatureValue": "SIGNATURE_KEY" }, "ap_object": { }, "likes": [ { } ], "boost": [ { } ], "ap_id": "AP_ID", "userId": 3, "user": { "id": 1, "email": "example@gancio.org", "description": "Example user", "is_active": true, "to_notify": true, "role": "user", "createdAt": "2020-01-29T18:10:16.630Z", "updatedAt": "2020-01-30T22:42:14.789Z" }, "parentId": 23, "parent": "[Circular Reference]", "children": [ { } ], "placeId": 23, "place": { "id": 20, "name": "Location name", "address": "Address", "ap_id": "AP_ID", "postal_address": { }, "latitude": 40.5574, "longitude": 8.3263, "createdAt": "2020-01-29T18:10:16.630Z", "updatedAt": "2020-01-30T22:42:14.789Z" }, "tags": [ { "tag": "event_tag", "normalizedTag": "event_tag", "events": [ { } ] } ], "apUserApId": "AP_USER_ID", "apUser": "[Circular Reference]", "messages": [ { "id": 12, "message": "A message for an event.", "author": "AUTHOR", "is_author_visible": true, "eventId": 3, "createdAt": "2020-01-29T18:10:16.630Z", "updatedAt": "2020-01-30T22:42:14.789Z" } ], "resources": [ { } ] } ], "resources": [ { } ] }, "eventId": 2, "event": { "id": 1, "createdAt": "2020-01-29T18:10:16.630Z", "updatedAt": "2020-01-30T22:42:14.789Z", "title": "Event title", "status": "EventScheduled", "slug": "event-slug", "start_datetime": 1784109600, "end_datetime": 1784131200, "media": [ { "name": "Image name", "url": "6e599b27-5ed8-44c9-b954-53e9c6fa3c80.jpg", "height": 400, "width": 200, "size": 50000, "focalpoint": [ [ 0, 0 ] ] } ], "description": "Event description", "is_visible": true, "online_locations": [ [ "https://event.online", "https://eventalt.online" ] ], "recurrent": { "frequency": "1w", "type": "ordinal" }, "ld_signature": { "@context": "https://w3id.org/identity/v1", "creator": "http://localhost:13120/federation/u/relay#main-key", "created": "2026-07-01T21:07:49.103Z", "signatureValue": "SIGNATURE_KEY" }, "ap_object": { }, "likes": [ { } ], "boost": [ { } ], "ap_id": "AP_ID", "userId": 3, "user": { "id": 1, "email": "example@gancio.org", "description": "Example user", "is_active": true, "to_notify": true, "role": "user", "createdAt": "2020-01-29T18:10:16.630Z", "updatedAt": "2020-01-30T22:42:14.789Z" }, "parentId": 23, "parent": "[Circular Reference]", "children": [ { } ], "placeId": 23, "place": { "id": 20, "name": "Location name", "address": "Address", "ap_id": "AP_ID", "postal_address": { }, "latitude": 40.5574, "longitude": 8.3263, "createdAt": "2020-01-29T18:10:16.630Z", "updatedAt": "2020-01-30T22:42:14.789Z" }, "tags": [ { "tag": "event_tag", "normalizedTag": "event_tag", "events": [ { } ] } ], "apUserApId": "AP_USER_ID", "apUser": "[Circular Reference]", "messages": [ { "id": 12, "message": "A message for an event.", "author": "AUTHOR", "is_author_visible": true, "eventId": 3, "createdAt": "2020-01-29T18:10:16.630Z", "updatedAt": "2020-01-30T22:42:14.789Z" } ], "resources": [ { } ] } } ], "count": 34, "totalPages": 4
{
}

