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/apptio:apptio-role-v1-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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:
contact: {}
license: {}
title: Apptio Role V1 API
description: Operations for Roles
tags:
- name: role-v1
description: Operations for Roles
paths:
/api/roles:
get:
tags:
- role-v1
summary: Get all Roles
description: 'Gets a list of Roles visible to the logged in User.
Optional Query Parameters:
applicationType: A comma separated list of ApplicationType names to filter the roles by.
showInternal: Boolean value on whether to show the full list of roles (including internal permissions/application types). Only useable by Service accounts. Defaults to false.
detailed: Boolean value on whether or not to show more detailed permissions. Defaults to false.
Returns:
List of Roles visible to logged in User.
Permissions:
No permissions are needed to READ Roles. If the logged in User is internal or a service account, all Roles can be READ. Otherwise, only external Roles can be READ.'
operationId: getRoles
parameters:
- name: applicationType
in: query
schema:
$ref: '#/components/schemas/StringSetParam'
- name: showInternal
in: query
schema:
type: boolean
- name: detailed
in: query
schema:
type: boolean
default: false
responses:
'200':
description: List all Roles
content:
application/json:
schema:
$ref: '#/components/schemas/Role'
/api/role:
put:
tags:
- role-v1
summary: Update a Role
description: 'Updates a Role. Requires Role name to find Role to update.
Any optional fields that are not specified will not be updated. To clear a field, submit an empty value.
JSON Parameters:
name: (Key) Name of the Role
description: (Optional) Description of the Role
permissions: (Optional) JSON array of Permission objects
applicationTypes: (Optional) JSON array of ApplicationType names. Replaces the Role''s ApplicationTypes. Cannot be empty
external: (Optional) Boolean flag to specify if the Role is external or internal
role_filtering: (Optional) FilterType specifying the type of role filtering
Returns:
Role object that was updated
Permissions:
To update a Role, the logged in User must have Frontdoor level permissions.
- manageRole allows for UPDATE of any Role'
operationId: updateRole
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Role'
required: true
responses:
'200':
description: Role Updated
content:
application/json:
schema:
$ref: '#/components/schemas/Role'
'400':
description: Invalid data submitted
'404':
description: Role specified does not exist
'403':
description: You don't have the required permissions to perform this operation.
post:
tags:
- role-v1
summary: Create a Role
description: 'Creates a Role with the specified name.
JSON Parameters:
name: Name of the Role
permissions: (Optional) JSON array of Permission objects. Defaults to an empty array of Permissions
description: (Optional) Description of the Role. Defaults to an empty description
external: (Optional) Boolean flag to specify if the Role is external or internal. Defaults to false
role_filtering: (Optional) FilterType specifying the type of role filtering
Returns:
Role object that was created
Constraints:
Role names must be unique
Permissions:
To create a Role, the logged in User must have Frontdoor level permissions.
- manageRole allows for CREATE of any Role'
operationId: createRole
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Role'
required: true
responses:
'201':
description: Role created
content:
application/json:
schema:
$ref: '#/components/schemas/Role'
'400':
description: Invalid data submitted
'403':
description: You don't have the required permissions to perform this operation.
delete:
tags:
- role-v1
summary: Delete a Role
description: 'Deletes a Role
Requires Role Name to find the Role to delete.
JSON Parameter:
name: (Key) the name of the Role
Constraints:
Role to be deleted must not be granted to any User(s) and Role must not be used by any SSO Config Role Mapping
Permissions:
To delete a Role, the logged in User must be part of any blueGroup tied to Role''s ApplicationType and have Frontdoor level permissions:
- for preprod: appOwnerManageAppTypesAndRoles
- for prod: manageRole'
operationId: deleteRole
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Role'
required: true
responses:
'204':
description: Role deleted
content:
application/json:
schema:
$ref: '#/components/schemas/Role'
'400':
description: Invalid data submitted
'403':
description: You do not have the required permissions to perform this operation
'404':
description: Role not found
/api/role/{name}:
get:
tags:
- role-v1
summary: Get Role by name
description: 'Gets the Role with the specified name.
URL Path Parameters:
name: Name of the Role to retrieve
Optional Query Parameters:
showInternal: Boolean value on whether to show the full role (including internal permissions/application types). Only useable by Service accounts. Defaults to false.
detailed: Boolean value on whether or not to show more detailed permissions. Defaults to false.
Returns:
Role object found
Permissions:
No permissions are needed to READ Roles. If the logged in User is internal or a service account, all Roles can be READ. Otherwise, only external Roles can be READ.'
operationId: getRole
parameters:
- name: name
in: path
required: true
schema:
maxLength: 50
minLength: 1
type: string
- name: showInternal
in: query
schema:
type: boolean
responses:
'200':
description: Requested Role
content:
application/json:
schema:
$ref: '#/components/schemas/Role'
'404':
description: Requested Role NOT found
'403':
description: You don't have the required permissions to perform this operation.
components:
schemas:
Role:
required:
- name
type: object
properties:
id:
type: string
format: uuid
name:
maxLength: 50
minLength: 1
type: string
permissions:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/Permission'
description:
type: string
external:
type: boolean
grantable_by:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/Role'
role_filtering:
type: string
roleAlwaysShown:
type: boolean
applicationTypes:
uniqueItems: true
type: array
items:
type: string
oauthSupportedScope:
type: string
enum:
- ROLE_ONLY
- ROLE_AND_SCOPE
Permission:
type: object
properties:
validBefore:
type: string
name:
maxLength: 80
minLength: 1
type: string
description:
type: string
validFrom:
type: string
applicationTypes:
uniqueItems: true
type: array
items:
type: string
external:
type: boolean
defaultRoleOnly:
type: boolean
StringSetParam:
type: object