Ana içeriğe geç

List RLCLs

Endpoint

GET /apiops/projects/{projectName}/rlcl/

Authentication

Requires a Personal API Access Token.

Authorization: Bearer YOUR_TOKEN

Request

Headers

HeaderValueRequired
AuthorizationBearer {token}Yes

Path Parameters

ParameterTypeRequiredDescription
projectNamestringYesProject name

Query Parameters

ParameterTypeRequiredDefaultDescription
withDetailsbooleanNofalseWhen true, every RLCL in the list is returned with its full configuration (metadata, attached credentials, endpoint rate limits, condition) instead of the summary fields only

Response

Success Response (200 OK) - Summary (default)

{
"status": "SUCCESS",
"resultList": [
{
"name": "PartnerLimits",
"description": "Rate limits for partner credentials",
"enabled": true
},
{
"name": "PublicLimits",
"description": null,
"enabled": false
}
],
"resultCount": 2
}

RLCLs are sorted by name in ascending order.

Success Response (200 OK) - With Details

When withDetails=true, each item additionally carries the full configuration. See Get RLCL for the complete field list and an example payload.

Error Response (401 Unauthorized)

{
"status": "FAILURE",
"resultMessage": "User not found!"
}

Error Response (400 Bad Request)

{
"status": "FAILURE",
"resultMessage": "Project (MyProject) is not found or user does not have privilege to access it!"
}

cURL Example

# Summary list
curl -X GET \
"https://demo.apinizer.com/apiops/projects/MyProject/rlcl/" \
-H "Authorization: Bearer YOUR_TOKEN"

# Full configuration of every RLCL
curl -X GET \
"https://demo.apinizer.com/apiops/projects/MyProject/rlcl/?withDetails=true" \
-H "Authorization: Bearer YOUR_TOKEN"

Notes and Warnings

  • Read-only: This endpoint does not modify anything and does not trigger a deployment
  • Payload size: withDetails=true returns every endpoint rate limit and every attached credential username of every RLCL. On projects with many RLCLs prefer the summary list and fetch details per RLCL with Get RLCL
  • Empty project: A project with no RLCLs returns resultList: [] and resultCount: 0, not an error

Permissions

  • User must have IDENTITY + VIEW permission in the project
  • Get RLCL - Get the full configuration of a single RLCL
  • Create RLCL - Create a new RLCL configuration
  • Update RLCL - Update an existing RLCL configuration