Skip to content

Instantly share code, notes, and snippets.

@char0n
Last active November 3, 2023 09:34
Show Gist options
  • Save char0n/a261b1d022037682ea16b78a1a6d3b89 to your computer and use it in GitHub Desktop.
Save char0n/a261b1d022037682ea16b78a1a6d3b89 to your computer and use it in GitHub Desktop.
{
"openapi": "3.1.0",
"info": {
"title": "Deployed Resources",
"version": "1.0.0"
},
"servers": [
{"url": "https://ridagop.net"},
{"url": "/"}
],
"paths": {
"/api/dataverses/{identifier}/datasets": {
"post": {
"operationId": "createDatasetFromJsonLd",
"parameters": [
{
"name": "identifier",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"responses": {
"default": {
"description": "Default Response.",
"content": {
"*/*": {
"schema": {
"type": "object"
}
}
}
}
},
"security": [
{
"ApiKeyAuth": []
}
],
"servers": []
},
"servers": []
},
"/api/datasets/:persistentId/": {
"get": {
"operationId": "getDataset_2",
"parameters": [
{
"name": "persistentId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"default": {
"description": "Default Response.",
"content": {
"*/*": {
"schema": {
"type": "object"
}
}
}
}
},
"security": [
{
"ApiKeyAuth": []
}
],
"servers": []
},
"delete": {
"operationId": "deleteDataset",
"parameters": [
{
"name": "persistentId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"default": {
"description": "Default Response.",
"content": {
"*/*": {
"schema": {
"type": "object"
}
}
}
}
},
"servers": []
},
"servers": []
}
},
"components": {
"schemas": {},
"securitySchemes": {
"ApiKeyAuth": {
"type": "apiKey",
"in": "header",
"name": "X-Dataverse-key"
}
}
},
"uri": "openapi/dataverse_openapi.json",
"$$normalized": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment