|
1 | 1 | # Open Cloud Mesh API Specification |
2 | 2 |
|
3 | | -This repository contains the [OpenAPI](https://github.com/OAI/OpenAPI-Specification) (fka Swagger) specification for the Open Cloud Mesh API. Please note that this is work-in-progress. |
| 3 | + |
4 | 4 |
|
5 | | -* [Roadmap](#roadmap) |
6 | | -* [Documentation](#documentation) |
7 | | -* [Contributing](#contributing) |
| 5 | +This repository contains the [OpenAPI](https://github.com/OAI/OpenAPI-Specification) (fka Swagger) specification for the Open Cloud Mesh API. This specification describes the RESTful API endpoints which vendors should support to make sharing of resources between different vendors possible. |
8 | 6 |
|
9 | | -## Roadmap |
| 7 | +* [Scope and assumptions](#scope-and-assumptions) |
| 8 | +* [API Documentation](#api-documentation) |
| 9 | +* [Contributing](#contributing) |
10 | 10 |
|
11 | | -The current version is unfinished yet. Currently in progress: |
| 11 | +## Scope and assumptions |
12 | 12 |
|
13 | | -* ~~Convert [existing documentation](http://lukasreschke.github.io/OpenCloudMeshSpecification/#sending-a-share-offer) to Open API Specification~~ |
14 | | -* ~~Discuss points of improvement for the new spec~~ |
15 | | -* ~~Finalize specification conforming v1.0 document~~ |
| 13 | +* Provider knows the consumer (both endpoint and user) when it creates a share with the consumer (#26). How this is known is not part of this spec. |
| 14 | +* Consumer doesn't have to accept a share, the resource will be available to the consumer immediately (#25). |
| 15 | +* Dealing with incoming shares is a vendor specific implementation. One vendor might use an 'accept before' process while another vendor might use a 'decline after' approach. This is considered part of the UX and thus not part of the interaction between different vendors. The consumer could send a notification though, t |
| 16 | +* Reverting access to outgoing shares is a vendor specific implementation. One vendor might delete an entire share while another might invalidate an access token. This is considered part of venor specific internals and thus not part of the intraction between different vendors. |
| 17 | +* The actual file sync isn't a part of this specification. To keep this specification 'future proof', the file sync protocol will be embedded as a separate object in Open Cloud Mesh API calls. This protocol object contains all protocol specific options, e.g. WebDAV specific options. |
16 | 18 |
|
17 | | -## Documentation |
| 19 | +## API Documentation |
18 | 20 |
|
19 | | -The WIP specification can be rendered as HTML documentation: |
| 21 | +The specification can be rendered as HTML documentation using [ReDoc](https://github.com/Rebilly/ReDoc): |
20 | 22 |
|
21 | | -* [API Reference Documentation](https://docs.apiwise.nl/ocm/index.html) |
| 23 | +* [API Reference Documentation](https://rawgit.com/GEANT/OCM-API/docs.html) |
22 | 24 |
|
23 | 25 | ## Contributing |
24 | 26 |
|
25 | | -The Open Cloud Mesh API is an open source, community-driven project. If you'd like to contribute, please follow the [Contributing Guidelines](CONTRIBUTING.md). |
| 27 | +The Open Cloud Mesh API specification is an open source, community-driven project. If you'd like to contribute, please follow the [Contributing Guidelines](CONTRIBUTING.md). |
26 | 28 |
|
0 commit comments