Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/stardog-permissions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
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 Specification
openapi: 3.2.0
info:
title: Stardog HTTP Permissions API
description: '# Overview
Stardog supports the standard SPARQL Protocol HTTP bindings, as well as additional functionality via HTTP.'
contact:
url: https://stardog.com
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0
version: 12.0.3
x-logo:
url: https://d33wubrfki0l68.cloudfront.net/66e9dcff51317cfc11b9f3d4ce2917a11ba81681/543c1/img/stardog-logo-optimized.svg
servers:
- url: http://localhost:5820
tags:
- name: Permissions
description: Operations on system permissions
paths:
/admin/permissions/user/{user}:
get:
tags:
- Permissions
summary: Get user permissions
description: Get all permissions assigned to a given user
operationId: getUserPermissions
parameters:
- name: user
$ref: '#/components/parameters/user'
responses:
'200':
$ref: '#/components/responses/PERMISSION_LIST'
'404':
description: User does not exist
content:
application/json:
schema:
required:
- message
- code
properties:
message:
type: string
example: User does not exist
code:
type: string
example: SERNF2
put:
tags:
- Permissions
summary: Add User Permission
description: Grant a permission directly to a specified user
operationId: addUserPermission
parameters:
- name: user
$ref: '#/components/parameters/user'
requestBody:
$ref: '#/components/requestBodies/PERMISSION'
responses:
'201':
description: Permission added
'400':
$ref: '#/components/responses/MALFORMED_REQUEST_400'
'404':
description: User does not exist
content:
application/json:
schema:
required:
- message
- code
properties:
message:
type: string
example: User does not exist
code:
type: string
example: SERNF2
/admin/permissions/effective/user/{user}:
get:
tags:
- Permissions
summary: Get effective user permissions
description: Get all permissions assigned to a given user as well as those granted by assigned roles
operationId: getEffectiveUserPermissions
parameters:
- name: user
$ref: '#/components/parameters/user'
responses:
'200':
$ref: '#/components/responses/PERMISSION_LIST'
'404':
description: User does not exist
content:
application/json:
schema:
required:
- message
- code
properties:
message:
type: string
example: User does not exist
code:
type: string
example: SERNF2
/admin/permissions/role/{role}/delete:
post:
tags:
- Permissions
summary: Delete Role Permission
description: Remove a permission from a given role
operationId: deleteRolePermission
parameters:
- name: role
$ref: '#/components/parameters/role'
requestBody:
$ref: '#/components/requestBodies/PERMISSION'
responses:
'201':
description: Permission removed
'400':
$ref: '#/components/responses/MALFORMED_REQUEST_400'
'404':
description: Role does not exist
content:
application/json:
schema:
required:
- message
- code
properties:
message:
type: string
example: Role does not exist
code:
type: string
example: SERNF2
/admin/permissions/user/{user}/delete:
post:
tags:
- Permissions
summary: Delete User Permission
description: Revoke a permission from a given user
operationId: deleteUserPermission
parameters:
- name: user
$ref: '#/components/parameters/user'
requestBody:
$ref: '#/components/requestBodies/PERMISSION'
responses:
'201':
description: Permission removed
'400':
$ref: '#/components/responses/MALFORMED_REQUEST_400'
'404':
description: User does not exist
content:
application/json:
schema:
required:
- message
- code
properties:
message:
type: string
example: User does not exist
code:
type: string
example: SERNF2
/admin/permissions/check:
get:
tags:
- Permissions
summary: Check User Permission
description: Check if the currently authenticated user has permission to perform an action on a resource, taking wildcards into account
operationId: checkUserPermission
responses:
'200':
description: Permission check result
'400':
$ref: '#/components/responses/MALFORMED_REQUEST_400'
/admin/permissions/role/{role}:
get:
tags:
- Permissions
summary: Get role permissions
description: Get all permissions attributed to a given role
operationId: getRolePermissions
parameters:
- name: role
$ref: '#/components/parameters/role'
responses:
'200':
$ref: '#/components/responses/PERMISSION_LIST'
'404':
description: Role does not exist
content:
application/json:
schema:
required:
- message
- code
properties:
message:
type: string
example: Role does not exist
code:
type: string
example: SERNF2
put:
tags:
- Permissions
summary: Add Role Permission
description: Add a permission to a specified role
operationId: addRolePermission
parameters:
- name: role
$ref: '#/components/parameters/role'
requestBody:
$ref: '#/components/requestBodies/PERMISSION'
responses:
'201':
description: Permission added
'400':
$ref: '#/components/responses/MALFORMED_REQUEST_400'
'404':
description: Role does not exist
content:
application/json:
schema:
required:
- message
- code
properties:
message:
type: string
example: Role does not exist
code:
type: string
example: SERNF2
components:
parameters:
user:
name: user
in: path
description: Username
required: true
schema:
type: string
role:
name: role
in: path
description: Role name
required: true
schema:
type: string
schemas:
GENERIC_RESPONSE_ERROR_MESSAGE:
required:
- message
properties:
message:
type: string
example: Unexpected end of file [L9]
code:
type: string
example: QEIVR2
PERMISSION:
required:
- action
- resource_type
- resource
properties:
action:
type: string
enum:
- read
- write
- create
- delete
- revoke
- grant
- execute
- all
resource_type:
type: string
enum:
- ALL
- USER
- ROLE
- ROLE_ASSIGNMENT
- PERMISSION
- DATABASE
- DATABASE_EXPORT
- NAMED_GRAPH
- DATA_SOURCE
- VIRTUAL_GRAPH
- DBMS_ADMIN
- DATABASE_METADATA
- DATABASE_ADMIN
- DATABASE_MODELING
- STORED_QUERY
- CACHE
- CACHE_TARGET
- SENSITIVE_PROPERTIES
- ENTITY_RESOLUTION
resource:
type: array
items:
type: string
PERMISSION_LIST:
required:
- permissions
properties:
permissions:
type: array
items:
$ref: '#/components/schemas/PERMISSION'
requestBodies:
PERMISSION:
content:
application/json:
schema:
$ref: '#/components/schemas/PERMISSION'
responses:
MALFORMED_REQUEST_400:
description: Malformed request body
content:
application/json:
schema:
$ref: '#/components/schemas/GENERIC_RESPONSE_ERROR_MESSAGE'
PERMISSION_LIST:
description: List of Permissions in system
content:
application/json:
schema:
$ref: '#/components/schemas/PERMISSION_LIST'
externalDocs:
url: https://docs.stardog.com
x-tagGroups:
- name: Data Unification
tags:
- Data Sources
- Virtual Graphs
- name: Virtual Graphs External Compute
tags:
- Virtual Graphs External Compute
- name: Server
tags:
- Monitoring
- Stored Functions
- Server Status/Metrics
- Server Admin
- Queries
- Cluster Admin
- name: Database
tags:
- Checkpoints
- DB Admin
- Integrity Constraints / SHACL
- Data Caching
- Graph Store Protocol
- Matcher, aligning schemas from various data sources
- Reasoning
- Transactions
- GraphQL
- SPARQL
- EntityResolution
- name: Security
tags:
- Roles
- Permissions
- Users
- name: Knowledge Catalog
tags:
- Knowledge Catalog