@@ -2,24 +2,22 @@ type: apiKey
2
2
in : query
3
3
name : access_token
4
4
description : >
5
- > Your access token will allow you to use the service in the same way you would
6
- use it through the web portal. You will have the same
7
- permissions unless specified otherwise during the creation of the token. This implies
8
- that anyone who has this token can log in as yourself to the service. Do not
9
- share your personal access token with anyone else, and only use it with HTTPS.
5
+ Your access token will allow you to use the service in the same way you would
6
+ use it through the web portal. It gives full access to your account and anyone who has this token can log in as yourself to the service.
7
+
8
+
9
+ Do not share your personal access token with anyone else, and only use it with HTTPS.
10
10
11
11
12
12
To get an access token, you will need to log in on the web portal and [create
13
- one](https://analysispreservation.cern.ch/settings), as shown below.
13
+ one](https://analysispreservation.cern.ch/settings) by clicking on `Add Token` as shown below.
14
+
14
15
15
- In this dialog, `scopes` lets you define permissions for the token which by
16
- default only include read access to your drafts and records.
16
+ 
17
17
18
18
19
- 
19
+ Once you have created your token, you can see the generated key in the settings page
20
+ where your list of tokens is stored. It is also possible to revoke a token.
20
21
21
22
22
- Clicking "Submit" will generate and show your personal token in the browser.
23
- Please copy it to a safe place on your computer, as it is not stored on the
24
- portal and you will not be able to retrieve the same token again in the
25
- future.
23
+ 
0 commit comments