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.
openapi: 3.2.0
info:
title: 1komma5 Admin - Roles API
version: '1.0'
contact: {}
description: 'Operations tagged Admin - Roles across 2 of this provider''s published API definitions: 1komma5-admin-roles-api-openapi.yml, 1komma5-offer-tool-openapi-original.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://heartbeat.1komma5grad.com
description: Base URL reconciled from apis.yml
tags:
- name: Admin - Roles
paths:
/api/v1/admin/roles:
servers:
- url: https://heartbeat.1komma5grad.com
description: Base URL reconciled from apis.yml
get:
description: Returns roles filtered based on the current user's permissions. Super admins can assign all roles, while other users have restricted role assignment capabilities.
operationId: GetAssignableRolesController_getAssignableRoles_v1
parameters: []
responses:
'200':
description: List of assignable roles with metadata
content:
application/json:
schema:
$ref: '#/components/schemas/AssignableRolesResponseDto'
summary: Get list of roles the current user can assign
tags:
- Admin - Roles
components:
schemas:
RoleDto:
type: object
properties:
name:
type: string
description: Role name (database value)
example: sales
displayName:
type: string
description: Human-readable display name
example: Sales
category:
type: string
description: Role category - central or tenant level
example: tenant
enum:
- central
- tenant
required:
- name
- displayName
- category
AssignableRolesResponseDto:
type: object
properties:
roles:
description: List of roles the current user can assign
type: array
items:
$ref: '#/components/schemas/RoleDto'
required:
- roles
x-refined-from:
- 1komma5-admin-roles-api-openapi.yml
- 1komma5-offer-tool-openapi-original.json