Grapes Knowledge Base Infrastructures API
The Infrastructures API from Grapes Knowledge Base — 2 operation(s) for infrastructures.
The Infrastructures API from Grapes Knowledge Base — 2 operation(s) for infrastructures.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/grapes-knowledge-base:grapes-knowledge-base-infrastructures-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Grapes Infrastructures API
version: v1
security:
- Bearer: []
tags:
- name: Infrastructures
paths:
/api/{version}/organizations/{orgId}/infrastructures:
get:
tags:
- Infrastructures
operationId: GetInfrastructures
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: searchQuery
in: query
schema:
type: string
- name: Skip
in: query
schema:
type: integer
format: int32
- name: Take
in: query
schema:
type: integer
format: int32
- name: version
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
content:
text/plain:
schema:
$ref: '#/components/schemas/InfrastructureDtoListItemResponse'
application/json:
schema:
$ref: '#/components/schemas/InfrastructureDtoListItemResponse'
text/json:
schema:
$ref: '#/components/schemas/InfrastructureDtoListItemResponse'
summary: Get infrastructures
x-summary-source: derived
post:
tags:
- Infrastructures
operationId: CreateInfrastructure
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: version
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateInfrastructureRequest'
text/json:
schema:
$ref: '#/components/schemas/CreateInfrastructureRequest'
application/*+json:
schema:
$ref: '#/components/schemas/CreateInfrastructureRequest'
responses:
'200':
description: OK
content:
text/plain:
schema:
$ref: '#/components/schemas/InfrastructureDtoItemResponse'
application/json:
schema:
$ref: '#/components/schemas/InfrastructureDtoItemResponse'
text/json:
schema:
$ref: '#/components/schemas/InfrastructureDtoItemResponse'
'400':
description: Validation failed
summary: Create infrastructure
x-summary-source: derived
/api/{version}/organizations/{orgId}/infrastructures/{id}:
get:
tags:
- Infrastructures
operationId: GetInfrastructureById
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: id
in: path
required: true
schema:
type: string
- name: includeConnectionString
in: query
schema:
type: boolean
default: false
- name: version
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
content:
text/plain:
schema:
$ref: '#/components/schemas/InfrastructureDtoItemResponse'
application/json:
schema:
$ref: '#/components/schemas/InfrastructureDtoItemResponse'
text/json:
schema:
$ref: '#/components/schemas/InfrastructureDtoItemResponse'
'404':
description: Infrastructure not found
summary: Get infrastructure by id
x-summary-source: derived
put:
tags:
- Infrastructures
operationId: UpdateInfrastructure
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: id
in: path
required: true
schema:
type: string
- name: version
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateInfrastructureRequest'
text/json:
schema:
$ref: '#/components/schemas/UpdateInfrastructureRequest'
application/*+json:
schema:
$ref: '#/components/schemas/UpdateInfrastructureRequest'
responses:
'200':
description: OK
content:
text/plain:
schema:
$ref: '#/components/schemas/InfrastructureDtoItemResponse'
application/json:
schema:
$ref: '#/components/schemas/InfrastructureDtoItemResponse'
text/json:
schema:
$ref: '#/components/schemas/InfrastructureDtoItemResponse'
'400':
description: Validation failed
'404':
description: Infrastructure not found
summary: Update infrastructure
x-summary-source: derived
delete:
tags:
- Infrastructures
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: id
in: path
required: true
schema:
type: string
- name: version
in: path
required: true
schema:
type: string
responses:
'400':
description: Validation failed
'404':
description: Infrastructure not found
summary: Delete api by version organizations by org id infrastructures by id
x-summary-source: derived
operationId: deleteApiByVersionOrganizationsByOrgIdInfrastructuresById
x-operation-id-source: derived
components:
schemas:
InfrastructureDtoItemResponse:
type: object
properties:
item:
$ref: '#/components/schemas/InfrastructureDto'
links:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/HateoasLink'
additionalProperties: false
CreateInfrastructureRequest:
type: object
properties:
connectionString:
type:
- string
- 'null'
name:
type:
- string
- 'null'
databaseType:
$ref: '#/components/schemas/DataBaseTypes'
readOnly:
type: boolean
additionalProperties: false
UpdateInfrastructureRequest:
type: object
properties:
id:
type:
- string
- 'null'
connectionString:
type:
- string
- 'null'
name:
type:
- string
- 'null'
databaseType:
$ref: '#/components/schemas/DataBaseTypes'
readOnly:
type: boolean
additionalProperties: false
InfrastructureDtoListItemResponse:
type: object
properties:
items:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/InfrastructureDtoItemResponse'
totalCount:
type: integer
format: int32
additionalProperties: false
DataBaseTypes:
enum:
- SqlServer
- MySql
type: string
HateoasLink:
type: object
properties:
relation:
type:
- string
- 'null'
uri:
type:
- string
- 'null'
method:
type:
- string
- 'null'
additionalProperties: false
InfrastructureDto:
type: object
properties:
id:
type:
- string
- 'null'
connectionString:
type:
- string
- 'null'
name:
type:
- string
- 'null'
databaseType:
$ref: '#/components/schemas/DataBaseTypes'
readOnly:
type: boolean
additionalProperties: false
securitySchemes:
Bearer:
type: oauth2
description: "JWT Authorization header using the Bearer scheme. \n\n Enter 'Bearer' [space] and then your token in the text input below.\n\nExample: \"Bearer 1safsfsdfdfd\""
x-provenance:
method: harvested
publisher: Grapes Knowledge Base
source: https://api.data-grapes.com/swagger/v1/swagger.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)