Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Contact support
cURL
curl --request GET \ --url http://localhost:3001/portal-api/access_requests \ --header 'Authorization: <api-key>'
import requests url = "http://localhost:3001/portal-api/access_requests" headers = {"Authorization": "<api-key>"} response = requests.get(url, headers=headers) print(response.text)
const options = {method: 'GET', headers: {Authorization: '<api-key>'}}; fetch('http://localhost:3001/portal-api/access_requests', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
<?php $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_PORT => "3001", CURLOPT_URL => "http://localhost:3001/portal-api/access_requests", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "Authorization: <api-key>" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
package main import ( "fmt" "net/http" "io" ) func main() { url := "http://localhost:3001/portal-api/access_requests" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "<api-key>") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
HttpResponse<String> response = Unirest.get("http://localhost:3001/portal-api/access_requests") .header("Authorization", "<api-key>") .asString();
require 'uri' require 'net/http' url = URI("http://localhost:3001/portal-api/access_requests") http = Net::HTTP.new(url.host, url.port) request = Net::HTTP::Get.new(url) request["Authorization"] = '<api-key>' response = http.request(request) puts response.read_body
[ { "Catalogue": "Public Catalogue", "Client": "Payment application", "CreatedAt": "2023-06-25 13:37", "UpdatedAt": "2023-06-25 13:37", "DeletedAt": "2023-06-25 13:37", "Plan": "Free plan", "User": "User#1", "AuthType": "authToken", "DCREnabled": false, "ID": 1, "ProvisionImmediately": true, "Status": "approved", "Products": "Payment API" } ]
List all access requests that exist in the portal
OK
Catalogue of API Products included in this access request
"Public Catalogue"
Name of the developer app
"Payment application"
Timestamp of when this access request was created
^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$
"2023-06-25 13:37"
Timestamp of when this access request was updated the last time
Timestamp of when this access request was removed
Name of a plan included in this access request
"Free plan"
Descriptor of a user to whom this access request belongs
"User#1"
Authentication type of APIs that are included in this API Product
"authToken"
Identifies if this access request was created using Dynamic client registration
false
UID of access request
1
Identifies if this access request was approved automatically
true
Approval status of this access request
approved
rejected
pending
Names of products included in this access request
"Payment API"
Was this page helpful?