rucio 37.5.0__py3-none-any.whl → 37.6.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rucio might be problematic. Click here for more details.
- rucio/cli/bin_legacy/rucio.py +1 -1
- rucio/cli/bin_legacy/rucio_admin.py +1 -1
- rucio/cli/did.py +2 -2
- rucio/cli/rse.py +2 -3
- rucio/cli/subscription.py +1 -1
- rucio/client/baseclient.py +5 -1
- rucio/client/didclient.py +16 -16
- rucio/client/downloadclient.py +14 -14
- rucio/client/lockclient.py +3 -3
- rucio/client/replicaclient.py +2 -2
- rucio/client/touchclient.py +1 -1
- rucio/client/uploadclient.py +725 -181
- rucio/common/config.py +1 -2
- rucio/common/constants.py +2 -0
- rucio/common/didtype.py +2 -2
- rucio/common/dumper/__init__.py +1 -1
- rucio/common/pcache.py +20 -25
- rucio/common/plugins.py +10 -17
- rucio/common/schema/__init__.py +7 -5
- rucio/common/utils.py +1 -1
- rucio/core/authentication.py +1 -1
- rucio/core/credential.py +1 -1
- rucio/core/did.py +54 -54
- rucio/core/did_meta_plugins/__init__.py +10 -10
- rucio/core/did_meta_plugins/did_column_meta.py +9 -9
- rucio/core/did_meta_plugins/did_meta_plugin_interface.py +3 -3
- rucio/core/did_meta_plugins/elasticsearch_meta.py +7 -7
- rucio/core/did_meta_plugins/json_meta.py +2 -2
- rucio/core/did_meta_plugins/mongo_meta.py +9 -9
- rucio/core/did_meta_plugins/postgres_meta.py +7 -7
- rucio/core/dirac.py +1 -1
- rucio/core/lifetime_exception.py +2 -2
- rucio/core/lock.py +7 -7
- rucio/core/meta_conventions.py +2 -2
- rucio/core/monitor.py +1 -1
- rucio/core/naming_convention.py +1 -1
- rucio/core/nongrid_trace.py +2 -2
- rucio/core/oidc.py +2 -2
- rucio/core/permission/__init__.py +7 -5
- rucio/core/permission/generic.py +2 -2
- rucio/core/permission/generic_multi_vo.py +2 -2
- rucio/core/replica.py +17 -17
- rucio/core/rule.py +30 -30
- rucio/core/rule_grouping.py +2 -3
- rucio/core/scope.py +1 -1
- rucio/core/trace.py +2 -2
- rucio/daemons/auditor/__init__.py +1 -1
- rucio/daemons/badreplicas/minos.py +9 -3
- rucio/daemons/badreplicas/minos_temporary_expiration.py +5 -2
- rucio/daemons/badreplicas/necromancer.py +9 -3
- rucio/daemons/bb8/common.py +1 -1
- rucio/daemons/bb8/nuclei_background_rebalance.py +1 -1
- rucio/daemons/bb8/t2_background_rebalance.py +1 -1
- rucio/daemons/cache/consumer.py +1 -1
- rucio/daemons/conveyor/finisher.py +13 -4
- rucio/daemons/conveyor/poller.py +5 -2
- rucio/daemons/conveyor/receiver.py +1 -1
- rucio/daemons/follower/follower.py +1 -1
- rucio/daemons/hermes/hermes.py +2 -2
- rucio/daemons/judge/cleaner.py +2 -2
- rucio/daemons/judge/evaluator.py +7 -7
- rucio/daemons/judge/injector.py +2 -2
- rucio/daemons/judge/repairer.py +2 -2
- rucio/daemons/replicarecoverer/suspicious_replica_recoverer.py +1 -1
- rucio/daemons/storage/consistency/actions.py +3 -3
- rucio/daemons/transmogrifier/transmogrifier.py +1 -1
- rucio/daemons/undertaker/undertaker.py +6 -6
- rucio/db/sqla/constants.py +4 -3
- rucio/db/sqla/migrate_repo/versions/3082b8cef557_add_naming_convention_table_and_closed_.py +1 -1
- rucio/db/sqla/migrate_repo/versions/4df2c5ddabc0_remove_temporary_dids.py +1 -1
- rucio/db/sqla/migrate_repo/versions/c129ccdb2d5_add_lumiblocknr_to_dids.py +1 -1
- rucio/db/sqla/models.py +1 -1
- rucio/db/sqla/session.py +7 -7
- rucio/gateway/account.py +65 -90
- rucio/gateway/did.py +26 -26
- rucio/gateway/dirac.py +1 -1
- rucio/gateway/lifetime_exception.py +1 -1
- rucio/gateway/replica.py +2 -2
- rucio/rse/protocols/ngarc.py +2 -2
- rucio/rse/protocols/srm.py +1 -1
- rucio/rse/protocols/webdav.py +8 -1
- rucio/tests/common.py +4 -4
- rucio/vcsversion.py +3 -3
- rucio/web/rest/flaskapi/v1/accounts.py +20 -20
- rucio/web/rest/flaskapi/v1/archives.py +2 -2
- rucio/web/rest/flaskapi/v1/common.py +1 -1
- rucio/web/rest/flaskapi/v1/dids.py +188 -188
- rucio/web/rest/flaskapi/v1/lifetime_exceptions.py +5 -5
- rucio/web/rest/flaskapi/v1/locks.py +13 -13
- rucio/web/rest/flaskapi/v1/main.py +1 -0
- rucio/web/rest/flaskapi/v1/redirect.py +2 -2
- rucio/web/rest/flaskapi/v1/replicas.py +16 -16
- rucio/web/rest/flaskapi/v1/requests.py +16 -16
- rucio/web/rest/flaskapi/v1/subscriptions.py +7 -7
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-abacus-account +8 -1
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-abacus-rse +8 -1
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-auditor +1 -1
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-conveyor-throttler +7 -1
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-follower +1 -1
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-judge-cleaner +9 -1
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-necromancer +7 -1
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-replica-recoverer +31 -9
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-undertaker +8 -2
- {rucio-37.5.0.dist-info → rucio-37.6.0.dist-info}/METADATA +1 -1
- {rucio-37.5.0.dist-info → rucio-37.6.0.dist-info}/RECORD +155 -155
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/etc/alembic.ini.template +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/etc/alembic_offline.ini.template +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/etc/globus-config.yml.template +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/etc/ldap.cfg.template +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/etc/mail_templates/rule_approval_request.tmpl +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/etc/mail_templates/rule_approved_admin.tmpl +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/etc/mail_templates/rule_approved_user.tmpl +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/etc/mail_templates/rule_denied_admin.tmpl +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/etc/mail_templates/rule_denied_user.tmpl +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/etc/mail_templates/rule_ok_notification.tmpl +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/etc/rse-accounts.cfg.template +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/etc/rucio.cfg.atlas.client.template +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/etc/rucio.cfg.template +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/etc/rucio_multi_vo.cfg.template +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/requirements.server.txt +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/tools/bootstrap.py +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/tools/merge_rucio_configs.py +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/data/rucio/tools/reset_database.py +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-abacus-collection-replica +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-admin +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-atropos +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-automatix +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-bb8 +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-cache-client +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-cache-consumer +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-conveyor-finisher +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-conveyor-poller +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-conveyor-preparer +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-conveyor-receiver +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-conveyor-stager +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-conveyor-submitter +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-dark-reaper +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-dumper +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-hermes +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-judge-evaluator +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-judge-injector +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-judge-repairer +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-kronos +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-minos +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-minos-temporary-expiration +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-oauth-manager +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-reaper +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-rse-decommissioner +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-storage-consistency-actions +0 -0
- {rucio-37.5.0.data → rucio-37.6.0.data}/scripts/rucio-transmogrifier +0 -0
- {rucio-37.5.0.dist-info → rucio-37.6.0.dist-info}/WHEEL +0 -0
- {rucio-37.5.0.dist-info → rucio-37.6.0.dist-info}/licenses/AUTHORS.rst +0 -0
- {rucio-37.5.0.dist-info → rucio-37.6.0.dist-info}/licenses/LICENSE +0 -0
- {rucio-37.5.0.dist-info → rucio-37.6.0.dist-info}/top_level.txt +0 -0
|
@@ -94,7 +94,7 @@ class Scope(ErrorHandlingMethodView):
|
|
|
94
94
|
style: simple
|
|
95
95
|
- name: name
|
|
96
96
|
in: query
|
|
97
|
-
description: "The name of the data identifier (
|
|
97
|
+
description: "The name of the data identifier (DID)."
|
|
98
98
|
required: false
|
|
99
99
|
schema:
|
|
100
100
|
type: string
|
|
@@ -110,7 +110,7 @@ class Scope(ErrorHandlingMethodView):
|
|
|
110
110
|
content:
|
|
111
111
|
application/x-json-stream:
|
|
112
112
|
schema:
|
|
113
|
-
description: "Line-separated dictionary of
|
|
113
|
+
description: "Line-separated dictionary of DIDs."
|
|
114
114
|
type: array
|
|
115
115
|
items:
|
|
116
116
|
type: object
|
|
@@ -118,24 +118,24 @@ class Scope(ErrorHandlingMethodView):
|
|
|
118
118
|
properties:
|
|
119
119
|
scope:
|
|
120
120
|
type: string
|
|
121
|
-
description: "The scope of the
|
|
121
|
+
description: "The scope of the DID."
|
|
122
122
|
name:
|
|
123
123
|
type: string
|
|
124
|
-
description: "The name of the
|
|
124
|
+
description: "The name of the DID."
|
|
125
125
|
type:
|
|
126
126
|
type: string
|
|
127
|
-
description: "The type of the
|
|
127
|
+
description: "The type of the DID."
|
|
128
128
|
enum: ['F', 'D', 'C', 'A', 'X', 'Y', 'Z']
|
|
129
129
|
parent:
|
|
130
130
|
type: string
|
|
131
|
-
description: "The parent of the
|
|
131
|
+
description: "The parent of the DID."
|
|
132
132
|
level:
|
|
133
133
|
type: integer
|
|
134
|
-
description: "The level of the
|
|
134
|
+
description: "The level of the DID."
|
|
135
135
|
401:
|
|
136
136
|
description: "Invalid Auth Token"
|
|
137
137
|
404:
|
|
138
|
-
description: "No
|
|
138
|
+
description: "No DIDs found"
|
|
139
139
|
406:
|
|
140
140
|
description: "Not acceptable"
|
|
141
141
|
"""
|
|
@@ -176,14 +176,14 @@ class Search(ErrorHandlingMethodView):
|
|
|
176
176
|
style: simple
|
|
177
177
|
- name: type
|
|
178
178
|
in: query
|
|
179
|
-
description: "The
|
|
179
|
+
description: "The DID type to search for."
|
|
180
180
|
schema:
|
|
181
181
|
type: string
|
|
182
182
|
enum: ['all', 'collection', 'container', 'dataset', 'file']
|
|
183
183
|
default: 'collection'
|
|
184
184
|
- name: limit
|
|
185
185
|
in: query
|
|
186
|
-
description: "The maximum number
|
|
186
|
+
description: "The maximum number of DIDs returned."
|
|
187
187
|
schema:
|
|
188
188
|
type: integer
|
|
189
189
|
- name: long
|
|
@@ -234,7 +234,7 @@ class Search(ErrorHandlingMethodView):
|
|
|
234
234
|
type: integer
|
|
235
235
|
- name: name
|
|
236
236
|
in: query
|
|
237
|
-
description: "Name or pattern of a
|
|
237
|
+
description: "Name or pattern of a DID."
|
|
238
238
|
schema:
|
|
239
239
|
type: string
|
|
240
240
|
responses:
|
|
@@ -255,7 +255,7 @@ class Search(ErrorHandlingMethodView):
|
|
|
255
255
|
406:
|
|
256
256
|
description: "Not acceptable"
|
|
257
257
|
409:
|
|
258
|
-
description: "Wrong
|
|
258
|
+
description: "Wrong DID type"
|
|
259
259
|
"""
|
|
260
260
|
filters = request.args.get('filters', default=None)
|
|
261
261
|
if filters is not None:
|
|
@@ -289,8 +289,8 @@ class BulkDIDS(ErrorHandlingMethodView):
|
|
|
289
289
|
def post(self):
|
|
290
290
|
"""
|
|
291
291
|
---
|
|
292
|
-
summary: Add
|
|
293
|
-
description: "Add new
|
|
292
|
+
summary: Add DIDs bulk
|
|
293
|
+
description: "Add new DIDs in bulk."
|
|
294
294
|
tags:
|
|
295
295
|
- Data Identifiers
|
|
296
296
|
requestBody:
|
|
@@ -299,7 +299,7 @@ class BulkDIDS(ErrorHandlingMethodView):
|
|
|
299
299
|
schema:
|
|
300
300
|
type: array
|
|
301
301
|
items:
|
|
302
|
-
description: "One
|
|
302
|
+
description: "One DID to add."
|
|
303
303
|
type: object
|
|
304
304
|
required:
|
|
305
305
|
- scope
|
|
@@ -307,17 +307,17 @@ class BulkDIDS(ErrorHandlingMethodView):
|
|
|
307
307
|
- type
|
|
308
308
|
properties:
|
|
309
309
|
scope:
|
|
310
|
-
description: "The
|
|
310
|
+
description: "The DID scope."
|
|
311
311
|
type: string
|
|
312
312
|
name:
|
|
313
|
-
description: "The
|
|
313
|
+
description: "The DID name."
|
|
314
314
|
type: string
|
|
315
315
|
type:
|
|
316
|
-
description: "The type of the
|
|
316
|
+
description: "The type of the DID."
|
|
317
317
|
type: string
|
|
318
318
|
enum: ["F", "D", "C", "A", "X", "Y", "Z"]
|
|
319
319
|
account:
|
|
320
|
-
description: "The account associated with the
|
|
320
|
+
description: "The account associated with the DID."
|
|
321
321
|
type: string
|
|
322
322
|
statuses:
|
|
323
323
|
description: "The monotonic status"
|
|
@@ -335,7 +335,7 @@ class BulkDIDS(ErrorHandlingMethodView):
|
|
|
335
335
|
406:
|
|
336
336
|
description: "Not acceptable"
|
|
337
337
|
409:
|
|
338
|
-
description: "
|
|
338
|
+
description: "DID already exists"
|
|
339
339
|
"""
|
|
340
340
|
dids = json_list()
|
|
341
341
|
try:
|
|
@@ -354,8 +354,8 @@ class Attachments(ErrorHandlingMethodView):
|
|
|
354
354
|
def post(self):
|
|
355
355
|
"""
|
|
356
356
|
---
|
|
357
|
-
summary: Attach
|
|
358
|
-
description: "Attaches a
|
|
357
|
+
summary: Attach DID to DID
|
|
358
|
+
description: "Attaches a DID to another DID"
|
|
359
359
|
tags:
|
|
360
360
|
- Data Identifiers
|
|
361
361
|
requestBody:
|
|
@@ -363,7 +363,7 @@ class Attachments(ErrorHandlingMethodView):
|
|
|
363
363
|
'application/json':
|
|
364
364
|
schema:
|
|
365
365
|
oneOf:
|
|
366
|
-
- description: An array containing all
|
|
366
|
+
- description: An array containing all DIDs. Duplicates are not ignored.
|
|
367
367
|
type: array
|
|
368
368
|
required:
|
|
369
369
|
- scope
|
|
@@ -371,29 +371,29 @@ class Attachments(ErrorHandlingMethodView):
|
|
|
371
371
|
- dids
|
|
372
372
|
properties:
|
|
373
373
|
scope:
|
|
374
|
-
description: "The scope of the
|
|
374
|
+
description: "The scope of the DID."
|
|
375
375
|
type: string
|
|
376
376
|
name:
|
|
377
|
-
description: "The name of the
|
|
377
|
+
description: "The name of the DID."
|
|
378
378
|
type: string
|
|
379
379
|
dids:
|
|
380
|
-
description: "The
|
|
380
|
+
description: "The DIDs associated with the DID."
|
|
381
381
|
type: array
|
|
382
382
|
items:
|
|
383
383
|
type: object
|
|
384
|
-
description: "A
|
|
384
|
+
description: "A DID."
|
|
385
385
|
required:
|
|
386
386
|
- scope
|
|
387
387
|
- name
|
|
388
388
|
properties:
|
|
389
389
|
scope:
|
|
390
|
-
description: "The scope of the
|
|
390
|
+
description: "The scope of the DID."
|
|
391
391
|
type: string
|
|
392
392
|
name:
|
|
393
|
-
description: "The name of the
|
|
393
|
+
description: "The name of the DID."
|
|
394
394
|
type: string
|
|
395
395
|
rse_id:
|
|
396
|
-
description: "The rse id of the
|
|
396
|
+
description: "The rse id of the DID."
|
|
397
397
|
type: string
|
|
398
398
|
- type: object
|
|
399
399
|
required:
|
|
@@ -404,7 +404,7 @@ class Attachments(ErrorHandlingMethodView):
|
|
|
404
404
|
type: boolean
|
|
405
405
|
default: false
|
|
406
406
|
attachments:
|
|
407
|
-
description: "An array containing all
|
|
407
|
+
description: "An array containing all DIDs. Duplicates are not ignored."
|
|
408
408
|
type: array
|
|
409
409
|
required:
|
|
410
410
|
- scope
|
|
@@ -412,29 +412,29 @@ class Attachments(ErrorHandlingMethodView):
|
|
|
412
412
|
- dids
|
|
413
413
|
properties:
|
|
414
414
|
scope:
|
|
415
|
-
description: "The scope of the
|
|
415
|
+
description: "The scope of the DID."
|
|
416
416
|
type: string
|
|
417
417
|
name:
|
|
418
|
-
description: "The name of the
|
|
418
|
+
description: "The name of the DID."
|
|
419
419
|
type: string
|
|
420
420
|
dids:
|
|
421
|
-
description: "The
|
|
421
|
+
description: "The DIDs associated to the DID."
|
|
422
422
|
type: array
|
|
423
423
|
items:
|
|
424
424
|
type: object
|
|
425
|
-
description: "A
|
|
425
|
+
description: "A DID."
|
|
426
426
|
required:
|
|
427
427
|
- scope
|
|
428
428
|
- name
|
|
429
429
|
properties:
|
|
430
430
|
scope:
|
|
431
|
-
description: "The scope of the
|
|
431
|
+
description: "The scope of the DID."
|
|
432
432
|
type: string
|
|
433
433
|
name:
|
|
434
|
-
description: "The name of the
|
|
434
|
+
description: "The name of the DID."
|
|
435
435
|
type: string
|
|
436
436
|
rse_id:
|
|
437
|
-
description: "The rse id of the
|
|
437
|
+
description: "The rse id of the DID."
|
|
438
438
|
type: string
|
|
439
439
|
responses:
|
|
440
440
|
200:
|
|
@@ -481,14 +481,14 @@ class DIDs(ErrorHandlingMethodView):
|
|
|
481
481
|
def get(self, scope_name):
|
|
482
482
|
"""
|
|
483
483
|
---
|
|
484
|
-
summary: Get
|
|
484
|
+
summary: Get DID
|
|
485
485
|
description: "Get a single data identifier."
|
|
486
486
|
tags:
|
|
487
487
|
- Data identifiers
|
|
488
488
|
parameters:
|
|
489
489
|
- name: scope_name
|
|
490
490
|
in: path
|
|
491
|
-
description: "The scope and the name of the
|
|
491
|
+
description: "The scope and the name of the DID."
|
|
492
492
|
schema:
|
|
493
493
|
type: string
|
|
494
494
|
style: simple
|
|
@@ -511,14 +511,14 @@ class DIDs(ErrorHandlingMethodView):
|
|
|
511
511
|
application/json:
|
|
512
512
|
schema:
|
|
513
513
|
oneOf:
|
|
514
|
-
- description: "A single file
|
|
514
|
+
- description: "A single file DID."
|
|
515
515
|
type: object
|
|
516
516
|
properties:
|
|
517
517
|
scope:
|
|
518
|
-
description: "The scope of the
|
|
518
|
+
description: "The scope of the DID."
|
|
519
519
|
type: string
|
|
520
520
|
name:
|
|
521
|
-
description: "The name of the
|
|
521
|
+
description: "The name of the DID."
|
|
522
522
|
type: string
|
|
523
523
|
type:
|
|
524
524
|
description: "The type of the string."
|
|
@@ -539,14 +539,14 @@ class DIDs(ErrorHandlingMethodView):
|
|
|
539
539
|
adler32:
|
|
540
540
|
description: "adler32 checksum."
|
|
541
541
|
type: string
|
|
542
|
-
- description: "A single file
|
|
542
|
+
- description: "A single file DID."
|
|
543
543
|
type: object
|
|
544
544
|
properties:
|
|
545
545
|
scope:
|
|
546
|
-
description: "The scope of the
|
|
546
|
+
description: "The scope of the DID."
|
|
547
547
|
type: string
|
|
548
548
|
name:
|
|
549
|
-
description: "The name of the
|
|
549
|
+
description: "The name of the DID."
|
|
550
550
|
type: string
|
|
551
551
|
type:
|
|
552
552
|
description: "The type of the string."
|
|
@@ -555,16 +555,16 @@ class DIDs(ErrorHandlingMethodView):
|
|
|
555
555
|
description: "The associated account."
|
|
556
556
|
type: string
|
|
557
557
|
open:
|
|
558
|
-
description: "If the
|
|
558
|
+
description: "If the DID is write open."
|
|
559
559
|
type: boolean
|
|
560
560
|
monotonic:
|
|
561
|
-
description: "If the
|
|
561
|
+
description: "If the DID is monotonic."
|
|
562
562
|
type: boolean
|
|
563
563
|
expired_at:
|
|
564
|
-
description: "When the
|
|
564
|
+
description: "When the DID expired."
|
|
565
565
|
type: string
|
|
566
566
|
length:
|
|
567
|
-
description: "The number of associated
|
|
567
|
+
description: "The number of associated DIDs."
|
|
568
568
|
type: number
|
|
569
569
|
bytes:
|
|
570
570
|
description: "The size in bytes."
|
|
@@ -599,14 +599,14 @@ class DIDs(ErrorHandlingMethodView):
|
|
|
599
599
|
def post(self, scope_name):
|
|
600
600
|
"""
|
|
601
601
|
---
|
|
602
|
-
summary: Create
|
|
602
|
+
summary: Create DID
|
|
603
603
|
description: "Create a new data identifier."
|
|
604
604
|
tags:
|
|
605
605
|
- Data Identifiers
|
|
606
606
|
parameters:
|
|
607
607
|
- name: scope_name
|
|
608
608
|
in: path
|
|
609
|
-
description: "The scope and the name of the
|
|
609
|
+
description: "The scope and the name of the DID."
|
|
610
610
|
schema:
|
|
611
611
|
type: string
|
|
612
612
|
style: simple
|
|
@@ -619,38 +619,38 @@ class DIDs(ErrorHandlingMethodView):
|
|
|
619
619
|
- type
|
|
620
620
|
properties:
|
|
621
621
|
type:
|
|
622
|
-
description: "The type of the
|
|
622
|
+
description: "The type of the DID."
|
|
623
623
|
type: string
|
|
624
624
|
statuses:
|
|
625
|
-
description: "The statuses of the
|
|
625
|
+
description: "The statuses of the DID."
|
|
626
626
|
type: string
|
|
627
627
|
meta:
|
|
628
|
-
description: "The meta of the
|
|
628
|
+
description: "The meta of the DID."
|
|
629
629
|
type: string
|
|
630
630
|
rules:
|
|
631
|
-
description: "The rules associated with the
|
|
631
|
+
description: "The rules associated with the DID."
|
|
632
632
|
type: array
|
|
633
633
|
items:
|
|
634
634
|
type: object
|
|
635
635
|
description: "A rule."
|
|
636
636
|
lifetime:
|
|
637
|
-
description: "The lifetime of the
|
|
637
|
+
description: "The lifetime of the DID."
|
|
638
638
|
type: string
|
|
639
639
|
dids:
|
|
640
|
-
description: "The
|
|
640
|
+
description: "The DIDs associated with the DID."
|
|
641
641
|
type: array
|
|
642
642
|
items:
|
|
643
643
|
type: object
|
|
644
|
-
description: "The
|
|
644
|
+
description: "The DID associated with a DID."
|
|
645
645
|
properties:
|
|
646
646
|
scope:
|
|
647
|
-
description: "The scope of the
|
|
647
|
+
description: "The scope of the DID."
|
|
648
648
|
type: string
|
|
649
649
|
name:
|
|
650
|
-
description: "The name of the
|
|
650
|
+
description: "The name of the DID."
|
|
651
651
|
type: string
|
|
652
652
|
rse:
|
|
653
|
-
description: "The rse associated with the
|
|
653
|
+
description: "The rse associated with the DID."
|
|
654
654
|
type: string
|
|
655
655
|
responses:
|
|
656
656
|
201:
|
|
@@ -663,9 +663,9 @@ class DIDs(ErrorHandlingMethodView):
|
|
|
663
663
|
401:
|
|
664
664
|
description: "Invalid Auth Token"
|
|
665
665
|
404:
|
|
666
|
-
description: "
|
|
666
|
+
description: "DID or scope not found"
|
|
667
667
|
409:
|
|
668
|
-
description: "
|
|
668
|
+
description: "DID already exists"
|
|
669
669
|
"""
|
|
670
670
|
try:
|
|
671
671
|
scope, name = parse_scope_name(scope_name, request.environ['vo'])
|
|
@@ -712,14 +712,14 @@ class DIDs(ErrorHandlingMethodView):
|
|
|
712
712
|
def put(self, scope_name):
|
|
713
713
|
"""
|
|
714
714
|
---
|
|
715
|
-
summary: Update
|
|
716
|
-
description: "Update a
|
|
715
|
+
summary: Update DID
|
|
716
|
+
description: "Update a DID."
|
|
717
717
|
tags:
|
|
718
718
|
- Data Identifiers
|
|
719
719
|
parameters:
|
|
720
720
|
- name: scope_name
|
|
721
721
|
in: path
|
|
722
|
-
description: "The scope and the name of the
|
|
722
|
+
description: "The scope and the name of the DID."
|
|
723
723
|
schema:
|
|
724
724
|
type: string
|
|
725
725
|
style: simple
|
|
@@ -738,7 +738,7 @@ class DIDs(ErrorHandlingMethodView):
|
|
|
738
738
|
401:
|
|
739
739
|
description: "Invalid Auth Token"
|
|
740
740
|
404:
|
|
741
|
-
description: "
|
|
741
|
+
description: "DID not found"
|
|
742
742
|
409:
|
|
743
743
|
description: "Wrong status"
|
|
744
744
|
"""
|
|
@@ -767,24 +767,24 @@ class Attachment(ErrorHandlingMethodView):
|
|
|
767
767
|
def get(self, scope_name):
|
|
768
768
|
"""
|
|
769
769
|
---
|
|
770
|
-
summary: Get
|
|
770
|
+
summary: Get DID
|
|
771
771
|
description: "Returns the contents of a data identifier."
|
|
772
772
|
tags:
|
|
773
773
|
- Data Identifiers
|
|
774
774
|
parameters:
|
|
775
775
|
- name: scope_name
|
|
776
776
|
in: path
|
|
777
|
-
description: "The scope and the name of the
|
|
777
|
+
description: "The scope and the name of the DID."
|
|
778
778
|
schema:
|
|
779
779
|
type: string
|
|
780
780
|
style: simple
|
|
781
781
|
responses:
|
|
782
782
|
200:
|
|
783
|
-
description: "
|
|
783
|
+
description: "DID found"
|
|
784
784
|
content:
|
|
785
785
|
application/x-json-stream:
|
|
786
786
|
schema:
|
|
787
|
-
description: "The contents of a
|
|
787
|
+
description: "The contents of a DID. Items are line separated."
|
|
788
788
|
type: array
|
|
789
789
|
items:
|
|
790
790
|
type: object
|
|
@@ -797,22 +797,22 @@ class Attachment(ErrorHandlingMethodView):
|
|
|
797
797
|
- md5
|
|
798
798
|
properties:
|
|
799
799
|
scope:
|
|
800
|
-
description: "The scope of the
|
|
800
|
+
description: "The scope of the DID."
|
|
801
801
|
type: string
|
|
802
802
|
name:
|
|
803
|
-
description: "The name of the
|
|
803
|
+
description: "The name of the DID."
|
|
804
804
|
type: string
|
|
805
805
|
type:
|
|
806
|
-
description: "The type of the
|
|
806
|
+
description: "The type of the DID."
|
|
807
807
|
type: string
|
|
808
808
|
bytes:
|
|
809
|
-
description: "The size of the
|
|
809
|
+
description: "The size of the DID."
|
|
810
810
|
type: number
|
|
811
811
|
adler32:
|
|
812
|
-
description: "The adler32 checksum of the
|
|
812
|
+
description: "The adler32 checksum of the DID."
|
|
813
813
|
type: string
|
|
814
814
|
md5:
|
|
815
|
-
description: "The md5 checksum of the
|
|
815
|
+
description: "The md5 checksum of the DID."
|
|
816
816
|
type: string
|
|
817
817
|
401:
|
|
818
818
|
description: "Invalid Auth Token"
|
|
@@ -837,14 +837,14 @@ class Attachment(ErrorHandlingMethodView):
|
|
|
837
837
|
def post(self, scope_name):
|
|
838
838
|
"""
|
|
839
839
|
---
|
|
840
|
-
summary: Add
|
|
840
|
+
summary: Add DIDs to DID
|
|
841
841
|
description: "Append data identifiers to data identifiers."
|
|
842
842
|
tags:
|
|
843
843
|
- Data Identifiers
|
|
844
844
|
parameters:
|
|
845
845
|
- name: scope_name
|
|
846
846
|
in: path
|
|
847
|
-
description: "The scope and the name of the
|
|
847
|
+
description: "The scope and the name of the DID."
|
|
848
848
|
schema:
|
|
849
849
|
type: string
|
|
850
850
|
style: simple
|
|
@@ -860,20 +860,20 @@ class Attachment(ErrorHandlingMethodView):
|
|
|
860
860
|
description: "The name of the rse."
|
|
861
861
|
type: string
|
|
862
862
|
account:
|
|
863
|
-
description: "The account which attaches the
|
|
863
|
+
description: "The account which attaches the DIDs."
|
|
864
864
|
type: string
|
|
865
865
|
dids:
|
|
866
|
-
description: "The
|
|
866
|
+
description: "The DIDs to attach."
|
|
867
867
|
type: object
|
|
868
868
|
properties:
|
|
869
869
|
account:
|
|
870
|
-
description: "The account attaching the
|
|
870
|
+
description: "The account attaching the DID."
|
|
871
871
|
type: string
|
|
872
872
|
scope:
|
|
873
|
-
description: "The scope of the
|
|
873
|
+
description: "The scope of the DID."
|
|
874
874
|
type: string
|
|
875
875
|
name:
|
|
876
|
-
description: "The name of the
|
|
876
|
+
description: "The name of the DID."
|
|
877
877
|
type: string
|
|
878
878
|
responses:
|
|
879
879
|
201:
|
|
@@ -886,7 +886,7 @@ class Attachment(ErrorHandlingMethodView):
|
|
|
886
886
|
401:
|
|
887
887
|
description: "Invalid Auth Token"
|
|
888
888
|
404:
|
|
889
|
-
description: "
|
|
889
|
+
description: "DID not found"
|
|
890
890
|
406:
|
|
891
891
|
description: "Not acceptable"
|
|
892
892
|
409:
|
|
@@ -915,14 +915,14 @@ class Attachment(ErrorHandlingMethodView):
|
|
|
915
915
|
def delete(self, scope_name):
|
|
916
916
|
"""
|
|
917
917
|
---
|
|
918
|
-
summary: Detach
|
|
918
|
+
summary: Detach DIDs from DID
|
|
919
919
|
description: "Detach data identifiers from data identifiers."
|
|
920
920
|
tags:
|
|
921
921
|
- Data Identifiers
|
|
922
922
|
parameters:
|
|
923
923
|
- name: scope_name
|
|
924
924
|
in: path
|
|
925
|
-
description: "The scope and the name of the
|
|
925
|
+
description: "The scope and the name of the DID."
|
|
926
926
|
schema:
|
|
927
927
|
type: string
|
|
928
928
|
style: simple
|
|
@@ -935,16 +935,16 @@ class Attachment(ErrorHandlingMethodView):
|
|
|
935
935
|
- dids
|
|
936
936
|
properties:
|
|
937
937
|
dids:
|
|
938
|
-
description: "The
|
|
938
|
+
description: "The DIDs to detach."
|
|
939
939
|
type: array
|
|
940
940
|
items:
|
|
941
941
|
type: object
|
|
942
942
|
properties:
|
|
943
943
|
scope:
|
|
944
|
-
description: "The scope of the
|
|
944
|
+
description: "The scope of the DID."
|
|
945
945
|
type: string
|
|
946
946
|
name:
|
|
947
|
-
description: "The name of the
|
|
947
|
+
description: "The name of the DID."
|
|
948
948
|
type: string
|
|
949
949
|
responses:
|
|
950
950
|
200:
|
|
@@ -952,7 +952,7 @@ class Attachment(ErrorHandlingMethodView):
|
|
|
952
952
|
401:
|
|
953
953
|
description: "Invalid Auth Token"
|
|
954
954
|
404:
|
|
955
|
-
description: "
|
|
955
|
+
description: "DID not found"
|
|
956
956
|
"""
|
|
957
957
|
try:
|
|
958
958
|
scope, name = parse_scope_name(scope_name, request.environ['vo'])
|
|
@@ -987,33 +987,33 @@ class AttachmentHistory(ErrorHandlingMethodView):
|
|
|
987
987
|
parameters:
|
|
988
988
|
- name: scope_name
|
|
989
989
|
in: path
|
|
990
|
-
description: "The scope and the name of the
|
|
990
|
+
description: "The scope and the name of the DID."
|
|
991
991
|
schema:
|
|
992
992
|
type: string
|
|
993
993
|
style: simple
|
|
994
994
|
responses:
|
|
995
995
|
200:
|
|
996
|
-
description: "
|
|
996
|
+
description: "DID found"
|
|
997
997
|
content:
|
|
998
998
|
application/x-json-stream:
|
|
999
999
|
schema:
|
|
1000
|
-
description: "The
|
|
1000
|
+
description: "The DIDs with their information and history. Elements are separated by new line characters."
|
|
1001
1001
|
type: array
|
|
1002
1002
|
items:
|
|
1003
1003
|
type: object
|
|
1004
|
-
description: "A single
|
|
1004
|
+
description: "A single DID with history data."
|
|
1005
1005
|
properties:
|
|
1006
1006
|
scope:
|
|
1007
|
-
description: "The scope of the
|
|
1007
|
+
description: "The scope of the DID."
|
|
1008
1008
|
type: string
|
|
1009
1009
|
name:
|
|
1010
|
-
description: "The name of the
|
|
1010
|
+
description: "The name of the DID."
|
|
1011
1011
|
type: string
|
|
1012
1012
|
type:
|
|
1013
|
-
description: "The type of the
|
|
1013
|
+
description: "The type of the DID."
|
|
1014
1014
|
type: string
|
|
1015
1015
|
bytes:
|
|
1016
|
-
description: "The size of the
|
|
1016
|
+
description: "The size of the DID in bytes."
|
|
1017
1017
|
type: integer
|
|
1018
1018
|
adler32:
|
|
1019
1019
|
description: "The abler32 sha checksum."
|
|
@@ -1028,12 +1028,12 @@ class AttachmentHistory(ErrorHandlingMethodView):
|
|
|
1028
1028
|
description: "The created_at date time."
|
|
1029
1029
|
type: string
|
|
1030
1030
|
updated_at:
|
|
1031
|
-
description: "The last time the
|
|
1031
|
+
description: "The last time the DID was updated."
|
|
1032
1032
|
type: string
|
|
1033
1033
|
401:
|
|
1034
1034
|
description: "Invalid Auth Token"
|
|
1035
1035
|
404:
|
|
1036
|
-
description: "
|
|
1036
|
+
description: "DID not found"
|
|
1037
1037
|
406:
|
|
1038
1038
|
description: "Not acceptable"
|
|
1039
1039
|
"""
|
|
@@ -1058,13 +1058,13 @@ class Files(ErrorHandlingMethodView):
|
|
|
1058
1058
|
"""
|
|
1059
1059
|
---
|
|
1060
1060
|
summary: Get replicas
|
|
1061
|
-
description: "List all replicas for a
|
|
1061
|
+
description: "List all replicas for a DID."
|
|
1062
1062
|
tags:
|
|
1063
1063
|
- Data Identifiers
|
|
1064
1064
|
parameters:
|
|
1065
1065
|
- name: scope_name
|
|
1066
1066
|
in: path
|
|
1067
|
-
description: "The scope and the name of the
|
|
1067
|
+
description: "The scope and the name of the DID."
|
|
1068
1068
|
schema:
|
|
1069
1069
|
type: string
|
|
1070
1070
|
style: simple
|
|
@@ -1087,19 +1087,19 @@ class Files(ErrorHandlingMethodView):
|
|
|
1087
1087
|
type: object
|
|
1088
1088
|
properties:
|
|
1089
1089
|
scope:
|
|
1090
|
-
description: "The scope of the
|
|
1090
|
+
description: "The scope of the DID."
|
|
1091
1091
|
type: string
|
|
1092
1092
|
name:
|
|
1093
|
-
description: "The name of the
|
|
1093
|
+
description: "The name of the DID."
|
|
1094
1094
|
type: string
|
|
1095
1095
|
bytes:
|
|
1096
|
-
description: "The size of the
|
|
1096
|
+
description: "The size of the DID in bytes."
|
|
1097
1097
|
type: integer
|
|
1098
1098
|
guid:
|
|
1099
|
-
description: "The guid of the
|
|
1099
|
+
description: "The guid of the DID."
|
|
1100
1100
|
type: string
|
|
1101
1101
|
events:
|
|
1102
|
-
description: "The number of events of the
|
|
1102
|
+
description: "The number of events of the DID."
|
|
1103
1103
|
type: integer
|
|
1104
1104
|
adler32:
|
|
1105
1105
|
description: "The adler32 checksum."
|
|
@@ -1113,19 +1113,19 @@ class Files(ErrorHandlingMethodView):
|
|
|
1113
1113
|
type: object
|
|
1114
1114
|
properties:
|
|
1115
1115
|
scope:
|
|
1116
|
-
description: "The scope of the
|
|
1116
|
+
description: "The scope of the DID."
|
|
1117
1117
|
type: string
|
|
1118
1118
|
name:
|
|
1119
|
-
description: "The name of the
|
|
1119
|
+
description: "The name of the DID."
|
|
1120
1120
|
type: string
|
|
1121
1121
|
bytes:
|
|
1122
|
-
description: "The size of the
|
|
1122
|
+
description: "The size of the DID in bytes."
|
|
1123
1123
|
type: integer
|
|
1124
1124
|
guid:
|
|
1125
|
-
description: "The guid of the
|
|
1125
|
+
description: "The guid of the DID."
|
|
1126
1126
|
type: string
|
|
1127
1127
|
events:
|
|
1128
|
-
description: "The number of events of the
|
|
1128
|
+
description: "The number of events of the DID."
|
|
1129
1129
|
type: integer
|
|
1130
1130
|
adler32:
|
|
1131
1131
|
description: "The adler32 checksum."
|
|
@@ -1133,7 +1133,7 @@ class Files(ErrorHandlingMethodView):
|
|
|
1133
1133
|
401:
|
|
1134
1134
|
description: "Invalid Auth Token"
|
|
1135
1135
|
404:
|
|
1136
|
-
description: "
|
|
1136
|
+
description: "DID not found"
|
|
1137
1137
|
406:
|
|
1138
1138
|
description: "Not acceptable"
|
|
1139
1139
|
"""
|
|
@@ -1160,7 +1160,7 @@ class BulkFiles(ErrorHandlingMethodView):
|
|
|
1160
1160
|
"""
|
|
1161
1161
|
---
|
|
1162
1162
|
summary: List files bulk
|
|
1163
|
-
description: "List files in multiple
|
|
1163
|
+
description: "List files in multiple DIDs"
|
|
1164
1164
|
tags:
|
|
1165
1165
|
- Data Identifiers
|
|
1166
1166
|
requestBody:
|
|
@@ -1169,17 +1169,17 @@ class BulkFiles(ErrorHandlingMethodView):
|
|
|
1169
1169
|
schema:
|
|
1170
1170
|
type: array
|
|
1171
1171
|
items:
|
|
1172
|
-
description: "One
|
|
1172
|
+
description: "One DID to list files."
|
|
1173
1173
|
type: object
|
|
1174
1174
|
required:
|
|
1175
1175
|
- scope
|
|
1176
1176
|
- name
|
|
1177
1177
|
properties:
|
|
1178
1178
|
scope:
|
|
1179
|
-
description: "The
|
|
1179
|
+
description: "The DID scope."
|
|
1180
1180
|
type: string
|
|
1181
1181
|
name:
|
|
1182
|
-
description: "The
|
|
1182
|
+
description: "The DID name."
|
|
1183
1183
|
type: string
|
|
1184
1184
|
responses:
|
|
1185
1185
|
201:
|
|
@@ -1194,25 +1194,25 @@ class BulkFiles(ErrorHandlingMethodView):
|
|
|
1194
1194
|
type: object
|
|
1195
1195
|
properties:
|
|
1196
1196
|
parent_scope:
|
|
1197
|
-
description: "The scope of the parent
|
|
1197
|
+
description: "The scope of the parent DID."
|
|
1198
1198
|
type: string
|
|
1199
1199
|
parent_name:
|
|
1200
|
-
description: "The name of the parent
|
|
1200
|
+
description: "The name of the parent DID."
|
|
1201
1201
|
type: string
|
|
1202
1202
|
scope:
|
|
1203
|
-
description: "The scope of the
|
|
1203
|
+
description: "The scope of the DID."
|
|
1204
1204
|
type: string
|
|
1205
1205
|
name:
|
|
1206
|
-
description: "The name of the
|
|
1206
|
+
description: "The name of the DID."
|
|
1207
1207
|
type: string
|
|
1208
1208
|
bytes:
|
|
1209
|
-
description: "The size of the
|
|
1209
|
+
description: "The size of the DID in bytes."
|
|
1210
1210
|
type: integer
|
|
1211
1211
|
guid:
|
|
1212
|
-
description: "The guid of the
|
|
1212
|
+
description: "The guid of the DID."
|
|
1213
1213
|
type: string
|
|
1214
1214
|
events:
|
|
1215
|
-
description: "The number of events of the
|
|
1215
|
+
description: "The number of events of the DID."
|
|
1216
1216
|
type: integer
|
|
1217
1217
|
adler32:
|
|
1218
1218
|
description: "The adler32 checksum."
|
|
@@ -1240,13 +1240,13 @@ class Parents(ErrorHandlingMethodView):
|
|
|
1240
1240
|
"""
|
|
1241
1241
|
---
|
|
1242
1242
|
summary: Get Parents
|
|
1243
|
-
description: "Lists all parents of the
|
|
1243
|
+
description: "Lists all parents of the DID."
|
|
1244
1244
|
tags:
|
|
1245
1245
|
- Data Identifiers
|
|
1246
1246
|
parameters:
|
|
1247
1247
|
- name: scope_name
|
|
1248
1248
|
in: path
|
|
1249
|
-
description: "The scope and the name of the
|
|
1249
|
+
description: "The scope and the name of the DID."
|
|
1250
1250
|
schema:
|
|
1251
1251
|
type: string
|
|
1252
1252
|
style: simple
|
|
@@ -1256,25 +1256,25 @@ class Parents(ErrorHandlingMethodView):
|
|
|
1256
1256
|
content:
|
|
1257
1257
|
application/x-json-stream:
|
|
1258
1258
|
schema:
|
|
1259
|
-
description: "The parents of the
|
|
1259
|
+
description: "The parents of the DID."
|
|
1260
1260
|
type: array
|
|
1261
1261
|
items:
|
|
1262
1262
|
type: object
|
|
1263
|
-
description: "A parent of the
|
|
1263
|
+
description: "A parent of the DID."
|
|
1264
1264
|
properties:
|
|
1265
1265
|
scope:
|
|
1266
|
-
description: "The scope of the
|
|
1266
|
+
description: "The scope of the DID."
|
|
1267
1267
|
type: string
|
|
1268
1268
|
name:
|
|
1269
|
-
description: "The name of the
|
|
1269
|
+
description: "The name of the DID."
|
|
1270
1270
|
type: string
|
|
1271
1271
|
type:
|
|
1272
|
-
description: "The type of the
|
|
1272
|
+
description: "The type of the DID."
|
|
1273
1273
|
type: string
|
|
1274
1274
|
401:
|
|
1275
1275
|
description: "Invalid Auth Token"
|
|
1276
1276
|
404:
|
|
1277
|
-
description: "
|
|
1277
|
+
description: "DID not found"
|
|
1278
1278
|
406:
|
|
1279
1279
|
description: "Not acceptable"
|
|
1280
1280
|
"""
|
|
@@ -1299,13 +1299,13 @@ class Meta(ErrorHandlingMethodView):
|
|
|
1299
1299
|
"""
|
|
1300
1300
|
---
|
|
1301
1301
|
summary: Get metadata
|
|
1302
|
-
description: "Get the metadata of a
|
|
1302
|
+
description: "Get the metadata of a DID."
|
|
1303
1303
|
tags:
|
|
1304
1304
|
- Data Identifiers
|
|
1305
1305
|
parameters:
|
|
1306
1306
|
- name: scope_name
|
|
1307
1307
|
in: path
|
|
1308
|
-
description: "The scope and the name of the
|
|
1308
|
+
description: "The scope and the name of the DID."
|
|
1309
1309
|
schema:
|
|
1310
1310
|
type: string
|
|
1311
1311
|
style: simple
|
|
@@ -1328,7 +1328,7 @@ class Meta(ErrorHandlingMethodView):
|
|
|
1328
1328
|
401:
|
|
1329
1329
|
description: "Invalid Auth Token"
|
|
1330
1330
|
404:
|
|
1331
|
-
description: "
|
|
1331
|
+
description: "DID not found"
|
|
1332
1332
|
406:
|
|
1333
1333
|
description: "Not acceptable"
|
|
1334
1334
|
"""
|
|
@@ -1350,13 +1350,13 @@ class Meta(ErrorHandlingMethodView):
|
|
|
1350
1350
|
"""
|
|
1351
1351
|
---
|
|
1352
1352
|
summary: Add metadata
|
|
1353
|
-
description: "Add metadata to a
|
|
1353
|
+
description: "Add metadata to a DID."
|
|
1354
1354
|
tags:
|
|
1355
1355
|
- Data Identifiers
|
|
1356
1356
|
parameters:
|
|
1357
1357
|
- name: scope_name
|
|
1358
1358
|
in: path
|
|
1359
|
-
description: "The scope and the name of the
|
|
1359
|
+
description: "The scope and the name of the DID."
|
|
1360
1360
|
schema:
|
|
1361
1361
|
type: string
|
|
1362
1362
|
style: simple
|
|
@@ -1420,13 +1420,13 @@ class Meta(ErrorHandlingMethodView):
|
|
|
1420
1420
|
"""
|
|
1421
1421
|
---
|
|
1422
1422
|
summary: Delete metadata
|
|
1423
|
-
description: "Deletes the specified metadata from the
|
|
1423
|
+
description: "Deletes the specified metadata from the DID."
|
|
1424
1424
|
tags:
|
|
1425
1425
|
- Data Identifiers
|
|
1426
1426
|
parameters:
|
|
1427
1427
|
- name: scope_name
|
|
1428
1428
|
in: path
|
|
1429
|
-
description: "The scope and the name of the
|
|
1429
|
+
description: "The scope and the name of the DID."
|
|
1430
1430
|
schema:
|
|
1431
1431
|
type: string
|
|
1432
1432
|
style: simple
|
|
@@ -1443,7 +1443,7 @@ class Meta(ErrorHandlingMethodView):
|
|
|
1443
1443
|
401:
|
|
1444
1444
|
description: "Invalid Auth Token"
|
|
1445
1445
|
404:
|
|
1446
|
-
description: "
|
|
1446
|
+
description: "DID or key not found"
|
|
1447
1447
|
406:
|
|
1448
1448
|
description: "Not acceptable"
|
|
1449
1449
|
409:
|
|
@@ -1474,13 +1474,13 @@ class SingleMeta(ErrorHandlingMethodView):
|
|
|
1474
1474
|
"""
|
|
1475
1475
|
---
|
|
1476
1476
|
summary: Add metadata
|
|
1477
|
-
description: "Add metadata to a
|
|
1477
|
+
description: "Add metadata to a DID."
|
|
1478
1478
|
tags:
|
|
1479
1479
|
- Data Identifiers
|
|
1480
1480
|
parameters:
|
|
1481
1481
|
- name: scope_name
|
|
1482
1482
|
in: path
|
|
1483
|
-
description: "The scope and the name of the
|
|
1483
|
+
description: "The scope and the name of the DID."
|
|
1484
1484
|
schema:
|
|
1485
1485
|
type: string
|
|
1486
1486
|
style: simple
|
|
@@ -1512,7 +1512,7 @@ class SingleMeta(ErrorHandlingMethodView):
|
|
|
1512
1512
|
401:
|
|
1513
1513
|
description: "Invalid Auth Token"
|
|
1514
1514
|
404:
|
|
1515
|
-
description: "
|
|
1515
|
+
description: "DID not found"
|
|
1516
1516
|
406:
|
|
1517
1517
|
description: "Not acceptable"
|
|
1518
1518
|
409:
|
|
@@ -1566,17 +1566,17 @@ class BulkDIDsMeta(ErrorHandlingMethodView):
|
|
|
1566
1566
|
- dids
|
|
1567
1567
|
properties:
|
|
1568
1568
|
dids:
|
|
1569
|
-
description: "A list with all the
|
|
1569
|
+
description: "A list with all the DIDs and the metadata."
|
|
1570
1570
|
type: array
|
|
1571
1571
|
items:
|
|
1572
|
-
description: "The
|
|
1572
|
+
description: "The DID and associated metadata."
|
|
1573
1573
|
type: object
|
|
1574
1574
|
properties:
|
|
1575
1575
|
scope:
|
|
1576
|
-
description: "The scope of the
|
|
1576
|
+
description: "The scope of the DID."
|
|
1577
1577
|
type: string
|
|
1578
1578
|
name:
|
|
1579
|
-
description: "The name of the
|
|
1579
|
+
description: "The name of the DID."
|
|
1580
1580
|
type: string
|
|
1581
1581
|
meta:
|
|
1582
1582
|
description: "The metadata to add. A dictionary with the meta key as key and the value as value."
|
|
@@ -1592,7 +1592,7 @@ class BulkDIDsMeta(ErrorHandlingMethodView):
|
|
|
1592
1592
|
401:
|
|
1593
1593
|
description: "Invalid Auth Token"
|
|
1594
1594
|
404:
|
|
1595
|
-
description: "
|
|
1595
|
+
description: "DID not found"
|
|
1596
1596
|
406:
|
|
1597
1597
|
description: "Not acceptable"
|
|
1598
1598
|
409:
|
|
@@ -1620,23 +1620,23 @@ class Rules(ErrorHandlingMethodView):
|
|
|
1620
1620
|
"""
|
|
1621
1621
|
---
|
|
1622
1622
|
summary: Get rules
|
|
1623
|
-
description: "Lists all rules of a given
|
|
1623
|
+
description: "Lists all rules of a given DID."
|
|
1624
1624
|
tags:
|
|
1625
1625
|
- Data Identifiers
|
|
1626
1626
|
parameters:
|
|
1627
1627
|
- name: scope_name
|
|
1628
1628
|
in: path
|
|
1629
|
-
description: "The scope and the name of the
|
|
1629
|
+
description: "The scope and the name of the DID."
|
|
1630
1630
|
schema:
|
|
1631
1631
|
type: string
|
|
1632
1632
|
style: simple
|
|
1633
1633
|
responses:
|
|
1634
1634
|
200:
|
|
1635
|
-
description: "The rules associated with a
|
|
1635
|
+
description: "The rules associated with a DID."
|
|
1636
1636
|
content:
|
|
1637
1637
|
application/x-json-stream:
|
|
1638
1638
|
schema:
|
|
1639
|
-
description: "The rules associated with a
|
|
1639
|
+
description: "The rules associated with a DID."
|
|
1640
1640
|
type: array
|
|
1641
1641
|
items:
|
|
1642
1642
|
description: "A rule."
|
|
@@ -1644,7 +1644,7 @@ class Rules(ErrorHandlingMethodView):
|
|
|
1644
1644
|
401:
|
|
1645
1645
|
description: "Invalid Auth Token"
|
|
1646
1646
|
404:
|
|
1647
|
-
description: "
|
|
1647
|
+
description: "DID or rule not found"
|
|
1648
1648
|
406:
|
|
1649
1649
|
description: "Not acceptable"
|
|
1650
1650
|
"""
|
|
@@ -1684,24 +1684,24 @@ class BulkMeta(ErrorHandlingMethodView):
|
|
|
1684
1684
|
- dids
|
|
1685
1685
|
properties:
|
|
1686
1686
|
dids:
|
|
1687
|
-
description: "The
|
|
1687
|
+
description: "The DIDs."
|
|
1688
1688
|
type: array
|
|
1689
1689
|
items:
|
|
1690
|
-
description: "A
|
|
1690
|
+
description: "A DID."
|
|
1691
1691
|
type: object
|
|
1692
1692
|
properties:
|
|
1693
1693
|
name:
|
|
1694
|
-
description: "The name of the
|
|
1694
|
+
description: "The name of the DID."
|
|
1695
1695
|
type: string
|
|
1696
1696
|
scope:
|
|
1697
|
-
description: "The scope of the
|
|
1697
|
+
description: "The scope of the DID."
|
|
1698
1698
|
type: string
|
|
1699
1699
|
inherit:
|
|
1700
1700
|
description: "Concatenated the metadata of the parent if set to true."
|
|
1701
1701
|
type: boolean
|
|
1702
1702
|
default: false
|
|
1703
1703
|
plugin:
|
|
1704
|
-
description: "The
|
|
1704
|
+
description: "The DID meta plugin to query or 'ALL' for all available plugins"
|
|
1705
1705
|
type: string
|
|
1706
1706
|
default: "JSON"
|
|
1707
1707
|
responses:
|
|
@@ -1710,17 +1710,17 @@ class BulkMeta(ErrorHandlingMethodView):
|
|
|
1710
1710
|
content:
|
|
1711
1711
|
application/json:
|
|
1712
1712
|
schema:
|
|
1713
|
-
description: "A list of metadata identifiers for the
|
|
1713
|
+
description: "A list of metadata identifiers for the DIDs. Separated by new lines."
|
|
1714
1714
|
type: array
|
|
1715
1715
|
items:
|
|
1716
|
-
description: "The metadata for one
|
|
1716
|
+
description: "The metadata for one DID."
|
|
1717
1717
|
type: object
|
|
1718
1718
|
400:
|
|
1719
1719
|
description: "Cannot decode json parameter list"
|
|
1720
1720
|
401:
|
|
1721
1721
|
description: "Invalid Auth Token"
|
|
1722
1722
|
404:
|
|
1723
|
-
description: "
|
|
1723
|
+
description: "DID not found"
|
|
1724
1724
|
406:
|
|
1725
1725
|
description: "Not acceptable"
|
|
1726
1726
|
"""
|
|
@@ -1754,7 +1754,7 @@ class AssociatedRules(ErrorHandlingMethodView):
|
|
|
1754
1754
|
parameters:
|
|
1755
1755
|
- name: scope_name
|
|
1756
1756
|
in: path
|
|
1757
|
-
description: "The scope and the name of the
|
|
1757
|
+
description: "The scope and the name of the DID."
|
|
1758
1758
|
schema:
|
|
1759
1759
|
type: string
|
|
1760
1760
|
style: simple
|
|
@@ -1794,7 +1794,7 @@ class AssociatedRules(ErrorHandlingMethodView):
|
|
|
1794
1794
|
401:
|
|
1795
1795
|
description: "Invalid Auth Token"
|
|
1796
1796
|
404:
|
|
1797
|
-
description: "
|
|
1797
|
+
description: "DID not found"
|
|
1798
1798
|
406:
|
|
1799
1799
|
description: "Not acceptable"
|
|
1800
1800
|
"""
|
|
@@ -1850,7 +1850,7 @@ class GUIDLookup(ErrorHandlingMethodView):
|
|
|
1850
1850
|
401:
|
|
1851
1851
|
description: "Invalid Auth Token"
|
|
1852
1852
|
404:
|
|
1853
|
-
description: "
|
|
1853
|
+
description: "DID not found"
|
|
1854
1854
|
406:
|
|
1855
1855
|
description: "Not acceptable"
|
|
1856
1856
|
"""
|
|
@@ -2029,7 +2029,7 @@ class NewDIDs(ErrorHandlingMethodView):
|
|
|
2029
2029
|
parameters:
|
|
2030
2030
|
- name: type
|
|
2031
2031
|
in: query
|
|
2032
|
-
description: "The type of the
|
|
2032
|
+
description: "The type of the DID."
|
|
2033
2033
|
schema:
|
|
2034
2034
|
type: string
|
|
2035
2035
|
required: false
|
|
@@ -2039,20 +2039,20 @@ class NewDIDs(ErrorHandlingMethodView):
|
|
|
2039
2039
|
content:
|
|
2040
2040
|
application/x-json-stream:
|
|
2041
2041
|
schema:
|
|
2042
|
-
description: "A list of the recent
|
|
2042
|
+
description: "A list of the recent DIDs. Items are separated by new line characters."
|
|
2043
2043
|
type: array
|
|
2044
2044
|
items:
|
|
2045
|
-
description: "A
|
|
2045
|
+
description: "A DID."
|
|
2046
2046
|
type: object
|
|
2047
2047
|
properties:
|
|
2048
2048
|
scope:
|
|
2049
|
-
description: "The scope of the
|
|
2049
|
+
description: "The scope of the DID."
|
|
2050
2050
|
type: string
|
|
2051
2051
|
name:
|
|
2052
|
-
description: "The name of the
|
|
2052
|
+
description: "The name of the DID."
|
|
2053
2053
|
type: string
|
|
2054
2054
|
did_type:
|
|
2055
|
-
description: "The type of the
|
|
2055
|
+
description: "The type of the DID."
|
|
2056
2056
|
type: string
|
|
2057
2057
|
401:
|
|
2058
2058
|
description: "Invalid Auth Token"
|
|
@@ -2073,25 +2073,25 @@ class Resurrect(ErrorHandlingMethodView):
|
|
|
2073
2073
|
def post(self):
|
|
2074
2074
|
"""
|
|
2075
2075
|
---
|
|
2076
|
-
summary: Resurrect
|
|
2077
|
-
description: "Resurrect all given
|
|
2076
|
+
summary: Resurrect DIDs
|
|
2077
|
+
description: "Resurrect all given DIDs."
|
|
2078
2078
|
tags:
|
|
2079
2079
|
- Data Identifiers
|
|
2080
2080
|
requestBody:
|
|
2081
2081
|
content:
|
|
2082
2082
|
'application/json':
|
|
2083
2083
|
schema:
|
|
2084
|
-
description: "List of
|
|
2084
|
+
description: "List of DIDs to resurrect."
|
|
2085
2085
|
type: array
|
|
2086
2086
|
items:
|
|
2087
|
-
description: "A
|
|
2087
|
+
description: "A DID to resurrect."
|
|
2088
2088
|
type: object
|
|
2089
2089
|
properties:
|
|
2090
2090
|
scope:
|
|
2091
|
-
description: "The scope of the
|
|
2091
|
+
description: "The scope of the DID."
|
|
2092
2092
|
type: string
|
|
2093
2093
|
name:
|
|
2094
|
-
description: "The name of the
|
|
2094
|
+
description: "The name of the DID"
|
|
2095
2095
|
type: string
|
|
2096
2096
|
responses:
|
|
2097
2097
|
201:
|
|
@@ -2130,13 +2130,13 @@ class Follow(ErrorHandlingMethodView):
|
|
|
2130
2130
|
"""
|
|
2131
2131
|
---
|
|
2132
2132
|
summary: Get followers
|
|
2133
|
-
description: "Get all followers for a specific
|
|
2133
|
+
description: "Get all followers for a specific DID."
|
|
2134
2134
|
tags:
|
|
2135
2135
|
- Data Identifiers
|
|
2136
2136
|
parameters:
|
|
2137
2137
|
- name: scope_name
|
|
2138
2138
|
in: path
|
|
2139
|
-
description: "The scope and the name of the
|
|
2139
|
+
description: "The scope and the name of the DID."
|
|
2140
2140
|
schema:
|
|
2141
2141
|
type: string
|
|
2142
2142
|
style: simple
|
|
@@ -2146,21 +2146,21 @@ class Follow(ErrorHandlingMethodView):
|
|
|
2146
2146
|
content:
|
|
2147
2147
|
application/json:
|
|
2148
2148
|
schema:
|
|
2149
|
-
description: "A list of all followers of a
|
|
2149
|
+
description: "A list of all followers of a DID."
|
|
2150
2150
|
type: array
|
|
2151
2151
|
items:
|
|
2152
|
-
description: "A follower of a
|
|
2152
|
+
description: "A follower of a DID."
|
|
2153
2153
|
type: object
|
|
2154
2154
|
properties:
|
|
2155
2155
|
user:
|
|
2156
|
-
description: "The user which follows the
|
|
2156
|
+
description: "The user which follows the DID."
|
|
2157
2157
|
type: string
|
|
2158
2158
|
400:
|
|
2159
2159
|
description: "Value error"
|
|
2160
2160
|
401:
|
|
2161
2161
|
description: "Invalid Auth Token"
|
|
2162
2162
|
404:
|
|
2163
|
-
description: "
|
|
2163
|
+
description: "DID not found"
|
|
2164
2164
|
406:
|
|
2165
2165
|
description: "Not acceptable"
|
|
2166
2166
|
"""
|
|
@@ -2187,7 +2187,7 @@ class Follow(ErrorHandlingMethodView):
|
|
|
2187
2187
|
parameters:
|
|
2188
2188
|
- name: scope_name
|
|
2189
2189
|
in: path
|
|
2190
|
-
description: "The scope and the name of the
|
|
2190
|
+
description: "The scope and the name of the DID."
|
|
2191
2191
|
schema:
|
|
2192
2192
|
type: string
|
|
2193
2193
|
style: simple
|
|
@@ -2200,7 +2200,7 @@ class Follow(ErrorHandlingMethodView):
|
|
|
2200
2200
|
- account
|
|
2201
2201
|
properties:
|
|
2202
2202
|
account:
|
|
2203
|
-
description: "The account to follow the
|
|
2203
|
+
description: "The account to follow the DID."
|
|
2204
2204
|
type: string
|
|
2205
2205
|
responses:
|
|
2206
2206
|
201:
|
|
@@ -2239,7 +2239,7 @@ class Follow(ErrorHandlingMethodView):
|
|
|
2239
2239
|
parameters:
|
|
2240
2240
|
- name: scope_name
|
|
2241
2241
|
in: path
|
|
2242
|
-
description: "The scope and the name of the
|
|
2242
|
+
description: "The scope and the name of the DID."
|
|
2243
2243
|
schema:
|
|
2244
2244
|
type: string
|
|
2245
2245
|
style: simple
|
|
@@ -2252,7 +2252,7 @@ class Follow(ErrorHandlingMethodView):
|
|
|
2252
2252
|
- account
|
|
2253
2253
|
properties:
|
|
2254
2254
|
account:
|
|
2255
|
-
description: "The account to unfollow the
|
|
2255
|
+
description: "The account to unfollow the DID."
|
|
2256
2256
|
type: string
|
|
2257
2257
|
responses:
|
|
2258
2258
|
200:
|