Skip to content

Commit 847c700

Browse files
author
Dimitri van Hees
committed
Cleaned up README
1 parent e1ee15f commit 847c700

File tree

4 files changed

+37
-14
lines changed

4 files changed

+37
-14
lines changed

README.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
11
# Open Cloud Mesh API Specification
22

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+
![Open Education API](logo.png)
44

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.
86

9-
## Roadmap
7+
* [Scope and assumptions](#scope-and-assumptions)
8+
* [API Documentation](#api-documentation)
9+
* [Contributing](#contributing)
1010

11-
The current version is unfinished yet. Currently in progress:
11+
## Scope and assumptions
1212

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.
1618

17-
## Documentation
19+
## API Documentation
1820

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):
2022

21-
* [API Reference Documentation](https://docs.apiwise.nl/ocm/index.html)
23+
* [API Reference Documentation](https://rawgit.com/GEANT/OCM-API/docs.html)
2224

2325
## Contributing
2426

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).
2628

docs.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Open Cloud Mesh API Reference Documentation</title>
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<style>
7+
body {
8+
margin: 0;
9+
padding: 0;
10+
}
11+
12+
api-logo {
13+
margin: 20px 0;
14+
}
15+
</style>
16+
</head>
17+
<body>
18+
<redoc spec-url="spec.yaml"></redoc>
19+
<script src="https://rebilly.github.io/ReDoc/releases/latest/redoc.min.js"></script>
20+
</body>
21+
</html>

logo.png

29.8 KB
Loading

spec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ info:
44
description: Open Cloud Mesh Open API Specification.
55
version: 0.0.3
66
x-logo:
7-
url: https://docs.apiwise.nl/ocm/logo.jpg
7+
url: logo.png
88
schemes:
99
- https
1010
consumes:

0 commit comments

Comments
 (0)