Avetta Pegasus Scope User Scope Controller API
The pegasusScope_user-scope-controller API from Avetta — 7 operation(s) for pegasusscope_user-scope-controller.
The pegasusScope_user-scope-controller API from Avetta — 7 operation(s) for pegasusscope_user-scope-controller.
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/avetta:avetta-pegasusscope-user-scope-controller-api"
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.
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: 3.2.0
info:
title: Avetta Pegasus Scope User Scope Controller API
version: APSO-1355
x-logo:
url: avetta_logo.png
description: 'Operations tagged pegasusScope_user-scope-controller across 2 of this provider''s published API definitions: avetta-pegasus-dist.json, avetta-pegasus-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- description: EPE (Test Environment)
url: https://epe-onsitetrackeasy.com.au/onsite-rest
- description: Production
url: https://secure.onsitetrackeasy.com.au/onsite-rest
tags:
- name: pegasusScope_user-scope-controller
x-displayName: user-scope-controller
paths:
/api/v1/user/scope:
get:
tags:
- pegasusScope_user-scope-controller
operationId: getCurrentUserScopes
responses:
'200':
description: OK
content:
'*/*':
schema:
type: array
items:
$ref: '#/components/schemas/3.29.14_UserScopeHierarchyResource'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'401':
description: Unauthorized
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
security:
- 3.29.14_security_auth: []
3.29.14_security_apikey: []
summary: Get current user scopes
x-summary-source: derived
servers:
- description: EPE (Test Environment)
url: https://epe-onsitetrackeasy.com.au/onsite-rest
- description: Production
url: https://secure.onsitetrackeasy.com.au/onsite-rest
/api/v1/user/scope/{scopeId}:
get:
tags:
- pegasusScope_user-scope-controller
operationId: getUserPermissions
parameters:
- name: scopeId
in: path
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_UserPermissionResource'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'401':
description: Unauthorized
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
security:
- 3.29.14_security_auth: []
3.29.14_security_apikey: []
summary: Get user permissions
x-summary-source: derived
servers:
- description: EPE (Test Environment)
url: https://epe-onsitetrackeasy.com.au/onsite-rest
- description: Production
url: https://secure.onsitetrackeasy.com.au/onsite-rest
/api/v1/user/scope/{scopeId}/scopes:
get:
tags:
- pegasusScope_user-scope-controller
operationId: getCurrentUserScopes_1
parameters:
- name: scopeId
in: path
required: true
schema:
type: integer
format: int32
- name: withScopeSettings
in: query
required: false
schema:
type: boolean
default: false
responses:
'200':
description: OK
content:
'*/*':
schema:
type: array
items:
$ref: '#/components/schemas/3.29.14_ScopeHierarchyResource'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'401':
description: Unauthorized
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
security:
- 3.29.14_security_auth: []
3.29.14_security_apikey: []
summary: Get current user scopes 1
x-summary-source: derived
servers:
- description: EPE (Test Environment)
url: https://epe-onsitetrackeasy.com.au/onsite-rest
- description: Production
url: https://secure.onsitetrackeasy.com.au/onsite-rest
/api/v1/user/scope/{scopeId}/can-access:
get:
tags:
- pegasusScope_user-scope-controller
operationId: userCanViewScope
parameters:
- name: scopeId
in: path
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_BooleanResource'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'401':
description: Unauthorized
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
security:
- 3.29.14_security_auth: []
3.29.14_security_apikey: []
summary: User can view scope
x-summary-source: derived
servers:
- description: EPE (Test Environment)
url: https://epe-onsitetrackeasy.com.au/onsite-rest
- description: Production
url: https://secure.onsitetrackeasy.com.au/onsite-rest
/api/v1/user/scope/top-level-scopes:
get:
tags:
- pegasusScope_user-scope-controller
operationId: getCurrentUserTopLevelScopes
responses:
'200':
description: OK
content:
'*/*':
schema:
type: array
items:
$ref: '#/components/schemas/3.29.14_ScopeDetailResource'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'401':
description: Unauthorized
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
security:
- 3.29.14_security_auth: []
3.29.14_security_apikey: []
summary: Get current user top level scopes
x-summary-source: derived
servers:
- description: EPE (Test Environment)
url: https://epe-onsitetrackeasy.com.au/onsite-rest
- description: Production
url: https://secure.onsitetrackeasy.com.au/onsite-rest
/api/v1/user/scope/top-level-scope-summary:
get:
tags:
- pegasusScope_user-scope-controller
operationId: getViewableTopLevelScopesForUser
parameters:
- name: currentOnly
in: query
required: false
schema:
type: boolean
default: false
responses:
'200':
description: OK
content:
'*/*':
schema:
type: array
items:
$ref: '#/components/schemas/3.29.14_ScopeResource'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'401':
description: Unauthorized
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
security:
- 3.29.14_security_auth: []
3.29.14_security_apikey: []
summary: Get viewable top level scopes for user
x-summary-source: derived
servers:
- description: EPE (Test Environment)
url: https://epe-onsitetrackeasy.com.au/onsite-rest
- description: Production
url: https://secure.onsitetrackeasy.com.au/onsite-rest
/api/v1/user/scope/permissions:
get:
tags:
- pegasusScope_user-scope-controller
operationId: getUserPermissions_1
responses:
'200':
description: OK
content:
'*/*':
schema:
type: array
items:
$ref: '#/components/schemas/3.29.14_ScopePermissionResource'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'401':
description: Unauthorized
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
security:
- 3.29.14_security_auth: []
3.29.14_security_apikey: []
summary: Get user permissions 1
x-summary-source: derived
servers:
- description: EPE (Test Environment)
url: https://epe-onsitetrackeasy.com.au/onsite-rest
- description: Production
url: https://secure.onsitetrackeasy.com.au/onsite-rest
components:
schemas:
3.29.14_UserScopeHierarchyResource:
type: object
properties:
id:
type: integer
format: int32
name:
type: string
timezone:
type: string
fatigueLimit:
type: integer
format: int32
siteId:
type: integer
format: int32
realmId:
type: integer
format: int32
concoId:
type: integer
format: int32
type:
type: string
enum:
- SYSTEM
- REALM
- SITE
- LOCATION
- CONCO_WEB
- EMPLOYEE
- UNKNOWN
typeDisplayName:
type: string
ownerName:
type: string
connectAccountId:
type: string
connectClient:
type: boolean
parentId:
type: integer
format: int32
realm:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
site:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
conco:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
topLevel:
type: boolean
analyticsEnabled:
type: boolean
assessmentsEnabled:
type: boolean
broadcastingEnabled:
type: boolean
hideInviteToWorkerMobileAppInClientPortal:
type: boolean
displayIndividualTrainingPlanLinkInClientPortal:
type: boolean
firstNameMandatory:
type: boolean
lastNameMandatory:
type: boolean
genderMandatory:
type: boolean
includeGlobalCompetencyLibrary:
type: boolean
parentScopes:
type: array
items:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
childScopes:
type: array
items:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
defaultLocation:
type: boolean
3.29.14_ScopeHierarchyResource:
type: object
properties:
id:
type: integer
format: int32
name:
type: string
timezone:
type: string
fatigueLimit:
type: integer
format: int32
siteId:
type: integer
format: int32
realmId:
type: integer
format: int32
concoId:
type: integer
format: int32
type:
type: string
enum:
- SYSTEM
- REALM
- SITE
- LOCATION
- CONCO_WEB
- EMPLOYEE
- UNKNOWN
typeDisplayName:
type: string
ownerName:
type: string
connectAccountId:
type: string
connectClient:
type: boolean
parentId:
type: integer
format: int32
realm:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
site:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
conco:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
topLevel:
type: boolean
analyticsEnabled:
type: boolean
assessmentsEnabled:
type: boolean
broadcastingEnabled:
type: boolean
hideInviteToWorkerMobileAppInClientPortal:
type: boolean
displayIndividualTrainingPlanLinkInClientPortal:
type: boolean
firstNameMandatory:
type: boolean
lastNameMandatory:
type: boolean
genderMandatory:
type: boolean
includeGlobalCompetencyLibrary:
type: boolean
parentScopes:
type: array
items:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
childScopes:
type: array
items:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
3.29.14_UserSitePermissionResource:
type: object
properties:
site:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
defaultLocation:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
accessLevel:
type: string
enum:
- NO_ACCESS
- VIEWER_ACCESS
- EDITOR_ACCESS
privileges:
type: object
additionalProperties:
type: string
properties:
type: object
additionalProperties:
type: string
3.29.14_StatusType:
type: object
properties:
statusCode:
type: integer
format: int32
reasonPhrase:
type: string
3.29.14_ScopeDetailResource:
type: object
properties:
id:
type: integer
format: int32
name:
type: string
timezone:
type: string
fatigueLimit:
type: integer
format: int32
siteId:
type: integer
format: int32
realmId:
type: integer
format: int32
concoId:
type: integer
format: int32
type:
type: string
enum:
- SYSTEM
- REALM
- SITE
- LOCATION
- CONCO_WEB
- EMPLOYEE
- UNKNOWN
typeDisplayName:
type: string
ownerName:
type: string
connectAccountId:
type: string
connectClient:
type: boolean
parentId:
type: integer
format: int32
realm:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
site:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
conco:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
topLevel:
type: boolean
3.29.14_ScopePermissionResource:
type: object
properties:
scope:
$ref: '#/components/schemas/3.29.14_ScopeResource'
permissions:
type: array
items:
type: string
enum:
- LOG_PERSON_IN_OUT
- PERFORM_CARDHOLDER_ROLE_AUDIT
- SEARCH_BY_PERSON_DETAILS
- MOBILE_ACCESS
- ONSITE_ACCESS
- PERFORM_TOOLBOX_TALKS
- PERFORM_GLOBAL_SEARCH
- ASSETS_LOGIN_LOGOUT
- ASSETS_APPROVE
- MOBILE_ASSETS_ACCESS
- MANAGE_CREWS
- MANAGE_CARDHOLDER_MESSAGES
- MANAGE_CLASSROOM_TRAINING
- MANAGE_ONLINE_TRAINING
- MANAGE_ASSESSMENTS
- MANAGE_USERS
- ACCESS_FINANCIAL_REPORTS
- BLOCK_CARDHOLDERS
- LOGPOINT_MESSAGE_SENDER
- LOGPOINT_MESSAGE_MANAGER
- BROADCAST_MANAGER
- BROADCAST_EMAIL_SENDER
- BROADCAST_SMS_SENDER
- EDIT_CERT
- ASSIGN_CERT
- AUTHORISE_ASSIGNED_CERT
- EDIT_CERT_KEY
- ASSIGN_CERT_KEY
- EDIT_COMPETENCY
- ASSIGN_COMPETENCY
- EDIT_ACESS_KEY
- ASSIGN_ACCESS_KEY
- ASSOCIATE_CONTRACTORS
- ASSOCIATE_EMPLOYEES
- END_EMPLOYMENT
- PRINT_CARDS
- MANAGE_SAFETY_SELECTIONS
- VIEW_ALCOLIZER_RESULTS
- EDIT_SITE_SETTINGS
- ALERT_MANAGER
- LOGPOINT_MANAGER
- VIEW_FOREIGN_DATA
- REPRESENT_EMPLOYERS
- ANALYTICS_REPORT_ROLE
- VIEW_SMS_REVIEW_RESULTS
- EDIT_ADMIN_NOTES
- DOWNLOAD_FILES
- UPLOAD_FILES
- ACCESS_PRIVATE_DATA
- ACCESS_SENSITIVE_DATA
- EDIT_INCOMPLETE_ACTIONS
- PROCESS_ESCALATED_ACTIONS
- CREATE_CORRECTIVE_ACTIONS
- PROCESS_CORRECTIVE_ACTIONS
- ACTION_CORRECTIVE_ACTIONS
- VIEW_CORRECTIVE_ACTIONS
- PROCESS_PENDING_DATA
- PROCESS_PENDING_SMS_REVIEWS
- ENDORSE_PENDING_ASSESSMENTS
- MANAGE_MERGE_TEMPLATES
- PERFORM_ID_CHECKS
- IMPORT_DATA
- APPROVE_SITE_COMPS
- EDIT_REALM_SETTINGS
- REPRESENT_CONCOS_IN_OWN_PORTALS
- ASSIGN_ROLE
- EDIT_ROLE
- ASSIGN_TASK
- EDIT_TASK
- EDIT_CONCO_WEB_SETTINGS
- VIEW_MAINTENANCE_OF_COMPETENCY
- MANAGE_EMERGENCY_EVENTS
- SEND_SMS_FOR_EMERGENCY_EVENTS
- MANAGE_SOCIAL_SECURITY_NUMBER
- CAN_SELECT_GLOBAL_COMPETENCIES
3.29.14_KeyedIntegerResource:
type: object
properties:
id:
type: integer
format: int32
name:
type: string
3.29.14_ScopeResource:
type: object
properties:
id:
type: integer
format: int32
name:
type: string
timezone:
type: string
fatigueLimit:
type: integer
format: int32
siteId:
type: integer
format: int32
realmId:
type: integer
format: int32
concoId:
type: integer
format: int32
type:
type: string
enum:
- SYSTEM
- REALM
- SITE
- LOCATION
- CONCO_WEB
- EMPLOYEE
- UNKNOWN
typeDisplayName:
type: string
ownerName:
type: string
connectAccountId:
type: string
connectClient:
type: boolean
parentId:
type: integer
format: int32
3.29.14_FullErrorResource:
type: object
properties:
errorType:
type: string
enum:
- GENERAL_ERROR
- BAD_REQUEST
- FORBIDDEN
- UNAUTHORISED
- NO_ACCESS_TO_PORTAL
- INVALID_PASSWORD
- NOT_FOUND
- CONSTRAINT_VIOLATION
- VALIDATION_ERROR
- ALREADY_EXISTS
- DATA_MISMATCH
- NOT_AN_EMPLOYEE
- CANNOT_BE_TERMINATED
- TOO_MANY_FAILED_ATTEMPTS
- REQUIRED_FIELD_MISSING
- VERIFICATION_TOKEN_EXPIRED
- PURCHASE_ORDER_EXPIRED
- DUPLICATE_PAYMENT
- PAYMENT_ERROR
- CANNOT_BE_UPDATED
- PENDING_CARD_IN_PROGRESS
- CANNOT_ASSIGN
- INVALID_PERSON_STATE
error:
type: string
field:
type: string
problems:
type: array
items:
$ref: '#/components/schemas/3.29.14_Problem'
errorDetail:
type: string
3.29.14_ErrorResource:
type: object
properties:
errorType:
type: string
enum:
- GENERAL_ERROR
- BAD_REQUEST
- FORBIDDEN
- UNAUTHORISED
- NO_ACCESS_TO_PORTAL
- INVALID_PASSWORD
- NOT_FOUND
- CONSTRAINT_VIOLATION
- VALIDATION_ERROR
- ALREADY_EXISTS
- DATA_MISMATCH
- NOT_AN_EMPLOYEE
- CANNOT_BE_TERMINATED
- TOO_MANY_FAILED_ATTEMPTS
- REQUIRED_FIELD_MISSING
- VERIFICATION_TOKEN_EXPIRED
- PURCHASE_ORDER_EXPIRED
- DUPLICATE_PAYMENT
- PAYMENT_ERROR
- CANNOT_BE_UPDATED
- PENDING_CARD_IN_PROGRESS
- CANNOT_ASSIGN
- INVALID_PERSON_STATE
error:
type: string
field:
type: string
problems:
type: array
items:
$ref: '#/components/schemas/3.29.14_Problem'
3.29.14_BooleanResource:
type: object
properties:
value:
type: boolean
3.29.14_UserPermissionResource:
type: object
properties:
id:
type: integer
format: int32
firstName:
type: string
lastName:
type: string
emailAddress:
type: string
company:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
accessLevel:
type: string
enum:
- NO_ACCESS
- VIEWER_ACCESS
- EDITOR_ACCESS
privileges:
type: object
additionalProperties:
type: string
availableApps:
type: array
items:
$ref: '#/components/schemas/3.29.14_KeyedIntegerResource'
sitePrivileges:
type: array
items:
$ref: '#/components/schemas/3.29.14_UserSitePermissionResource'
userType:
type: string
enum:
- SITE
- EMPLOYEE
- SYSTEM
- CONCO_WEB
- UNICORN
- REALM
- SALES
- REPORTING
- ASSESSOR
- INTEGRATION
- SSO_INTEGRATION
- STYLE_SERVICE_INTEGRATION
userScope:
$ref: '#/components/schemas/3.29.14_ScopeDetailResource'
properties:
type: object
additionalProperties:
type: string
3.29.14_Problem:
type: object
properties:
instance:
type: string
format: uri
type:
type: string
format: uri
parameters:
type: object
additionalProperties:
type: object
detail:
type: string
title:
type: string
status:
$ref: '#/components/schemas/3.29.14_StatusType'
securitySchemes:
3.29.14_security_auth:
type: oauth2
scheme: Bearer
flows:
authorizationCode:
authorizationUrl: https://login.poweredbyonsite.com/cas/oidc/authorize
tokenUrl: https://login.poweredbyonsite.com/cas/oidc/accessToken
scopes:
pegasus: Pegasus Authentication Scope
3.29.14_security_apikey:
type: apiKey
name: api_key
in: header
x-refined-from:
- avetta-pegasus-dist.json
- avetta-pegasus-openapi.yml
x-tagGroups:
- name: Compliance
tags:
- Authentication
- Compliance
- name: Account
tags:
- Account
- name: Worksite Safety
tags:
- Worksite-Safety
- name: Deprecated Endpoints
tags:
- Deprecated Endpoints
- Error Handling