-
Notifications
You must be signed in to change notification settings - Fork 1
get api versions
Pongstr edited this page Mar 24, 2022
·
1 revision
title: 'Get API Versions' description: '' updated: '2022-03-13T01:07:39.542Z' group: 'API Version' breadcrumb: ['API Version'] author: 'RapidAPI'
Request Headers
X-RapidAPI-Key: 6176a4b1b7msh79f63eb622dd69cp1284cdjsn762fc4839b13
X-RapidAPI-Host: rAPIdAPI-graphqlAPI.p.rAPIdAPI.xyz
Content-Type: application/json; charset=utf-8
Cookie: jwt_auth=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Mzc5MTc0NSwibWFzaGFwZUlkIjoiNWY0NGM5YzMwOGNiMDIxMjNhODc3MWMzIiwib3JpZ2luX3NpdGUiOiJwbGF0Zm9ybS1hcGkiLCJpc05ld1VzZXIiOmZhbHNlLCJpc0F1dGhlbnRpY2F0ZWRCeVNTTyI6ZmFsc2UsImVtYWlsIjpudWxsLCJpYXQiOjE2NDcxMDQ2ODQsImV4cCI6MTY3ODY0MDY4NH0.0O6WT0z5x5CWbnDExjdca3UTWhrANZTyR3AnMS-sdyw; connect.sid=s%3AFRLLS9Tl-mDqOnaR4gsW17uQxc24CJHs.Wd2tZlhb9%2BFnZOHwsjcVQsgNJb%2F1NG6P0Ax0E3HiX8I
Request URL Parameters
Empty URL Parameters
GraphQL: Variables
{
"where": {
"APIId": ["API_8a2954de-d654-41da-8d29-6d71a46da559"]
},
"orderBy": {
"sortingFields": {
"fieldName": "NAME",
"by": "ASC"
}
},
"pagination": {
"first": 3
}
}GraphQL: Query
query (
$where: API VersionWhereInput
$orderBy: API VersionOrderByInput
$pagination: PaginationInput
) {
API Versions(where: $where, orderBy: $orderBy, pagination: $pagination) {
nodes {
id
API
current
description
longDescription
name
pricing
status
keywords
type
createdAt
updatedAt
visibility
APIInstance {
id
}
kafkaConfiguration {
kafkaConfiguration {
brokers
}
}
webhooks
websiteUrl
payloads {
id
}
accessControl {
secretParameters {
id
}
}
endpoints {
id
}
groups {
id
}
publicdns {
id
}
billingplans {
id
}
headlines {
id
}
billingitems {
id
}
billingitemendpoints {
id
}
publicBillingPlanVersions {
id
}
billingfeatures {
id
}
authentication {
id
}
targetGroup {
id
}
targetGroupId
transformations {
id
}
versionStatus
APISubType
certificateRecordAssignments {
API VersionId
}
}
edges {
node {
id
}
cursor
}
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}Response Headers
Request URL: https://rAPIdAPI-graphqlAPI.p.rAPIdAPI.xyz/
Status Code: HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Access-Control-Allow-Origin: *
Set-Cookie: jwt_auth=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Mzc5MTc0NSwibWFzaGFwZUlkIjoiNWY0NGM5YzMwOGNiMDIxMjNhODc3MWMzIiwib3JpZ2luX3NpdGUiOiJwbGF0Zm9ybS1hcGkiLCJpc05ld1VzZXIiOmZhbHNlLCJpc0F1dGhlbnRpY2F0ZWRCeVNTTyI6ZmFsc2UsImVtYWlsIjpudWxsLCJpYXQiOjE2NDYwNjEzOTgsImV4cCI6MTY3NzU5NzM5OH0.91369hfMsSQgPthjpRK1wr_2NGtZU3eaIZS5vvqMSb0; Max-Age=31536000; Path=/; Expires=Tue, 28 Feb 2023 15:16:38 GMT; HttpOnly; Secure; SameSite=Strict, connect.sid=s%3AFRLLS9Tl-mDqOnaR4gsW17uQxc24CJHs.Wd2tZlhb9%2BFnZOHwsjcVQsgNJb%2F1NG6P0Ax0E3HiX8I; Path=/; Expires=Tue, 28 Feb 2023 15:16:38 GMT; HttpOnly
Server: RapidAPI-1.2.8
X-Download-Options: noopen
X-Correlation-Id: 6e04ad57-553e-490a-a626-17d03490e8a6
X-XSS-Protection: 1; mode=block
X-RapidAPI-Region: AWS - us-east-1
Date: Mon, 28 Feb 2022 15:16:38 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-RapidAPI-Version: 1.2.8
Content-Length: 146
Connection: Close
X-Content-Type-Options: nosniff
Etag: W/"92-PEj6X3C9jUxHDLis0kWEa1MRd4E"
X-DNS-Prefetch-Control: off
X-Frame-Options: SAMEORIGIN
Response Body
{
"data": {
"API Versions": {
"nodes": [],
"edges": [],
"pageInfo": {
"hasNextPage": false,
"hasPreviousPage": false,
"startCursor": "MA==",
"endCursor": "LTE="
}
}
}
}