Public Endpoints

The BeAPI Framework provides public endpoints for simplifying authentication/authorization. Below is a list of those endpoints and what each one does


Provided Endpoints

The Beapi Starter provides endpoints that are not visible in your project but can be called via API endpoints. These are also secured via IO State files (like all your other endpoints) but generally don't have to be changed. Below we go over each one of these and the endpoints provided...

APIDocs

These are the endpoints for accessing the apidocs. Pretty self explanatory

Endpoint Request Params Response Params
/{version}/apidoc/show *

Authorities/ROLES [ADMIN ONLY]

Since 'authorities' need to be added BUT can be a point of RISK, we maintain strict control of the endpoint in the starter. Below are the endpoints that are provided through the plugin:

Endpoint Request Params Response Params
/{version}/authority/create authority id, authority
/{version}/authority/list (List) id, authority

Connector [ADMIN ONLY]

The 'connector' controller provides a way to RELOAD your API RULES without restarting your servers.This allows you to apply changes to an IO State file and load it up to a server to update rules on the server and 'PUSH' all changes to subscribing services.

Endpoint Request Params Response Params
/{version}/connector/listFiles (List) filename
/{version}/connector/update *special *special

Application Properties [ADMIN ONLY]

This provides a way to report the existing application properties/state

Endpoint Request Params Response Params
/{version}/properties/getAll
  • attempts
  • procCores
  • documentationUrl
  • reservedUris
  • publicEndpoint
  • apichainLimit
  • chainingEnabled
  • batchingEnabled
  • encoding
  • iostateDir
  • staticEndpoint
  • serverType
  • supportedFormats
  • throttle
  • webhook
  • security
  • /{version}/properties/getProperties
  • attempts
  • procCores
  • documentationUrl
  • reservedUris
  • publicEndpoint
  • apichainLimit
  • chainingEnabled
  • batchingEnabled
  • encoding
  • iostateDir
  • staticEndpoint
  • serverType
  • supportedFormats
  • /{version}/properties/throttleProps
  • (Object) throttle
  • /{version}/properties/webhookProps
  • (Object) webhook
  • /{version}/properties/securityProps
  • (Object) security

  • Users

    These are the endpoints for User management. These are provided for managing all the users in your system.

    Endpoint Request Params Response Params
    /{version}/user/show
  • permitAll[]
  • ADMIN[id]
  • permitAll
    ADMIN
    /{version}/user/showById [ADMIN]
  • id
  • id
  • version
  • username
  • email
  • enabled
  • accountExpired
  • firstName
  • lastName
  • /{version}/user/getByUsername
  • permitAll[]
  • ADMIN[id]
  • id
  • version
  • username
  • email
  • enabled
  • accountExpired
  • firstName
  • lastName
  • /{version}/user/update [ADMIN]
  • permitAll[]
  • ADMIN[id]
  • id
  • version
  • username
  • email
  • enabled
  • accountExpired
  • firstName
  • lastName
  • passwordExpired
  • accountExpired
  • oauthProvider
  • accountLocked
  • password
  • oauthId
  • avatarUrl
  • /{version}/user/create permitAll[] / ADMIN[id]
  • id
  • version
  • username
  • email
  • enabled
  • accountExpired
  • firstName
  • lastName
  • passwordExpired
  • accountExpired
  • oauthProvider
  • accountLocked
  • password
  • oauthId
  • avatarUrl
  • /{version}/user/list [ADMIN]
  • id
  • version
  • username
  • email
  • enabled
  • accountExpired
  • firstName
  • lastName
  • /{version}/user/delete id id