Get all element add requests

GET {{baseUrl}}/network/private/network-entity/request/all

Gets a list requests to add elements to the [Private API Network]

Request Params

KeyDatatypeRequiredDescription
sincestringReturn only elements updated at and after this time, in ISO 8601 UTC format.
untilstringReturn only elements updated at and before this time, in ISO 8601 UTC format.
requestedBystringReturn a user's element requests by their user ID.
typestringFilter by the element type. One of: workspace, collection, api.
statusstringFilter by the request status. One of: pending, denied.
namestringReturn only elements whose name includes the given value. Matching is not case-sensitive.
sortstringSort the results by the name or updatedAt properties. If you use this query parameter, you must also use the direction parameter.
directionstringSort in ascending (asc) or descending (desc) order. Matching is not case-sensitive. If you use this query parameter, you must also use the sort parameter.
offsetstringThe zero-based offset of the first item to return. This value defaults to 0.
limitstringThe maximum number of elements to return. If the value exceeds the maximum value of 1000, then the system uses the 1000 value.

RESPONSES

status: OK

{"requests":[{"id":1,"createdBy":87654321,"createdAt":"2020-06-01T08:32:31.000Z","status":"pending","element":{"type":"api","id":"360b75f-447e-467c-9299-12fd3c92450d","name":"Test api","summary":"Test api summary"}},{"id":2,"createdBy":12345678,"createdAt":"2022-06-09T14:48:45.000Z","message":"Please approve this collection","status":"denied","element":{"type":"collection","id":"5360b75f-447e-467c-9299-12fd3c92450d","name":"Test Collection","summary":"This is a test collection."},"response":{"createdAt":"2020-06-01T08:32:31.000Z","createdBy":2272,"message":"Too many errors, please fix and resubmit"}}],"meta":{"limit":10,"offset":5,"totalCount":100}}