Ostrich Birdseye API (1.0.0)

Download OpenAPI specification:Download

API for Ostrich Birdseye

Get Docs

Retrieves this documentation

Responses

Get Auth Token

Generates a JWT from an API Key

Request Body schema: application/json
required

The API Key to generate a token for

apiKey
required
string

Responses

Request samples

Content type
application/json
{
  • "apiKey": "string"
}

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}

Get Business Units

Retrieves summary info for all business units for the authenticated token

Authorizations:
Bearer

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}

Get Business Unit

Retrieves the details for a specific business unit

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}

Get Assessments

Retrieves summaries of the assessments for a business unit

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}

Add Assessment

Adds a new assessment to a business unit

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit to add the assessment to

Request Body schema: application/json
required

The assessment data to create an assessment with. Note that dates need to be formatted exactly as the example shows.

required
object

Responses

Request samples

Content type
application/json
{
  • "assessment": {
    }
}

Response samples

Content type
application/json
{
  • "message": "string"
}

Get Assessment

Retrieves details of an assessment in a business unit

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

assessmentId
required
string

The ID of the assessment to retrieve details of

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}

Get evidences

Get evidences for an assessment

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

assessmentId
required
string

The ID of the assessment

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}

Save evidences

Saves evidences on an assessment

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

assessmentId
required
string

The ID of the assessment

Request Body schema: application/json
required

The list of evidences to save to the assessment.

required
Array of objects (saveEvidenceRequest)

Responses

Request samples

Content type
application/json
{
  • "evidences": [
    ]
}

Response samples

Content type
application/json
{
  • "message": "string"
}

Archive evidences

Archives evidences on an assessment

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

assessmentId
required
string

The ID of the assessment

Request Body schema: application/json
required

The list of evidence ids to archive on the assessment.

required
Array of objects (archiveEvidenceRequest)

Responses

Request samples

Content type
application/json
{
  • "evidences": [
    ]
}

Response samples

Content type
application/json
{
  • "message": "string"
}

Get findings

Gets findings on an assessment

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

assessmentId
required
string

The ID of the assessment

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}

Save findings

Saves findings on an assessment

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

assessmentId
required
string

The ID of the assessment

Request Body schema: application/json
required

The list of findings to save to the assessment. Duplicate aspectIds between findings are not allowed.

required
Array of objects (saveAspectTextMetadataRequest)

Responses

Request samples

Content type
application/json
{
  • "findings": [
    ]
}

Response samples

Content type
application/json
{
  • "message": "string"
}

Get notes

Gets notes on an assessment

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

assessmentId
required
string

The ID of the assessment

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}

Save notes

Saves notes on an assessment

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

assessmentId
required
string

The ID of the assessment

Request Body schema: application/json
required

The list of notes to save to the assessment. Duplicate aspectIds between notes are not allowed.

required
Array of objects (saveAspectTextMetadataRequest)

Responses

Request samples

Content type
application/json
{
  • "notes": [
    ]
}

Response samples

Content type
application/json
{
  • "message": "string"
}

Get Profiles

Retrieves the assessment profiles for a business unit

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

assessmentId
required
string

The ID of the assessment

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}

Get Scores

Retrieves the results for an assessment

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

assessmentId
required
string

The ID of the assessment

query Parameters
profileId
string

The ID of the profile to retrieve scores for

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}

Save Scores

Save scores on as assessment

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit that owns the assessment

assessmentId
required
string

The ID of the assessment to save scores on

Request Body schema: application/json
required

The list of scores to save to the assessment. Either "score" or "unknown" is required on each score, but both cannot be provided on a single score.

required
Array of objects (saveScoreRequest)

Responses

Request samples

Content type
application/json
{
  • "scores": [
    ]
}

Response samples

Content type
application/json
{
  • "message": "string"
}

Save Targets

Save targets on an assessment

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit that owns the assessment

assessmentId
required
string

The ID of the assessment to save targets on

Request Body schema: application/json
required

A list of targets to save to the assessment. Needs at least "target" or "weight" defined on each target. Both can be defined.

required
Array of objects (saveTargetRequest)

Responses

Request samples

Content type
application/json
{
  • "targets": [
    ]
}

Response samples

Content type
application/json
{
  • "message": "string"
}

Ignore or unignore questions

Sets ignore status on a list of questions

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit to ignore questions on

contentTypeId
required
string

The ID of the content type used for the questions

Request Body schema: application/json
required

A list of questions to save ignore status on

required
Array of objects (ignoredQuestionRequest)

Responses

Request samples

Content type
application/json
{
  • "ignoredQuestions": [
    ]
}

Response samples

Content type
application/json
{
  • "message": "string"
}

Get User

Retrieves the details of a user

Authorizations:
Bearer
path Parameters
userId
required
string

The ID of the user

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}

Get Assessment Content

Retrieves the content for an assessment

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

assessmentId
required
string

The ID of the assessment

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}

Get Scenario Families

gets all the scenario families in a business unit

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}

Get Scenario Family

gets a specific scenario family

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

scenarioFamilyId
required
string

Unique identifier for the scenario family.

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}

Get Scenarios

gets all the scenarios in a scenario family

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

scenarioFamilyId
required
string

Unique identifier for the scenario family.

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}

Get Scenario

gets a specific scenario

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

scenarioFamilyId
required
string

Unique identifier for the scenario family.

scenarioId
required
string

Unique identifier for the scenario.

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}

Retrieves UCF Common Control Ids for the assessment

Retrieves UCF Common Control Ids for the assessment if they've been generated

Authorizations:
Bearer
path Parameters
businessUnitId
required
string

The ID of the business unit

assessmentId
required
string

The ID of the assessment to retrieve details of

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "response": {
    }
}