BusUp Roles API
The Roles API from BusUp — 2 operation(s) for roles.
The Roles API from BusUp — 2 operation(s) for roles.
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/busup:busup-roles-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: BusUp Roles API
description: BusUp API version 2
contact:
email: christian@busup.com
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
version: 2.0.0
servers:
- url: http://api.busup.local/v2
tags:
- name: Roles
paths:
/roles:
get:
tags:
- Roles
summary: Find All the roles
description: Returns all the roles
operationId: index
parameters:
- name: filter.*.attribute
in: path
description: 'Filter Attribute. Ex: id'
required: true
schema:
type: array
items:
type: string
- name: filter.*.operator
in: path
description: 'Filter Operator. Ex: ='
required: true
schema:
type: array
items:
type: string
- name: filter.*.value
in: path
description: 'Filter Value. Ex: 1'
required: true
schema:
type: array
items:
type: string
- name: filter.*.scope
in: path
description: 'Filter Scope. Ex: local'
required: true
schema:
type: array
items:
type: string
- name: included
in: path
description: Include model relationships
required: true
schema:
type: string
- name: per_page
in: path
description: Load N entries per page
required: true
schema:
type: integer
- name: page
in: path
description: Load page N
required: true
schema:
type: integer
responses:
'200':
description: Successful operation
'401':
description: Unauthenticated
'404':
description: 'Not found: Model, Method or Relationship'
'500':
description: The action could not be completed
security:
- api_key: []
post:
tags:
- Roles
summary: Create Role
description: Return Role Created
operationId: Create
responses:
'201':
description: Successful operation
'401':
description: Unauthenticated
'422':
description: Invalid fields supplied
'500':
description: The action could not be completed
security:
- api_key: []
requestBody:
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
name:
type: string
description: The name of role
display_name:
type: string
description: The name of how it will displayed
description:
type: string
description: The description of role
role_id:
type: integer
description: The role father
admin:
type: integer
description: 'Temp: Mark as admin role'
user_id:
type: integer
description: The ID of the user that made the action
required:
- name
- display_name
- description
- role_id
- user_id
patch:
tags:
- Roles
summary: Update the Role
description: Updates a Role
operationId: UpdateRole
responses:
'200':
description: Successful operation
'401':
description: Unauthenticated
'422':
description: Invalid fields supplied
'500':
description: The action could not be completed
security:
- api_key: []
requestBody:
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
id:
type: integer
description: The ID of the Role
display_name:
type: string
description: The name of how it will displayed
description:
type: string
description: The description of role
role_id:
type: integer
description: The role father
admin:
type: integer
description: 'Temp: Mark as admin role'
user_id:
type: integer
description: The ID of the user that made the action
required:
- id
- user_id
/roles/{role}:
get:
tags:
- Roles
summary: Find a specific Role
description: Returns a specific Role
operationId: show
parameters:
- name: id
in: path
description: The ID of the Role
required: true
schema:
type: integer
- name: included
in: path
description: Include model relationships
required: true
schema:
type: string
responses:
'200':
description: Successful operation
'401':
description: Unauthenticated
'404':
description: 'Not found: Model or Relationship'
'500':
description: The action could not be completed
security:
- api_key: []