API reference
Every route of the JSON API, written from AppWren's OpenAPI document for version 0.10.1. For sign-in, the shape of answers and errors, and how lists page, see The API. A running server gives the document itself at /api/openapi.json.
System#
GET /api/v1/health/live#
Is the server process running?
GET /api/v1/health/ready#
Can the server do its work?
The database answers and its schema is the one this version expects.
GET /api/v1/meta#
The product's name, version, and branding
What the web app needs before anyone signs in.
Signing in#
DELETE /api/v1/session#
Sign out
GET /api/v1/session#
Who is signed in
POST /api/v1/session#
Sign in with an email address and password
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
email | string | yes | |
password | string | yes |
POST /api/v1/session/demo#
Sign in as a sample person (demo installations only)
Only a demo organization has this, only for the sample people it names, and only from the machine it runs on unless the server was started with --demo-on-network.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
email | string | yes |
POST /api/v1/session/password#
Change your own password
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
current_password | string | ||
new_password | string | yes |
Single sign-on#
GET /api/v1/sso#
How single sign-on is set up
GET /api/v1/sso/callback#
Finish single sign-on
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
code | query | string | ||
state | query | string | ||
error | query | string |
POST /api/v1/sso/check#
Ask the identity provider whether it answers
Reads the provider's discovery document and signing keys, and says whether the client secret is set. Nothing is changed and nobody is signed in.
PUT /api/v1/sso/mappings#
Say which groups give which roles
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
mappings | list of MappingIn | yes |
GET /api/v1/sso/start#
Begin single sign-on
Sends the browser to the identity provider. It comes back to /sso/callback.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
next | query | string |
People and units#
GET /api/v1/accounts#
Find people
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Default: "". | |
status | query | string |
POST /api/v1/accounts#
Add a person
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
display_name | string | yes | |
email | string | yes | |
password | string | ||
roles | list of GrantBody | ||
title | string | ||
unit_ids | list of integer |
GET /api/v1/accounts/{account_id}#
One person
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
account_id | path | integer | yes |
PATCH /api/v1/accounts/{account_id}#
Change a person's details
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
account_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
display_name | string | ||
status | string | ||
time_zone | string | ||
title | string |
POST /api/v1/accounts/{account_id}/password#
Give a person a new password
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
account_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
new_password | string | yes |
PUT /api/v1/accounts/{account_id}/roles#
Set a person's roles
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
account_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
roles | list of GrantBody | yes |
PUT /api/v1/accounts/{account_id}/units#
Set the units a person works in
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
account_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
unit_ids | list of integer | yes |
POST /api/v1/imports/people#
Import people from CSV
Send the CSV as the request body. With dry_run (the default) nothing is changed.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
dry_run | query | boolean | Default: true. |
POST /api/v1/imports/units#
Import units from CSV
Send the CSV as the request body. With dry_run (the default) nothing is changed.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
dry_run | query | boolean | Default: true. |
GET /api/v1/roles#
The roles and what each allows
GET /api/v1/units#
The organization's units, as a list and as a tree
POST /api/v1/units#
Add a unit
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
above | boolean | Add it as the new top unit, with the current top unit beneath it | |
code | string | ||
kind | string | yes | |
name | string | yes | |
parent_id | integer |
GET /api/v1/units/{unit_id}#
One unit, with the units above it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
unit_id | path | integer | yes |
PATCH /api/v1/units/{unit_id}#
Rename, move, or close a unit
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
unit_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
code | string | ||
kind | string | ||
name | string | ||
parent_id | integer | ||
status | string |
Appearance#
GET /api/v1/admin/branding#
The branding, for editing
PUT /api/v1/admin/branding#
Change the product name, palette, and accent
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
accent | string | ||
accent_dark | string | ||
email_footer | string | ||
footer_links | list of object | ||
organization_name | string | ||
palette | string | yes | |
product_name | string | yes | |
score_ramp | string | ||
show_powered_by | boolean | ||
sign_in_message | string | ||
terms | object |
POST /api/v1/admin/branding/check#
How an accent color would read, before saving it
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
accent | string | yes | |
accent_dark | string |
DELETE /api/v1/admin/branding/images/{kind}#
Remove a logo or tab icon
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
kind | path | string | yes |
POST /api/v1/admin/branding/images/{kind}#
Upload a logo or tab icon
Send the image as the request body: PNG, JPEG, WebP, or SVG, up to 2 MB.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
kind | path | string | yes |
The inventory#
GET /api/v1/applications#
Find applications
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words in the name or reference | |
unit | query | integer | A unit, with those beneath it | |
owner | query | integer | An account named on it | |
mine | query | boolean | Only those I am named on Default: false. | |
sort | query | string | One of updated_at, name, ref, status, lifecycle, tier, sourcing, users, annual_cost; - descends Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string | ||
status | query | string | ||
lifecycle | query | string | ||
sourcing | query | string | ||
purpose | query | string | ||
pace | query | string | ||
domain | query | string | ||
tier | query | string | ||
hosting | query | string | ||
sign_in | query | string | ||
funding | query | string | ||
vendor_id | query | integer | A vendor's id | |
sensitivity | query | integer | The highest sensitivity of its data: 0 public to 3 restricted | |
data_class | query | string | A class of data, by its key | |
capability | query | string | A capability's reference: the applications that serve it | |
technology | query | string | A technology's reference: what is built on it (for an application, any of its components) | |
release | query | string | With technology, one of its releases by its cycle, such as 6.0; none for those that name no release | |
version | query | string | With technology, the exact version as recorded, or its start, such as 6.0.2 | |
maturity | query | string | ||
audience | query | string | A kind of people who use it wherever they work, by its key; everyone for those everyone in the organization uses | |
used_in | query | integer | A unit's id: what everyone in it uses, from the whole organization's, its own, and those of the units it is part of |
POST /api/v1/applications#
Add an application
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
accountable_id | integer | On adding: the accountable owner, if not yourself | |
aliases | list of string | ||
annual_cost | integer | ||
backup | string | ||
data_classes | list of string | ||
docs_url | string | ||
domain | string | ||
edition | string | ||
external_refs | list of ExternalRefBody | ||
external_users | boolean | ||
fields | object | The organization's own fields, by key | |
funding | string | ||
go_live | string | ||
grant_end | string | ||
grant_ref | string | ||
home_url | string | ||
hosting | string | ||
last_restore_test | string | ||
lifecycle | string | ||
lifecycle_since | string | ||
maintainers | integer | ||
monitoring | string | ||
name | string | ||
org_unit_id | integer | The unit that answers for it | |
pace | string | ||
product | string | ||
purpose | string | ||
records_retention | boolean | ||
regulated_record | boolean | ||
research_continuity | boolean | ||
restricted | boolean | ||
retire_planned | string | ||
sign_in | string | ||
sourcing | string | ||
status | string | active or retired | |
successor_id | string | ||
summary | string | ||
support_unit_id | integer | ||
tags | list of string | ||
tier | string | 1 (mission critical) to 5 (minimal) | |
users | integer | ||
vendor_id | string | ||
version | integer |
GET /api/v1/applications/{ref}#
One application, with what it is linked to
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/applications/{ref}#
Change an application
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
accountable_id | integer | On adding: the accountable owner, if not yourself | |
aliases | list of string | ||
annual_cost | integer | ||
backup | string | ||
data_classes | list of string | ||
docs_url | string | ||
domain | string | ||
edition | string | ||
external_refs | list of ExternalRefBody | ||
external_users | boolean | ||
fields | object | The organization's own fields, by key | |
funding | string | ||
go_live | string | ||
grant_end | string | ||
grant_ref | string | ||
home_url | string | ||
hosting | string | ||
last_restore_test | string | ||
lifecycle | string | ||
lifecycle_since | string | ||
maintainers | integer | ||
monitoring | string | ||
name | string | ||
org_unit_id | integer | The unit that answers for it | |
pace | string | ||
product | string | ||
purpose | string | ||
records_retention | boolean | ||
regulated_record | boolean | ||
research_continuity | boolean | ||
restricted | boolean | ||
retire_planned | string | ||
sign_in | string | ||
sourcing | string | ||
status | string | active or retired | |
successor_id | string | ||
summary | string | ||
support_unit_id | integer | ||
tags | list of string | ||
tier | string | 1 (mission critical) to 5 (minimal) | |
users | integer | ||
vendor_id | string | ||
version | integer |
PUT /api/v1/applications/{ref}/capabilities#
Say which capabilities it serves
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
capabilities | list of CapabilityLink | yes |
GET /api/v1/applications/{ref}/history#
What has happened to an application
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/applications/{ref}/links#
Link an application to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as depends_on |
to | string | yes | The reference of the record it reaches, such as APP-0003 |
DELETE /api/v1/applications/{ref}/links/{link_id}#
Remove a link
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
PUT /api/v1/applications/{ref}/people#
Name the people in each role
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind from application_roles; exactly one accountable |
PUT /api/v1/applications/{ref}/units#
Say which units use it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
units | list of integer | yes | The ids of the units that use it |
PUT /api/v1/applications/{ref}/use#
Say who uses it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
audiences | list of string | The kinds of people who use it wherever they work, as keys of the audiences list; left out when everyone in the organization does | |
external_users | boolean | People outside the organization use it too | |
org_wide | boolean | Everyone in the organization uses it | |
units | list of integer | The ids of the units that use it, everyone in them; left out when everyone in the organization does | |
users | integer | About how many people use it | |
version | integer | The version of the application the change was made against |
GET /api/v1/capabilities#
Find capabilities
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words in the name or reference | |
sort | query | string | One of updated_at, name, ref, status, position; - descends Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string | ||
status | query | string | ||
domain | query | string | ||
parent_id | query | integer | A broader capability's id |
POST /api/v1/capabilities#
Add a capability
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
domain | string | ||
external_refs | list of ExternalRefBody | ||
name | string | ||
parent_id | string | The broader capability's reference | |
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/capabilities/{ref}#
One capability, with what it is linked to
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/capabilities/{ref}#
Change a capability
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
domain | string | ||
external_refs | list of ExternalRefBody | ||
name | string | ||
parent_id | string | The broader capability's reference | |
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/capabilities/{ref}/history#
What has happened to a capability
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/capabilities/{ref}/links#
Link a capability to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as depends_on |
to | string | yes | The reference of the record it reaches, such as APP-0003 |
DELETE /api/v1/capabilities/{ref}/links/{link_id}#
Remove a link
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
GET /api/v1/capability-map#
Every capability as a tree, with what serves it
GET /api/v1/catalog#
What the program says about applications
The organization's own fields, what each lifecycle stage requires, the sensitive fields, the definition of an application, and the fields of every record type.
GET /api/v1/components#
Find components
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words in the name or reference | |
unit | query | integer | A unit, with those beneath it | |
sort | query | string | One of updated_at, name, ref, status, kind; - descends Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string | ||
status | query | string | ||
kind | query | string | ||
application_id | query | integer | An application's id | |
application | query | string | An application's reference: at either end | |
technology | query | string | A technology's reference: what is built on it (for an application, any of its components) | |
release | query | string | With technology, one of its releases by its cycle, such as 6.0; none for those that name no release | |
version | query | string | With technology, the exact version as recorded, or its start, such as 6.0.2 |
POST /api/v1/components#
Add a component
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
application_id | string | Its application's reference | |
external_refs | list of ExternalRefBody | ||
hosting | string | ||
kind | string | ||
name | string | ||
repo_url | string | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/components/{ref}#
One component, with what it is linked to
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/components/{ref}#
Change a component
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
application_id | string | Its application's reference | |
external_refs | list of ExternalRefBody | ||
hosting | string | ||
kind | string | ||
name | string | ||
repo_url | string | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/components/{ref}/history#
What has happened to a component
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/components/{ref}/links#
Link a component to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as depends_on |
to | string | yes | The reference of the record it reaches, such as APP-0003 |
DELETE /api/v1/components/{ref}/links/{link_id}#
Remove a link
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
PUT /api/v1/components/{ref}/technologies#
Say what a component is built on
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
technologies | list of TechnologyUse | yes |
GET /api/v1/contracts#
Find contracts
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words in the name or reference | |
sort | query | string | One of updated_at, name, ref, status, ends_on, annual_value; - descends Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string | ||
status | query | string | ||
vendor_id | query | integer | A vendor's id | |
auto_renews | query | boolean | true or false | |
data_agreement | query | string | ||
application | query | string | An application's reference: at either end | |
ending_within | query | integer | Contracts whose term ends within this many days |
POST /api/v1/contracts#
Add a contract
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
annual_value | integer | ||
auto_renews | boolean | ||
data_agreement | string | in_place, not_needed, missing | |
ends_on | string | ||
external_refs | list of ExternalRefBody | ||
licenses | integer | Licenses bought | |
name | string | ||
notice_days | integer | ||
number | string | ||
owner_id | integer | ||
starts_on | string | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
vendor_id | string | The vendor's reference | |
version | integer |
GET /api/v1/contracts/{ref}#
One contract, with what it is linked to
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/contracts/{ref}#
Change a contract
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
annual_value | integer | ||
auto_renews | boolean | ||
data_agreement | string | in_place, not_needed, missing | |
ends_on | string | ||
external_refs | list of ExternalRefBody | ||
licenses | integer | Licenses bought | |
name | string | ||
notice_days | integer | ||
number | string | ||
owner_id | integer | ||
starts_on | string | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
vendor_id | string | The vendor's reference | |
version | integer |
GET /api/v1/contracts/{ref}/history#
What has happened to a contract
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/contracts/{ref}/links#
Link a contract to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as depends_on |
to | string | yes | The reference of the record it reaches, such as APP-0003 |
DELETE /api/v1/contracts/{ref}/links/{link_id}#
Remove a link
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
GET /api/v1/deployments#
Find deployments
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words in the name or reference | |
sort | query | string | One of updated_at, name, ref, status, environment; - descends Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string | ||
status | query | string | ||
environment | query | string | ||
platform_id | query | integer | A hosting platform's id | |
application_id | query | integer | An application's id | |
component_id | query | integer | A component's id | |
application | query | string | An application's reference: at either end |
POST /api/v1/deployments#
Add a deployment
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
application_id | string | Its application's reference | |
component_id | string | One of its components, if not all | |
environment | string | ||
external_refs | list of ExternalRefBody | ||
name | string | ||
platform_id | string | A hosting platform's reference | |
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
url | string | ||
version | integer |
GET /api/v1/deployments/{ref}#
One deployment, with what it is linked to
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/deployments/{ref}#
Change a deployment
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
application_id | string | Its application's reference | |
component_id | string | One of its components, if not all | |
environment | string | ||
external_refs | list of ExternalRefBody | ||
name | string | ||
platform_id | string | A hosting platform's reference | |
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
url | string | ||
version | integer |
GET /api/v1/deployments/{ref}/history#
What has happened to a deployment
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/deployments/{ref}/links#
Link a deployment to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as depends_on |
to | string | yes | The reference of the record it reaches, such as APP-0003 |
DELETE /api/v1/deployments/{ref}/links/{link_id}#
Remove a link
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
GET /api/v1/funding-sources#
Find funding sources
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words in the name or reference | |
sort | query | string | One of updated_at, name, ref, status, kind, ends_on; - descends Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string | ||
status | query | string | ||
kind | query | string |
POST /api/v1/funding-sources#
Add a funding source
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
code | string | ||
ends_on | string | ||
external_refs | list of ExternalRefBody | ||
kind | string | From the funding vocabulary | |
name | string | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/funding-sources/{ref}#
One funding source, with what it is linked to
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/funding-sources/{ref}#
Change a funding source
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
code | string | ||
ends_on | string | ||
external_refs | list of ExternalRefBody | ||
kind | string | From the funding vocabulary | |
name | string | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/funding-sources/{ref}/history#
What has happened to a funding source
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/funding-sources/{ref}/links#
Link a funding source to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as depends_on |
to | string | yes | The reference of the record it reaches, such as APP-0003 |
DELETE /api/v1/funding-sources/{ref}/links/{link_id}#
Remove a link
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
GET /api/v1/hosting-platforms#
Find hosting platforms
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words in the name or reference | |
sort | query | string | One of updated_at, name, ref, status, kind; - descends Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string | ||
status | query | string | ||
kind | query | string | ||
vendor_id | query | integer | A vendor's id |
POST /api/v1/hosting-platforms#
Add a hosting platform
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
external_refs | list of ExternalRefBody | ||
kind | string | From the platform_kinds vocabulary | |
location | string | ||
name | string | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
vendor_id | string | The provider, by reference | |
version | integer |
GET /api/v1/hosting-platforms/{ref}#
One hosting platform, with what it is linked to
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/hosting-platforms/{ref}#
Change a hosting platform
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
external_refs | list of ExternalRefBody | ||
kind | string | From the platform_kinds vocabulary | |
location | string | ||
name | string | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
vendor_id | string | The provider, by reference | |
version | integer |
GET /api/v1/hosting-platforms/{ref}/history#
What has happened to a hosting platform
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/hosting-platforms/{ref}/links#
Link a hosting platform to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as depends_on |
to | string | yes | The reference of the record it reaches, such as APP-0003 |
DELETE /api/v1/hosting-platforms/{ref}/links/{link_id}#
Remove a link
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
GET /api/v1/initiatives#
Find initiatives
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words in the name or reference | |
unit | query | integer | A unit, with those beneath it | |
sort | query | string | One of updated_at, name, ref, status, starts_on, ends_on, stage; - descends Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string | ||
status | query | string | ||
kind | query | string | ||
stage | query | string | ||
owner_id | query | integer | ||
application | query | string | An application's reference: at either end |
POST /api/v1/initiatives#
Add an initiative
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
budget | integer | ||
ends_on | string | ||
external_refs | list of ExternalRefBody | ||
kind | string | From initiative_kinds | |
name | string | ||
org_unit_id | integer | The unit that answers for it | |
owner_id | integer | ||
stage | string | From initiative_stages | |
starts_on | string | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/initiatives/{ref}#
One initiative, with what it is linked to
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/initiatives/{ref}#
Change an initiative
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
budget | integer | ||
ends_on | string | ||
external_refs | list of ExternalRefBody | ||
kind | string | From initiative_kinds | |
name | string | ||
org_unit_id | integer | The unit that answers for it | |
owner_id | integer | ||
stage | string | From initiative_stages | |
starts_on | string | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/initiatives/{ref}/history#
What has happened to an initiative
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/initiatives/{ref}/links#
Link an initiative to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as depends_on |
to | string | yes | The reference of the record it reaches, such as APP-0003 |
DELETE /api/v1/initiatives/{ref}/links/{link_id}#
Remove a link
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
GET /api/v1/interfaces#
Find interfaces
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words in the name or reference | |
sort | query | string | One of updated_at, name, ref, status, method, frequency; - descends Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string | ||
status | query | string | ||
method | query | string | ||
frequency | query | string | ||
source_id | query | integer | The id of the application data comes from | |
target_id | query | integer | The id of the application data goes to | |
application | query | string | An application's reference: at either end | |
data_class | query | string | A class of data, by its key |
POST /api/v1/interfaces#
Add an interface
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
data_classes | list of string | ||
external_refs | list of ExternalRefBody | ||
frequency | string | ||
method | string | From the interface_methods vocabulary | |
name | string | ||
owner_id | integer | An account's id | |
source_id | string | The application data comes from | |
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
target_id | string | The application it goes to | |
version | integer |
GET /api/v1/interfaces/{ref}#
One interface, with what it is linked to
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/interfaces/{ref}#
Change an interface
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
data_classes | list of string | ||
external_refs | list of ExternalRefBody | ||
frequency | string | ||
method | string | From the interface_methods vocabulary | |
name | string | ||
owner_id | integer | An account's id | |
source_id | string | The application data comes from | |
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
target_id | string | The application it goes to | |
version | integer |
GET /api/v1/interfaces/{ref}/history#
What has happened to an interface
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/interfaces/{ref}/links#
Link an interface to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as depends_on |
to | string | yes | The reference of the record it reaches, such as APP-0003 |
DELETE /api/v1/interfaces/{ref}/links/{link_id}#
Remove a link
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
GET /api/v1/requests#
Find requests
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words in the name or reference | |
unit | query | integer | A unit, with those beneath it | |
sort | query | string | One of updated_at, name, ref, status, needed_by; - descends Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string | ||
status | query | string | ||
state | query | string | planned, open, or closed | |
capability_id | query | integer |
POST /api/v1/requests#
Add a request
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
capability_id | string | A capability's reference | |
external_refs | list of ExternalRefBody | ||
name | string | ||
needed_by | string | ||
org_unit_id | integer | The unit that asks | |
requested_by_id | integer | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
users_expected | integer | ||
version | integer |
GET /api/v1/requests/{ref}#
One request, with what it is linked to
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/requests/{ref}#
Change a request
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
capability_id | string | A capability's reference | |
external_refs | list of ExternalRefBody | ||
name | string | ||
needed_by | string | ||
org_unit_id | integer | The unit that asks | |
requested_by_id | integer | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
users_expected | integer | ||
version | integer |
GET /api/v1/requests/{ref}/history#
What has happened to a request
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/requests/{ref}/links#
Link a request to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as depends_on |
to | string | yes | The reference of the record it reaches, such as APP-0003 |
DELETE /api/v1/requests/{ref}/links/{link_id}#
Remove a link
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
GET /api/v1/reviews#
Find reviews
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words in the name or reference | |
unit | query | integer | A unit, with those beneath it | |
sort | query | string | One of updated_at, name, ref, status, held_on; - descends Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string | ||
status | query | string | ||
state | query | string | planned, open, or closed |
POST /api/v1/reviews#
Add a review
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
chair_id | integer | ||
external_refs | list of ExternalRefBody | ||
held_on | string | ||
name | string | ||
org_unit_id | integer | The unit it reviews | |
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
tiers | list of string | Only these tiers; empty for all | |
version | integer |
GET /api/v1/reviews/{ref}#
One review, with what it is linked to
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/reviews/{ref}#
Change a review
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
chair_id | integer | ||
external_refs | list of ExternalRefBody | ||
held_on | string | ||
name | string | ||
org_unit_id | integer | The unit it reviews | |
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
tiers | list of string | Only these tiers; empty for all | |
version | integer |
GET /api/v1/reviews/{ref}/history#
What has happened to a review
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/reviews/{ref}/links#
Link a review to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as depends_on |
to | string | yes | The reference of the record it reaches, such as APP-0003 |
DELETE /api/v1/reviews/{ref}/links/{link_id}#
Remove a link
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
GET /api/v1/scenarios#
Find scenarios
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words in the name or reference | |
sort | query | string | One of updated_at, name, ref, status; - descends Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string | ||
status | query | string |
POST /api/v1/scenarios#
Add a scenario
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
external_refs | list of ExternalRefBody | ||
name | string | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/scenarios/{ref}#
One scenario, with what it is linked to
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/scenarios/{ref}#
Change a scenario
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
external_refs | list of ExternalRefBody | ||
name | string | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/scenarios/{ref}/history#
What has happened to a scenario
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/scenarios/{ref}/links#
Link a scenario to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as depends_on |
to | string | yes | The reference of the record it reaches, such as APP-0003 |
DELETE /api/v1/scenarios/{ref}/links/{link_id}#
Remove a link
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
GET /api/v1/technologies#
Find technologies
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words in the name or reference | |
sort | query | string | One of updated_at, name, ref, status, kind, radar; - descends Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string | ||
status | query | string | ||
kind | query | string | ||
radar | query | string | ||
vendor_id | query | integer | A vendor's id |
POST /api/v1/technologies#
Add a technology
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
eol_key | string | ||
external_refs | list of ExternalRefBody | ||
homepage | string | ||
kind | string | ||
name | string | ||
radar | string | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
vendor_id | string | ||
version | integer |
GET /api/v1/technologies/{ref}#
One technology, with what it is linked to
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/technologies/{ref}#
Change a technology
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
eol_key | string | ||
external_refs | list of ExternalRefBody | ||
homepage | string | ||
kind | string | ||
name | string | ||
radar | string | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
vendor_id | string | ||
version | integer |
GET /api/v1/technologies/{ref}/history#
What has happened to a technology
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/technologies/{ref}/links#
Link a technology to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as depends_on |
to | string | yes | The reference of the record it reaches, such as APP-0003 |
DELETE /api/v1/technologies/{ref}/links/{link_id}#
Remove a link
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
PUT /api/v1/technologies/{ref}/releases#
A technology's releases and their support
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
releases | list of Release | yes |
GET /api/v1/vendors#
Find vendors
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words in the name or reference | |
sort | query | string | One of updated_at, name, ref, status, kind; - descends Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string | ||
status | query | string | ||
kind | query | string |
POST /api/v1/vendors#
Add a vendor
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
external_refs | list of ExternalRefBody | ||
kind | string | ||
name | string | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
version | integer | ||
website | string |
GET /api/v1/vendors/{ref}#
One vendor, with what it is linked to
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/vendors/{ref}#
Change a vendor
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
external_refs | list of ExternalRefBody | ||
kind | string | ||
name | string | ||
status | string | active or retired | |
summary | string | ||
tags | list of string | ||
version | integer | ||
website | string |
GET /api/v1/vendors/{ref}/history#
What has happened to a vendor
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/vendors/{ref}/links#
Link a vendor to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as depends_on |
to | string | yes | The reference of the record it reaches, such as APP-0003 |
DELETE /api/v1/vendors/{ref}/links/{link_id}#
Remove a link
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
GET /api/v1/vocabularies#
The lists of values records choose from
Assessment and scores#
GET /api/v1/applications/{ref}/assessments#
An application's assessments
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/applications/{ref}/assessments#
Answer the assessment
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
answers | object | yes | Each question's key: a level from 1 to 5, null for don't know, or {level, note} |
note | string |
GET /api/v1/applications/{ref}/confirmations#
Who has confirmed the record, and when
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/applications/{ref}/confirmations#
Confirm that the record is right
Anyone named on the application, its unit's stewards, and managers confirm that its record and its parts are right as of today (CUR-03).
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string |
POST /api/v1/applications/{ref}/score-preview#
What the scores would be
The scores these answers would give, from the same engine as the record. Nothing is saved.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
answers | object | yes | Each question's key: a level from 1 to 5, null for don't know, or {level, note} |
note | string |
GET /api/v1/applications/{ref}/scores#
An application's scores, with the working
Business value, technical health, cost and burden, and risk exposure; data confidence; the recommendation with the rule that produced it; the flags; and what would raise confidence. Anything a sensitive field would reveal is withheld from those who may not see it.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/questionnaire#
The current question bank
GET /api/v1/scoring-model#
The current scoring model
Decisions and the portfolio#
GET /api/v1/applications/{ref}/decisions#
An application's decisions
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/applications/{ref}/decisions#
Record what to do with it
A manager, or a leader of its unit, records a disposition with a rationale; never the application's own accountable owner. The scores as they are now are kept with it.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
disposition | string | yes | From the dispositions vocabulary |
rationale | string | yes | |
review_on | string | When to look again; a year by default | |
successor | string | The application its users move to; needed to consolidate | |
target_on | string | When it should be done |
GET /api/v1/portfolio-snapshots#
The portfolio snapshots taken
POST /api/v1/portfolio-snapshots#
Keep the portfolio's scores
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | yes | Such as 2026 Q4 review |
GET /api/v1/portfolio-snapshots/{ref}#
One portfolio snapshot
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/score-snapshots/{snapshot_id}#
A score as it was kept
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
snapshot_id | path | integer | yes |
The landscape, and cost#
PUT /api/v1/applications/{ref}/cost-lines#
Set an application's cost lines
Replaces the lines. Once an application has any, its annual cost is their sum. A line that names a contract makes the contract cover the application.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
lines | list of CostLineBody | yes |
GET /api/v1/applications/{ref}/costs#
What an application costs, line by line
Its cost lines, what they add up to by category, cost per user, and the contracts that cover it. withheld is true, and nothing else is given, for a reader who may not see its cost.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/applications/{ref}/impact#
What breaks if an application goes
What depends on it, directly and beyond; the interfaces that would stop; the capabilities left with no provider, or without their primary; and the people affected.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/capability-heat#
The capability map, measured
The capability tree, each capability with how many applications in service serve it, their average scores and confidence, and the technical health of the weakest.
PUT /api/v1/contracts/{ref}/applications#
Set the applications a contract covers
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
applications | list of CoveredBody | yes |
GET /api/v1/data-flows#
Where a class of data travels
How many interfaces carry each class of data; and, for the class chosen, every interface that carries it and every application that holds it. undeclared on an interface lists the classes it carries that the receiving application does not record.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
data_class | query | string | A class of data, by its key |
GET /api/v1/data-handling#
The applications that handle a class of data
How many applications in service handle each class of data; and, for the class chosen, each of them with its owner, sourcing, hosting, sign-in, technologies and their support, the interfaces that carry the class, and the standing of its data agreement. The same rows are exported by /exports/data-handling.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
data_class | query | string | A class of data, by its key |
GET /api/v1/graph/{ref}#
A record and what it is connected to, in groups
The neighbors of any record, grouped by what joins them: dependencies, interfaces, capabilities, components, technologies, and vendors. hidden counts those the reader may not see.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/history#
Every change, newest first, for those who read everything
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
actor | query | integer | An account's id | |
about | query | string | A record's reference | |
kind | query | string | A kind of record, records, or other | |
since | query | string | From this date, year-month-day | |
until | query | string | Up to and including this date | |
before | query | integer | The next of the page before |
POST /api/v1/imports/end-of-life#
Bring support dates in from a file
The body is one object: each product's key, with its list of release cycles (cycle, releaseDate, eol, extendedSupport, latest). A product is matched to the technology whose end-of-life key it is. Releases are added and dates updated; nothing is removed.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
dry_run | query | boolean | Say what would change, and change nothing Default: true. |
GET /api/v1/lifecycle#
Technology releases to their end of support
The releases in use, soonest end of support first, each with how many components and applications are on it; and the applications with a planned retirement.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
every | query | boolean | Releases nothing runs on as well Default: false. |
GET /api/v1/overlap#
Capabilities served more than once
Every capability with more than one application in service, its applications side by side with their scores, recommendation, decision, users, and cost where the reader may see it. filters on each gives the same applications from /portfolio.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
unit | query | integer | A unit, with those beneath it | |
domain | query | string |
GET /api/v1/radar#
The technologies in use, by ring
Keeping current#
POST /api/v1/accounts/{account_id}/hand-over#
Pass everything a person holds on
Each role on each record, each contract and interface owned, each open task, and each pending campaign item goes to one person, in one step.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
account_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
to | integer | yes | The account to pass everything to |
GET /api/v1/accounts/{account_id}/holdings#
Everything a person holds
The records they are named on, the contracts and interfaces they own, their open tasks, and what open campaigns still ask of them.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
account_id | path | integer | yes |
GET /api/v1/applications/{ref}/contests#
Contests of an application's scores
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/applications/{ref}/contests#
Say one factor is wrong, and why
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
evidence_url | string | ||
factor | string | The factor's key | |
level_claimed | integer | What it should be, 1 to 5 | |
note | string |
GET /api/v1/campaigns#
Campaigns, newest first, with their progress
POST /api/v1/campaigns#
Start a campaign
Makes an item for each application in service in the unit and beneath it, of the tiers and stages named, and tells each person asked once, with a count.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
due_on | string | The date it is due by | |
kind | string | confirm or assess | |
message | string | ||
name | string | ||
org_unit_id | integer | Omit for the whole organization | |
stages | list of string | Only these stages; all if empty | |
tiers | list of string | Only these tiers; all if empty |
POST /api/v1/campaigns/preview#
What a campaign would ask, and of whom
How many applications it would cover and how many people it would ask, and which applications have nobody to ask. Nothing is saved.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
due_on | string | The date it is due by | |
kind | string | confirm or assess | |
message | string | ||
name | string | ||
org_unit_id | integer | Omit for the whole organization | |
stages | list of string | Only these stages; all if empty | |
tiers | list of string | Only these tiers; all if empty |
GET /api/v1/campaigns/{ref}#
A campaign, its coverage by unit, and its items
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
unit | query | string | Only this unit's items | |
status | query | string | pending, done, or excused | |
mine | query | boolean | Only what was asked of you Default: false. |
POST /api/v1/campaigns/{ref}/cancel#
Cancel a campaign
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/campaigns/{ref}/close#
Close a campaign, keeping what it found
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/campaigns/{ref}/items/{item_id}/excuse#
Excuse one application, with a reason
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
item_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
reason | string |
POST /api/v1/campaigns/{ref}/remind#
Remind whoever still owes something
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/contests#
Contests waiting for your answer
POST /api/v1/contests/{contest_id}/answer#
Accept a contest, or answer it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
contest_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
accept | boolean | yes | |
answer | string |
GET /api/v1/search#
One search across every kind of record
Grouped by kind, the best answer first. It finds only what the searcher may open, because it asks each kind's own list.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | A name, a reference, or a few words Default: "". | |
type | query | string | Only this kind of record | |
limit | query | integer | How many of each kind Default: 6. |
GET /api/v1/similar-applications#
Applications a new one may be already
Those already on record whose name or alias is close to this name or its aliases, or that are the same product from the same vendor (INV-15).
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
name | query | string | Default: "". | |
aliases | query | string | Other names it goes by, separated by commas Default: "". | |
vendor | query | string | A vendor's reference | |
product | query | string | ||
except | query | string | This one's reference |
GET /api/v1/tasks#
Tasks: open ones by default
Each person sees their own tasks; stewards, leaders, and managers those about the applications in their units; those who read everything, all of them.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
status | query | string | open, done, dismissed, or all | |
kind | query | string | ||
mine | query | boolean | Only yours Default: false. | |
unassigned | query | boolean | Only those with nobody to do them Default: false. |
GET /api/v1/tasks/{task_id}#
One task
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
task_id | path | integer | yes |
POST /api/v1/tasks/{task_id}/close#
Mark a task done, or dismiss it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
task_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
how | string | done, or dismissed | |
note | string |
GET /api/v1/views#
Your saved views, and the shared ones
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
path | query | string |
POST /api/v1/views#
Save a list's filters under a name
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | ||
path | string | The list: /applications | |
query | string | Its filters | |
shared | boolean |
DELETE /api/v1/views/{view_id}#
Delete a saved view
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
view_id | path | integer | yes |
PATCH /api/v1/views/{view_id}#
Rename, change, or share a saved view
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
view_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | ||
path | string | The list: /applications | |
query | string | Its filters | |
shared | boolean |
Reports, imports, and exports#
GET /api/v1/dashboard#
Where the portfolio stands
Each figure carries the filters of the list that produces it, so it can only open exactly what it counted (RPT-03).
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
unit | query | integer | A unit, with those beneath it | |
domain | query | string |
GET /api/v1/data-quality#
How much of the portfolio can be trusted
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
unit | query | integer | A unit, with those beneath it |
GET /api/v1/exports/{kind}#
A list, as filtered, as CSV or JSON
kind is applications, components, vendors, technologies, capabilities, or portfolio. Every other parameter is a filter that list takes. What comes back is what the asker may see, and taking it is recorded in the history.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
kind | path | string | yes | |
format | query | string | csv or json Default: "csv". |
GET /api/v1/home#
What the signed-in person owes
POST /api/v1/imports/applications#
Bring applications in from a CSV file
Rows with a reference that is on record update that application; others are added. A dry run reports every problem by row; nothing is loaded unless every row can be.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
dry_run | query | boolean | Check everything and keep nothing Default: true. | |
mapping | query | string | JSON: which column holds each field, where headings differ |
GET /api/v1/imports/applications/fields#
What a file of applications may hold
GET /api/v1/portfolio#
Every application with its scores and decision
The applications the person may see, each with its scores, recommendation, decision, flags, and what its record lacks; cost is withheld from those who may not see it. Filters: unit, lifecycle, sourcing, domain, tier; and, worked out from the scores, recommendation, decision (none for undecided), flag, confidence_min, confidence_max, eol (past or ending), quality, unit_only, mismatch, decided, review_due, and in_service.
Scheduled work, email, and notices#
GET /api/v1/jobs#
Scheduled work, and how its recent runs went
PUT /api/v1/jobs/{key}#
Pause or resume one job
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
enabled | boolean | yes |
POST /api/v1/jobs/{key}/run#
Run one job now
Runs the job at once, whether or not it is due, and says what it did. If another process is running it at this moment, nothing is run and the answer says so.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
GET /api/v1/mail#
How email is set up, and how it is doing
POST /api/v1/mail/test#
Send yourself a test message
Sends one message to your own address, now, and says whether the mail server took it.
GET /api/v1/notices#
What is nearly due for you, or has been asked of you
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
unread | query | boolean | Default: false. |
GET /api/v1/notices/count#
How many of your notices are unread
POST /api/v1/notices/read#
Mark notices as read
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
ids | list of integer | Omit to mark every notice read |
GET /api/v1/session/preferences#
How you want to be told
PUT /api/v1/session/preferences#
Say how you want to be told
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
email_notices | string | yes |
Facts from other systems#
GET /api/v1/connectors#
The kinds of source, and the connectors set up
POST /api/v1/connectors#
Add a connector, switched off
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
credential_env | string | The environment variable that holds the credential; never the credential | |
enabled | boolean | ||
every_hours | integer | ||
key | string | A short key, for a new one | |
kind | string | The kind, for a new one | |
name | string | ||
settings | object |
GET /api/v1/connectors/{key}#
A connector, and its recent runs
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
PATCH /api/v1/connectors/{key}#
Change a connector, or switch it on or off
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
credential_env | string | The environment variable that holds the credential; never the credential | |
enabled | boolean | ||
every_hours | integer | ||
key | string | A short key, for a new one | |
kind | string | The kind, for a new one | |
name | string | ||
settings | object |
POST /api/v1/connectors/{key}/check#
Whether the source answers
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
POST /api/v1/connectors/{key}/run#
Run a connector now
Reads the source and writes what it read, or, if anything fails, writes nothing. The run is recorded either way.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
GET /api/v1/discovered#
Applications a source knows that are not on record
Those listed and waiting (show=new, the default), dismissed, added, or all.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
show | query | string | Default: "new". |
POST /api/v1/discovered/{item_id}/add#
Add it as an application
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
item_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | Its name, if not the source's | |
org_unit_id | integer | The unit that answers for it |
POST /api/v1/discovered/{item_id}/dismiss#
It is not kept on record, and why
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
item_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
reason | string |
POST /api/v1/discovered/{item_id}/restore#
List a dismissed one again
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
item_id | path | integer | yes |
POST /api/v1/facts#
Post facts, with a push key
For a script holding a push key, sent as Authorization: Bearer <key>. Each fact is kept with the key's name as its source. The batch is checked whole first: one bad fact and nothing is written, with each problem named by its place in the list.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
facts | list of values | Each with record (a reference), field, value, and optionally observed_at (a date and time with its zone) and release (for a technology's release) |
GET /api/v1/maturity#
Engineering maturity by unit
How many applications are at each level under each unit below unit (the whole organization by default). Each count includes the units below, as the list does.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
unit | query | integer |
GET /api/v1/maturity/{ref}#
An application's or a component's engineering maturity
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/push-keys#
Push keys, issued and revoked
POST /api/v1/push-keys#
Issue a push key, shown this once
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | The tool that will post with it |
DELETE /api/v1/push-keys/{key_id}#
Revoke a push key
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key_id | path | integer | yes |
GET /api/v1/sourced/{ref}#
What sources supply for a record
Each value with its source and when it was read, and any override with its reason. For a technology, its releases' values too.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
DELETE /api/v1/sourced/{ref}/{field}/override#
Use the source's value again
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
field | path | string | yes | |
release | query | string |
POST /api/v1/sourced/{ref}/{field}/override#
Override a sourced value, with why
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
field | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
reason | string | ||
release | string | For a technology: the release the field is of | |
value |
Catalog files#
GET /api/v1/applications/{ref}/catalog#
An application and its components, as a catalog file
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/applications/{ref}/catalog#
Bring a catalog file into an application and its components
Send the file as the request body. Only what it says is changed; nothing is removed.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
dry_run | query | boolean | Say what would change, and keep nothing Default: true. |
Planning change#
DELETE /api/v1/applications/{ref}/retirement#
Cancel its retirement plan
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/applications/{ref}/retirement#
An application's retirement plan
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/applications/{ref}/retirement#
Start its retirement plan
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
planned_on | string | To be retired by: YYYY-MM-DD |
POST /api/v1/applications/{ref}/retirement/complete#
Retire it, every step done
Retires the application and keeps its annual cost then as the savings.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/applications/{ref}/retirement/steps/{step}#
Mark a step done, or not
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
step | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
done | boolean | ||
note | string |
PUT /api/v1/initiatives/{ref}/applications#
Say which applications it changes
Replaces the applications it names, each with what it does to it. One the person may not see is left as it was.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
applications | list of InitiativeApplicationBody | yes |
POST /api/v1/requests/{ref}/approve#
Approve it: add a proposed application
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
application | string | To say it is met: by which | |
name | string | To approve: its name | |
reason | string |
POST /api/v1/requests/{ref}/decline#
Decline it, with why
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
application | string | To say it is met: by which | |
name | string | To approve: its name | |
reason | string |
POST /api/v1/requests/{ref}/meet#
Say an application on record meets it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
application | string | To say it is met: by which | |
name | string | To approve: its name | |
reason | string |
PUT /api/v1/requests/{ref}/options#
The ways to meet a request
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
options | list of OptionBody | yes |
GET /api/v1/retirements#
Retirements under way and done, with the savings
POST /api/v1/reviews/{ref}/close#
Close the review, keeping what was decided
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/reviews/{ref}/draw#
Draw the agenda from the review's scope
Adds the applications in scope whose decision differs from today's recommendation, whose decision is due for review by the review's date, or that have no decision. What is already on the agenda stays.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/reviews/{ref}/items#
Put an application on the agenda
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
application | string | yes | The application's reference |
note | string | What to decide |
DELETE /api/v1/reviews/{ref}/items/{item_id}#
Take an application off the agenda
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
item_id | path | integer | yes |
POST /api/v1/reviews/{ref}/open#
Open the review
From now until it is closed, a decision recorded for an application on the agenda is shown on its item.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/roadmap#
Initiatives on a timeline
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
unit | query | integer | A unit, with those beneath it | |
kind | query | string | From initiative_kinds | |
stage | query | string | From initiative_stages | |
closed | query | boolean | Include those done or cancelled Default: false. |
Insight#
GET /api/v1/applications/{ref}/as-of#
An application as it stood on a day
Each of its values at the end of that day beside its value now, its decision then, and its scores in the nearest portfolio snapshot taken on or before it.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
on | query | string | yes | The day, YYYY-MM-DD, today or earlier |
GET /api/v1/applications/{ref}/score-history#
An application's scores over time
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/as-of#
The portfolio as it stood on a day
The applications in service at the end of that day, each with its stage, unit, tier, and decision then, beside its stage and decision now. Read from the history.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
on | query | string | yes | The day, YYYY-MM-DD, today or earlier |
GET /api/v1/reports#
Leadership reports, the latest period first
POST /api/v1/reports#
Make a leadership report for a period
Works the report out from the records as they are now, and keeps it whole. Reopening it reads what was kept.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
period_from | string | yes | The first day of the period, YYYY-MM-DD |
period_to | string | yes | Its last day, today or earlier |
title | string | yes | What the report is called |
GET /api/v1/reports/{ref}#
A leadership report, as it was made
The report as stored, with its digest and whether it still matches.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/scenarios/{ref}/changes#
Say what a scenario would change
Replaces the applications it names, each retired, consolidated into another, or replaced by another. Its effect is worked out again. No application changes.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
changes | list of ScenarioChangeBody | yes |
POST /api/v1/scenarios/{ref}/initiative#
Make an initiative of a scenario
A proposed initiative naming the same applications. The scenario changes no more.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | The scenario's, if none | |
org_unit_id | integer | The first application's, if none |
GET /api/v1/trends#
How the portfolio moved between two snapshots
The figures each held, the applications whose recommendation changed, whose scores moved by half a point or more, and whose flags came or went, and the decisions recorded between them.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
before | query | string | yes | The earlier portfolio snapshot's reference |
after | query | string | The later one; today if none |
Integration#
GET /api/v1/admin/tokens#
The API tokens, and when each was last used
POST /api/v1/admin/tokens#
Issue an API token
The token itself is in the answer, and never again: only its hash is kept.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
expires_on | string | YYYY-MM-DD; 90 days if none | |
name | string | yes | What it is for, such as the system using it |
org_unit_id | integer | The unit it is for, if any | |
read_only | boolean | Whether it may only read | |
role | string | yes | manager, architect, auditor, leader, steward, or member |
DELETE /api/v1/admin/tokens/{token_id}#
Revoke an API token
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
token_id | path | integer | yes |
GET /api/v1/admin/webhooks#
The webhooks, and how their deliveries are going
POST /api/v1/admin/webhooks#
Add a webhook
Its signing secret is in the answer, and never again.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
active | boolean | ||
name | string | ||
topics | list of string | What it is told of | |
url | string | An https:// address |
DELETE /api/v1/admin/webhooks/{webhook_id}#
Remove a webhook
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
webhook_id | path | integer | yes |
PATCH /api/v1/admin/webhooks/{webhook_id}#
Change a webhook, or switch it off or on
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
webhook_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
active | boolean | ||
name | string | ||
topics | list of string | What it is told of | |
url | string | An https:// address |
POST /api/v1/admin/webhooks/{webhook_id}/test#
Send a test delivery now
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
webhook_id | path | integer | yes |
GET /api/v1/applications/{ref}/suggestions#
Changes proposed to an application
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/applications/{ref}/suggestions#
Propose a change
Nothing on the record changes: someone who keeps it accepts or dismisses it.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
field | string | yes | The field, such as summary or users |
note | string | Why | |
value | yes | The value proposed for it |
GET /api/v1/checkpoint/{ref}#
Is this application approved, and for this data?
Whether the application is approved for new use: in service and open to it, with a decision that keeps it, and nothing past its end of support; with data_class, allowed says whether its record also says it handles that class. Every reason is given. A restricted application the asker may not see is answered 404.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
data_class | query | string | A data class's key, if asking |
POST /api/v1/suggestions/{suggestion_id}/accept#
Accept a proposed change
The change is made as yours, checked by the same rules as any edit.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
suggestion_id | path | integer | yes |
POST /api/v1/suggestions/{suggestion_id}/dismiss#
Dismiss a proposed change
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
suggestion_id | path | integer | yes |
GET /api/v1/tokens#
Your own API tokens
POST /api/v1/tokens#
Make a token of your own
It acts as you: it reads what you may, and proposes changes for you to accept. The token is in the answer, and never again.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
expires_on | string | YYYY-MM-DD; 90 days if none | |
name | string | yes | What it is for, such as an assistant |
DELETE /api/v1/tokens/{token_id}#
Revoke a token of your own
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
token_id | path | integer | yes |
Assistant#
POST /api/v1/assistant/ask#
Ask a question about the portfolio
An answer from the applications the person may see, with links to the records it cites. 404 if there is no assistant.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
question | string | yes | A question about the portfolio |
POST /api/v1/assistant/draft#
Draft an application from a document
Values for the form to add an application, from the document's text. Nothing is saved: the person reads, corrects, and adds it themselves. 404 if there is no assistant.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
text | string | yes | A document describing the application |
GET /api/v1/assistant/exchanges#
What has been asked of the assistant
Program#
GET /api/v1/program#
The program as it stands, and what may be changed
PUT /api/v1/program/decision-rules#
Who may decide, and whether stages are gated
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners_may_decide | boolean | Whether an application's accountable owner may record its decision, if they are also a manager or a leader over it | |
stage_gates | boolean | Whether an application may move to a later stage only with what that stage requires |
PUT /api/v1/program/fields#
The organization's own fields, and which are sensitive
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
fields | list of object | yes | |
sensitive_fields | list of string |
PUT /api/v1/program/questionnaire#
Publish new wording of the questions
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
definition | object | yes |
PUT /api/v1/program/scoring#
Publish a new version of the scoring model
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
definition | object | yes |
POST /api/v1/program/scoring/preview#
What a changed scoring model would change
Every application in service whose scores, confidence, recommendation, or flags would differ. Nothing is saved.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
definition | object | yes |
PUT /api/v1/program/vocabularies/{name}#
Rename, reorder, add to, or retire a list
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
name | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
items | list of object | yes | Every value in order: its key, label, and any description; new values may leave the key empty; retired values say so |