-
Notifications
You must be signed in to change notification settings - Fork 172
Expand file tree
/
Copy pathspec.md
More file actions
51 lines (39 loc) · 2.8 KB
/
spec.md
File metadata and controls
51 lines (39 loc) · 2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
id: spec
sidebar_label: API
title: App Directory API (next)
---
View the [full specification][1] in [OpenAPI v3.0][2] format (generated with [ReDoc][3]),
or explore with the [Swagger Editor][4].
[1]: pathname:///schemas/next/app-directory.html
[2]: https://www.openapis.org/
[3]: https://github.com/Redocly/redoc/
[4]: https://editor.swagger.io/?url=https://fdc3.finos.org/schemas/next/appd.schema.json
## Endpoints
Endpoint | Method | Description
------------------ | ------ | -----------
`/v2/apps` | GET | Retrieve all application definitions
`/v2/apps/{appId}` | GET | Retrieve an application definition
`/v1/apps` | POST | (deprecated v1 API version) Create a new application definition
`/v1/apps/{appId}` | GET | (deprecated v1 API version) Retrieve an application definition
`/v1/apps/search` | GET | (deprecated v1 API version) Retrieve a list of applications
App Directory implementations MAY extend the list of endpoints to provide other necessary functionality. However, FDC3 Desktop Agent implementations that connect to app directories MUST support connection to app directories that only provide the minimum endpoints listed here.
## App Directory Standard Compliance
An FDC3 Standard compliant App Directory implementation **MUST**:
- Implement the specified `/v2` endpoints for retrieving app definitions as defined in the [app directory OpenAPI specification](pathname:///schemas/next/app-directory.html#tag/Application):
- `/v2/apps` (GET)
- `/v2/apps/{appId}` (GET)
- Ensure that `appId` field values assigned to applications are unique within the directory.
- Ensure that app directory records served meet the minimum requirements specified in the [app directory OpenAPI specification](pathname:///schemas/next/app-directory.html#tag/Application).
- Support retrieval of app directory records via either the raw `appId` (e.g. `myAppId`) or fully-qualified appId (e.g. `myAppId@host.domain.com`) as defined in the [app directory overview](overview#shrinking-the-uri).
An FDC3 Standard compliant App Directory implementation **SHOULD**:
- Support authentication (where required) via the HTTP Authorization header and Bearer authentication scheme (implemented via JWT tokens)
- Select any `categories` field values from the recommended list.
- Encourage the use of the `lang` and `localizedVersions` fields in appD records to support localization and accessibility.
An FDC3 Standard compliant App Directory implementation **MAY**:
- Support filtering of application records returned by user entitlement, where authentication is enabled.
- Implement the deprecated `/v1` endpoints provided for backwards compatibility with prior version of the standard:
- `/v1/apps` (POST)
- `/v1/apps/{appId}` (GET)
- `/v1/apps/search` (GET)
- Extend the implementation with additional endpoints.