Skip to content

Commit e4ffd35

Browse files
author
Parth Shandilya
committed
docs: update all docs
1 parent 0843e92 commit e4ffd35

60 files changed

Lines changed: 856 additions & 413 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 Ivan Goncharov
3+
Copyright (c) 2019-2022 CERN.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
1-
# CAP API Documentation OpenAPI Specification
1+
# CERN Analysis Preservation REST API Documentation
2+
3+
### About
4+
5+
This is the documentation behind the REST API for [CERN Analysis Preservation](https://analysispreservation.cern.ch/).
6+
7+
Other documentation:
8+
- [CERN Analysis Preservation Docs](https://analysispreservation.cern.ch/docs/general/)
9+
- [CERN Analysis Preservation Client](https://analysispreservation.cern.ch/docs/cli/)
10+
11+
If you need help or have a question about the API Documentation, please contact us via our [email](analysis-preservation-support@cern.ch).
12+
13+
# OpenAPI Specification
214

3-
## Working on specification
415
### Install
516

617
1. Install [Node JS](https://nodejs.org/)
@@ -18,4 +29,4 @@ Bundles the spec and prepares web_deploy folder with static assets.
1829
Validates the spec.
1930

2031
#### `npm run gh-pages`
21-
Deploys docs to GitHub Pages. You don't need to run it manually if you have Travis CI configured.
32+
Deploys docs to GitHub Pages.

spec/code_samples/C#/records/post.cs

Lines changed: 0 additions & 12 deletions
This file was deleted.

spec/code_samples/PHP/records/post.php

Lines changed: 0 additions & 7 deletions
This file was deleted.

spec/code_samples/Python/records/get.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

spec/code_samples/README.md

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
value:
2+
size: 442
3+
delete_marker: false
4+
links: {}
5+
created: "2022-04-20T13:13:01.105707+00:00"
6+
updated: "2022-04-20T13:13:01.113000+00:00"
7+
tags: {}
8+
version_id: b5f224ef-efe2-4ea5-9b47-d13623dd47bb
9+
is_head: true
10+
key: testname
11+
mimetype: text/plain
12+
checksum: md5:c63fcd62028c636019556ee6a1f2f62c
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
value:
2+
latest:
3+
links: {}
4+
version: 0.0.2
5+
versions:
6+
- links: {}
7+
version: 0.0.1
8+
- links: {}
9+
version: 0.0.2

spec/components/examples/JSONSchemaResource.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ value:
66
fullname: MySchema Analysis
77
is_indexed: true
88
links:
9-
deposit: >-
10-
https://analysispreservation.cern.ch/schemas/deposits/records/myschema-v0.0.1.json
11-
record: 'https://analysispreservation.cern.ch/schemas/records/myschema-v0.0.1.json'
12-
self: 'http://localhost:5000/api/jsonschemas/myschema/0.0.1'
9+
deposit: https://analysispreservation.cern.ch/api/schemas/deposits/records/myschema-v0.0.1.json
10+
record: https://analysispreservation.cern.ch/api/schemas/records/myschema-v0.0.1.json
11+
self: https://analysispreservation.cern/ch/api/jsonschemas/myschema/0.0.1
1312
name: myschema
1413
record_mapping: {}
1514
record_options: {}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
value:
2+
contents:
3+
- mimetype: application/x-sh
4+
delete_marker: false
5+
tags: {}
6+
links:
7+
self: >-
8+
https://analysispreservation.cern/ch/api/files/d0d4a30c-0d54-4ae3-ac0a-18fb982aad5f/hello/world/redirects.sh
9+
version: >-
10+
https://analysispreservation.cern/ch/api/files/d0d4a30c-0d54-4ae3-ac0a-18fb982aad5f/hello/world/redirects.sh?versionId=5d7e05ea-7c7c-48b9-913b-8ebadf26182e
11+
uploads: >-
12+
https://analysispreservation.cern/ch/api/files/d0d4a30c-0d54-4ae3-ac0a-18fb982aad5f/hello/world/redirects.sh?uploads
13+
size: 163
14+
is_head: true
15+
version_id: 5d7e05ea-7c7c-48b9-913b-8ebadf26182e
16+
checksum: 'md5:b8c74d3430930c8ee0f1b53e525175ba'
17+
updated: '2020-10-12T13:39:07.880982+00:00'
18+
key: hello/world/redirects.sh
19+
created: '2020-10-12T13:39:07.871349+00:00'
20+
locked: false
21+
links:
22+
self: 'https://analysispreservation.cern/ch/api/files/d0d4a30c-0d54-4ae3-ac0a-18fb982aad5f'
23+
versions: >-
24+
https://analysispreservation.cern/ch/api/files/d0d4a30c-0d54-4ae3-ac0a-18fb982aad5f?versions
25+
uploads: >-
26+
https://analysispreservation.cern/ch/api/files/d0d4a30c-0d54-4ae3-ac0a-18fb982aad5f?uploads
27+
size: 8425
28+
updated: '2020-10-12T13:39:07.894887+00:00'
29+
id: d0d4a30c-0d54-4ae3-ac0a-18fb982aad5f
30+
max_file_size: null
31+
quota_size: null
32+
created: '2020-10-12T13:21:40.302308+00:00'

0 commit comments

Comments
 (0)