ddr_client 2.0.0.d9f2bd2b

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +168 -0
  4. data/Rakefile +8 -0
  5. data/ddr_client.gemspec +46 -0
  6. data/docs/BatchObjectsApi.md +125 -0
  7. data/docs/BatchesApi.md +305 -0
  8. data/docs/DdrAPIBatchEntity.md +24 -0
  9. data/docs/DdrAPIBatchEntityLogfile.md +11 -0
  10. data/docs/DdrAPIBatchObjectAttributeEntity.md +16 -0
  11. data/docs/DdrAPIBatchObjectDatastreamEntity.md +17 -0
  12. data/docs/DdrAPIBatchObjectEntity.md +26 -0
  13. data/docs/DdrAPIBatchObjectMessageEntity.md +13 -0
  14. data/docs/DdrAPIBatchObjectRelationshipEntity.md +15 -0
  15. data/docs/DdrAPIBatchObjectRoleEntity.md +15 -0
  16. data/docs/DdrAPIEventEntity.md +17 -0
  17. data/docs/DdrAPIFileEntity.md +11 -0
  18. data/docs/DdrAPIGroupEntity.md +10 -0
  19. data/docs/DdrAPIGroupMemberEntity.md +10 -0
  20. data/docs/DdrAPILinkEntity.md +9 -0
  21. data/docs/DdrAPIResourceEntity.md +17 -0
  22. data/docs/DdrAPIResourceEntityFiles.md +17 -0
  23. data/docs/DdrAPIResourceEntityMetadata.md +62 -0
  24. data/docs/DdrAPIResourceEntityRelated.md +11 -0
  25. data/docs/DdrAPIRoleEntity.md +10 -0
  26. data/docs/DdrAPITechnicalMetadataEntity.md +24 -0
  27. data/docs/DdrAPIUserEntity.md +19 -0
  28. data/docs/EventsApi.md +131 -0
  29. data/docs/GroupsApi.md +63 -0
  30. data/docs/IndexApi.md +161 -0
  31. data/docs/PatchResources.md +11 -0
  32. data/docs/PatchResourcesMetadata.md +62 -0
  33. data/docs/PatchResourcesRelated.md +11 -0
  34. data/docs/PatchResourcesRoles.md +10 -0
  35. data/docs/PostResources.md +12 -0
  36. data/docs/QueuesApi.md +102 -0
  37. data/docs/ReportsApi.md +177 -0
  38. data/docs/ResourcesApi.md +1003 -0
  39. data/docs/SchemaApi.md +128 -0
  40. data/docs/UsersApi.md +131 -0
  41. data/git_push.sh +55 -0
  42. data/lib/ddr_client/api/batch_objects_api.rb +138 -0
  43. data/lib/ddr_client/api/batches_api.rb +306 -0
  44. data/lib/ddr_client/api/events_api.rb +147 -0
  45. data/lib/ddr_client/api/groups_api.rb +70 -0
  46. data/lib/ddr_client/api/index_api.rb +164 -0
  47. data/lib/ddr_client/api/queues_api.rb +109 -0
  48. data/lib/ddr_client/api/reports_api.rb +179 -0
  49. data/lib/ddr_client/api/resources_api.rb +1098 -0
  50. data/lib/ddr_client/api/schema_api.rb +152 -0
  51. data/lib/ddr_client/api/users_api.rb +141 -0
  52. data/lib/ddr_client/api_client.rb +391 -0
  53. data/lib/ddr_client/api_error.rb +38 -0
  54. data/lib/ddr_client/configuration.rb +209 -0
  55. data/lib/ddr_client/models/ddr_api_batch_entity.rb +333 -0
  56. data/lib/ddr_client/models/ddr_api_batch_entity_logfile.rb +211 -0
  57. data/lib/ddr_client/models/ddr_api_batch_object_attribute_entity.rb +256 -0
  58. data/lib/ddr_client/models/ddr_api_batch_object_datastream_entity.rb +265 -0
  59. data/lib/ddr_client/models/ddr_api_batch_object_entity.rb +349 -0
  60. data/lib/ddr_client/models/ddr_api_batch_object_message_entity.rb +230 -0
  61. data/lib/ddr_client/models/ddr_api_batch_object_relationship_entity.rb +247 -0
  62. data/lib/ddr_client/models/ddr_api_batch_object_role_entity.rb +247 -0
  63. data/lib/ddr_client/models/ddr_api_event_entity.rb +325 -0
  64. data/lib/ddr_client/models/ddr_api_file_entity.rb +215 -0
  65. data/lib/ddr_client/models/ddr_api_group_entity.rb +203 -0
  66. data/lib/ddr_client/models/ddr_api_group_member_entity.rb +202 -0
  67. data/lib/ddr_client/models/ddr_api_link_entity.rb +193 -0
  68. data/lib/ddr_client/models/ddr_api_resource_entity.rb +310 -0
  69. data/lib/ddr_client/models/ddr_api_resource_entity_files.rb +276 -0
  70. data/lib/ddr_client/models/ddr_api_resource_entity_metadata.rb +874 -0
  71. data/lib/ddr_client/models/ddr_api_resource_entity_related.rb +216 -0
  72. data/lib/ddr_client/models/ddr_api_role_entity.rb +251 -0
  73. data/lib/ddr_client/models/ddr_api_technical_metadata_entity.rb +329 -0
  74. data/lib/ddr_client/models/ddr_api_user_entity.rb +296 -0
  75. data/lib/ddr_client/models/patch_resources.rb +221 -0
  76. data/lib/ddr_client/models/patch_resources_metadata.rb +726 -0
  77. data/lib/ddr_client/models/patch_resources_related.rb +216 -0
  78. data/lib/ddr_client/models/patch_resources_roles.rb +220 -0
  79. data/lib/ddr_client/models/post_resources.rb +265 -0
  80. data/lib/ddr_client/version.rb +15 -0
  81. data/lib/ddr_client.rb +74 -0
  82. data/spec/api/batch_objects_api_spec.rb +61 -0
  83. data/spec/api/batches_api_spec.rb +100 -0
  84. data/spec/api/events_api_spec.rb +64 -0
  85. data/spec/api/groups_api_spec.rb +46 -0
  86. data/spec/api/index_api_spec.rb +67 -0
  87. data/spec/api/queues_api_spec.rb +55 -0
  88. data/spec/api/reports_api_spec.rb +70 -0
  89. data/spec/api/resources_api_spec.rb +271 -0
  90. data/spec/api/schema_api_spec.rb +65 -0
  91. data/spec/api/users_api_spec.rb +64 -0
  92. data/spec/api_client_spec.rb +243 -0
  93. data/spec/configuration_spec.rb +42 -0
  94. data/spec/models/ddr_api_batch_entity_logfile_spec.rb +59 -0
  95. data/spec/models/ddr_api_batch_entity_spec.rb +137 -0
  96. data/spec/models/ddr_api_batch_object_attribute_entity_spec.rb +89 -0
  97. data/spec/models/ddr_api_batch_object_datastream_entity_spec.rb +95 -0
  98. data/spec/models/ddr_api_batch_object_entity_spec.rb +149 -0
  99. data/spec/models/ddr_api_batch_object_message_entity_spec.rb +71 -0
  100. data/spec/models/ddr_api_batch_object_relationship_entity_spec.rb +83 -0
  101. data/spec/models/ddr_api_batch_object_role_entity_spec.rb +83 -0
  102. data/spec/models/ddr_api_event_entity_spec.rb +103 -0
  103. data/spec/models/ddr_api_file_entity_spec.rb +59 -0
  104. data/spec/models/ddr_api_group_entity_spec.rb +53 -0
  105. data/spec/models/ddr_api_group_member_entity_spec.rb +53 -0
  106. data/spec/models/ddr_api_link_entity_spec.rb +47 -0
  107. data/spec/models/ddr_api_resource_entity_files_spec.rb +95 -0
  108. data/spec/models/ddr_api_resource_entity_metadata_spec.rb +389 -0
  109. data/spec/models/ddr_api_resource_entity_related_spec.rb +59 -0
  110. data/spec/models/ddr_api_resource_entity_spec.rb +99 -0
  111. data/spec/models/ddr_api_role_entity_spec.rb +61 -0
  112. data/spec/models/ddr_api_technical_metadata_entity_spec.rb +137 -0
  113. data/spec/models/ddr_api_user_entity_spec.rb +107 -0
  114. data/spec/models/patch_resources_metadata_spec.rb +365 -0
  115. data/spec/models/patch_resources_related_spec.rb +59 -0
  116. data/spec/models/patch_resources_roles_spec.rb +53 -0
  117. data/spec/models/patch_resources_spec.rb +59 -0
  118. data/spec/models/post_resources_spec.rb +69 -0
  119. data/spec/spec_helper.rb +111 -0
  120. metadata +399 -0
@@ -0,0 +1,24 @@
1
+ # DdrClient::DdrAPIBatchEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **collection_id** | **String** | | [optional]
7
+ **collection_title** | **String** | | [optional]
8
+ **created_at** | **String** | | [optional]
9
+ **description** | **String** | | [optional]
10
+ **id** | **String** | | [optional]
11
+ **name** | **String** | | [optional]
12
+ **outcome** | **String** | | [optional]
13
+ **status** | **String** | | [optional]
14
+ **updated_at** | **String** | | [optional]
15
+ **version** | **String** | | [optional]
16
+ **started_at** | **String** | | [optional]
17
+ **stopped_at** | **String** | | [optional]
18
+ **processing_started_at** | **String** | | [optional]
19
+ **logfile** | [**DdrAPIBatchEntityLogfile**](DdrAPIBatchEntityLogfile.md) | | [optional]
20
+ **user** | [**DdrAPIUserEntity**](DdrAPIUserEntity.md) | | [optional]
21
+ **batch_objects** | [**Array<DdrAPIBatchObjectEntity>**](DdrAPIBatchObjectEntity.md) | | [optional]
22
+ **links** | [**Array<DdrAPILinkEntity>**](DdrAPILinkEntity.md) | | [optional]
23
+
24
+
@@ -0,0 +1,11 @@
1
+ # DdrClient::DdrAPIBatchEntityLogfile
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **file_name** | **String** | | [optional]
7
+ **file_size** | **String** | | [optional]
8
+ **content_type** | **String** | | [optional]
9
+ **updated_at** | **String** | | [optional]
10
+
11
+
@@ -0,0 +1,16 @@
1
+ # DdrClient::DdrAPIBatchObjectAttributeEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | | [optional]
7
+ **batch_object_id** | **String** | | [optional]
8
+ **datastream** | **String** | | [optional]
9
+ **name** | **String** | | [optional]
10
+ **operation** | **String** | | [optional]
11
+ **value** | **String** | | [optional]
12
+ **value_type** | **String** | | [optional]
13
+ **created_at** | **String** | | [optional]
14
+ **updated_at** | **String** | | [optional]
15
+
16
+
@@ -0,0 +1,17 @@
1
+ # DdrClient::DdrAPIBatchObjectDatastreamEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | | [optional]
7
+ **batch_object_id** | **String** | | [optional]
8
+ **operation** | **String** | | [optional]
9
+ **name** | **String** | | [optional]
10
+ **payload** | **String** | | [optional]
11
+ **payload_type** | **String** | | [optional]
12
+ **created_at** | **String** | | [optional]
13
+ **updated_at** | **String** | | [optional]
14
+ **checksum** | **String** | | [optional]
15
+ **checksum_type** | **String** | | [optional]
16
+
17
+
@@ -0,0 +1,26 @@
1
+ # DdrClient::DdrAPIBatchObjectEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | | [optional]
7
+ **batch_id** | **String** | | [optional]
8
+ **identifier** | **String** | | [optional]
9
+ **model** | **String** | | [optional]
10
+ **label** | **String** | | [optional]
11
+ **resource_id** | **String** | | [optional]
12
+ **created_at** | **String** | | [optional]
13
+ **updated_at** | **String** | | [optional]
14
+ **type** | **String** | | [optional]
15
+ **verified** | **String** | | [optional]
16
+ **handled** | **String** | | [optional]
17
+ **processed** | **String** | | [optional]
18
+ **validated** | **String** | | [optional]
19
+ **attributes** | [**DdrAPIBatchObjectAttributeEntity**](DdrAPIBatchObjectAttributeEntity.md) | | [optional]
20
+ **files** | [**DdrAPIBatchObjectDatastreamEntity**](DdrAPIBatchObjectDatastreamEntity.md) | | [optional]
21
+ **messages** | [**DdrAPIBatchObjectMessageEntity**](DdrAPIBatchObjectMessageEntity.md) | | [optional]
22
+ **relationships** | [**DdrAPIBatchObjectRelationshipEntity**](DdrAPIBatchObjectRelationshipEntity.md) | | [optional]
23
+ **roles** | [**DdrAPIBatchObjectRoleEntity**](DdrAPIBatchObjectRoleEntity.md) | | [optional]
24
+ **links** | [**Array<DdrAPILinkEntity>**](DdrAPILinkEntity.md) | | [optional]
25
+
26
+
@@ -0,0 +1,13 @@
1
+ # DdrClient::DdrAPIBatchObjectMessageEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | | [optional]
7
+ **batch_object_id** | **String** | | [optional]
8
+ **level** | **String** | | [optional]
9
+ **message** | **String** | | [optional]
10
+ **created_at** | **String** | | [optional]
11
+ **updated_at** | **String** | | [optional]
12
+
13
+
@@ -0,0 +1,15 @@
1
+ # DdrClient::DdrAPIBatchObjectRelationshipEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | | [optional]
7
+ **batch_object_id** | **String** | | [optional]
8
+ **name** | **String** | | [optional]
9
+ **operation** | **String** | | [optional]
10
+ **object** | **String** | | [optional]
11
+ **object_type** | **String** | | [optional]
12
+ **created_at** | **String** | | [optional]
13
+ **updated_at** | **String** | | [optional]
14
+
15
+
@@ -0,0 +1,15 @@
1
+ # DdrClient::DdrAPIBatchObjectRoleEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | | [optional]
7
+ **batch_object_id** | **String** | | [optional]
8
+ **operation** | **String** | | [optional]
9
+ **agent** | **String** | | [optional]
10
+ **role_type** | **String** | | [optional]
11
+ **role_scope** | **String** | | [optional]
12
+ **created_at** | **String** | | [optional]
13
+ **updated_at** | **String** | | [optional]
14
+
15
+
@@ -0,0 +1,17 @@
1
+ # DdrClient::DdrAPIEventEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | Event ID | [optional]
7
+ **resource_id** | **String** | ID of the resource to which the event pertains | [optional]
8
+ **type** | **String** | Event category | [optional]
9
+ **description** | **String** | Operator comment or automated summary of event action | [optional]
10
+ **event_date_time** | **DateTime** | When the event occurred or was recorded | [optional]
11
+ **outcome** | **String** | Event outcome cast as a success or failure | [optional]
12
+ **software** | **String** | Software associated with the event | [optional] [default to 'ddr-admin 2.0.0+de733cf0']
13
+ **detail** | **String** | Additional description of or information from the event, such as an exception | [optional]
14
+ **operator** | **String** | Person or entity responsible for initiating or causing the event | [optional] [default to 'SYSTEM']
15
+ **links** | [**DdrAPILinkEntity**](DdrAPILinkEntity.md) | | [optional]
16
+
17
+
@@ -0,0 +1,11 @@
1
+ # DdrClient::DdrAPIFileEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **original_filename** | **String** | Original name of file at time of ingest | [optional]
7
+ **media_type** | **String** | Standard internet media type descriptor for file content | [optional]
8
+ **file_path** | **String** | Path to file on a storage device | [optional]
9
+ **sha1** | **String** | SHA1 digest of file contents | [optional]
10
+
11
+
@@ -0,0 +1,10 @@
1
+ # DdrClient::DdrAPIGroupEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | | [optional]
7
+ **label** | **String** | | [optional]
8
+ **members** | [**DdrAPIGroupMemberEntity**](DdrAPIGroupMemberEntity.md) | | [optional]
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # DdrClient::DdrAPIGroupMemberEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | | [optional]
7
+ **name** | **String** | | [optional]
8
+ **type** | **String** | | [optional]
9
+
10
+
@@ -0,0 +1,9 @@
1
+ # DdrClient::DdrAPILinkEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **href** | **String** | | [optional]
7
+ **rel** | **String** | | [optional]
8
+
9
+
@@ -0,0 +1,17 @@
1
+ # DdrClient::DdrAPIResourceEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | Unique resource identifier assigned by the repository | [optional]
7
+ **model** | **String** | The model type of the resource | [optional]
8
+ **created_at** | **DateTime** | Creation time of the database record (may differ from ingestion date) | [optional]
9
+ **updated_at** | **DateTime** | Modification time of the database record | [optional]
10
+ **optimistic_lock_token** | **String** | Token required for update with optimistic locking | [optional]
11
+ **metadata** | [**DdrAPIResourceEntityMetadata**](DdrAPIResourceEntityMetadata.md) | | [optional]
12
+ **roles** | [**Array<DdrAPIRoleEntity>**](DdrAPIRoleEntity.md) | Role-based access control assertions on the resource | [optional]
13
+ **files** | [**DdrAPIResourceEntityFiles**](DdrAPIResourceEntityFiles.md) | | [optional]
14
+ **related** | [**DdrAPIResourceEntityRelated**](DdrAPIResourceEntityRelated.md) | | [optional]
15
+ **links** | [**Array<DdrAPILinkEntity>**](DdrAPILinkEntity.md) | | [optional]
16
+
17
+
@@ -0,0 +1,17 @@
1
+ # DdrClient::DdrAPIResourceEntityFiles
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **caption** | [**DdrAPIFileEntity**](DdrAPIFileEntity.md) | http://pcdm.org/use#Transcript | [optional]
7
+ **content** | [**DdrAPIFileEntity**](DdrAPIFileEntity.md) | http://pcdm.org/use#OriginalFile | [optional]
8
+ **derived_image** | [**DdrAPIFileEntity**](DdrAPIFileEntity.md) | http://pcdm.org/use#ServiceFile | [optional]
9
+ **extracted_text** | [**DdrAPIFileEntity**](DdrAPIFileEntity.md) | http://pcdm.org/use#ExtractedText | [optional]
10
+ **fits_file** | [**DdrAPIFileEntity**](DdrAPIFileEntity.md) | FITS XML file characterization data for the original file | [optional]
11
+ **intermediate_file** | [**DdrAPIFileEntity**](DdrAPIFileEntity.md) | http://pcdm.org/use#IntermediateFile | [optional]
12
+ **multires_image** | [**DdrAPIFileEntity**](DdrAPIFileEntity.md) | Derivative file for UI support | [optional]
13
+ **streamable_media** | [**DdrAPIFileEntity**](DdrAPIFileEntity.md) | Derivative file used for streaming | [optional]
14
+ **struct_metadata** | [**DdrAPIFileEntity**](DdrAPIFileEntity.md) | Structural metadata for the resource | [optional]
15
+ **thumbnail** | [**DdrAPIFileEntity**](DdrAPIFileEntity.md) | http://pcdm.org/use#ThumbnailImage | [optional]
16
+
17
+
@@ -0,0 +1,62 @@
1
+ # DdrClient::DdrAPIResourceEntityMetadata
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **abstract** | **Array<String>** | http://purl.org/dc/terms/abstract | [optional]
7
+ **access_rights** | **Array<String>** | http://purl.org/dc/terms/accessRights | [optional]
8
+ **alternative** | **Array<String>** | http://purl.org/dc/terms/alternative | [optional]
9
+ **available** | **DateTime** | http://purl.org/dc/terms/available | [optional]
10
+ **contributor** | **Array<String>** | http://purl.org/dc/terms/contributor | [optional]
11
+ **creator** | **Array<String>** | http://purl.org/dc/terms/creator | [optional]
12
+ **date** | **Array<String>** | http://purl.org/dc/terms/date | [optional]
13
+ **description** | **Array<String>** | http://purl.org/dc/terms/description | [optional]
14
+ **extent** | **Array<String>** | http://purl.org/dc/terms/extent | [optional]
15
+ **format** | **Array<String>** | http://purl.org/dc/terms/format | [optional]
16
+ **has_part** | **Array<String>** | http://purl.org/dc/terms/hasPart | [optional]
17
+ **identifier** | **Array<String>** | http://purl.org/dc/terms/identifier | [optional]
18
+ **is_format_of** | **Array<String>** | http://purl.org/dc/terms/isFormatOf | [optional]
19
+ **is_part_of** | **Array<String>** | http://purl.org/dc/terms/isPartOf | [optional]
20
+ **language** | **Array<String>** | http://purl.org/dc/terms/language | [optional]
21
+ **medium** | **Array<String>** | http://purl.org/dc/terms/medium | [optional]
22
+ **provenance** | **Array<String>** | http://purl.org/dc/terms/provenance | [optional]
23
+ **publisher** | **Array<String>** | http://purl.org/dc/terms/publisher | [optional]
24
+ **relation** | **Array<String>** | http://purl.org/dc/terms/relation | [optional]
25
+ **rights** | **Array<String>** | http://purl.org/dc/terms/rights | [optional]
26
+ **spatial** | **Array<String>** | http://purl.org/dc/terms/spatial | [optional]
27
+ **subject** | **Array<String>** | http://purl.org/dc/terms/subject | [optional]
28
+ **title** | **Array<String>** | http://purl.org/dc/terms/title | [optional]
29
+ **type** | **Array<String>** | http://purl.org/dc/terms/type | [optional]
30
+ **admin_set** | **String** | Administrative group to which the collection belongs | [optional]
31
+ **aleph_id** | **String** | Aleph identifier | [optional]
32
+ **aspace_id** | **String** | ArchivesSpace identifier | [optional]
33
+ **contentdm_id** | **String** | CONTENTdm identifier (deprecated) | [optional]
34
+ **display_format** | **String** | Display Format | [optional]
35
+ **doi** | **String** | Digital Object Identifier (doi.org) | [optional]
36
+ **ead_id** | **String** | Source collection identifier | [optional]
37
+ **fcrepo3_pid** | **String** | Resource ID from defunct Fedora 3 repository | [optional]
38
+ **ingested_by** | **String** | Person or entity responsible for ingest | [optional]
39
+ **ingestion_date** | **DateTime** | Date/time of original ingest (may differ from created_at) | [optional]
40
+ **local_id** | **String** | Digital Collections identifier | [optional]
41
+ **nested_path** | **String** | Path to original file from root ingest folder | [optional]
42
+ **permanent_id** | **String** | Permanent identifier (ARK) assigned to the resource | [optional]
43
+ **permanent_url** | **String** | Permalink to the end-user representation of the resource. | [optional]
44
+ **research_help_contact** | **String** | Research Help Contact | [optional]
45
+ **rights_note** | **Array<String>** | Rights Note | [optional]
46
+ **workflow_state** | **String** | Workflow State | [optional] [default to 'unpublished']
47
+ **biblical_book** | **Array<String>** | Biblical Book | [optional]
48
+ **category** | **Array<String>** | Category | [optional]
49
+ **chapter_and_verse** | **Array<String>** | Chapter And Verse | [optional]
50
+ **company** | **Array<String>** | Company | [optional]
51
+ **headline** | **Array<String>** | Headline | [optional]
52
+ **issue_number** | **Array<String>** | Issue Number | [optional]
53
+ **placement_company** | **Array<String>** | Placement Company | [optional]
54
+ **product** | **Array<String>** | Product | [optional]
55
+ **publication** | **Array<String>** | Publication | [optional]
56
+ **series** | **Array<String>** | Series | [optional]
57
+ **setting** | **Array<String>** | Setting | [optional]
58
+ **sponsor** | **Array<String>** | Sponsor | [optional]
59
+ **tone** | **Array<String>** | Tone | [optional]
60
+ **volume** | **Array<String>** | Volume | [optional]
61
+
62
+
@@ -0,0 +1,11 @@
1
+ # DdrClient::DdrAPIResourceEntityRelated
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **admin_policy_id** | **String** | ID of the Collection of which this resource is a member | [optional]
7
+ **attached_to_id** | **String** | ID of the resource to which this resource is attached | [optional]
8
+ **parent_id** | **String** | ID of the parent of this resource | [optional]
9
+ **target_id** | **String** | ID of the Target associated with this resource | [optional]
10
+
11
+
@@ -0,0 +1,10 @@
1
+ # DdrClient::DdrAPIRoleEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **role_type** | **String** | Type of access granted | [optional]
7
+ **agent** | **String** | Person or group to whom access is granted | [optional]
8
+ **scope** | **String** | Scope of the access granted | [optional]
9
+
10
+
@@ -0,0 +1,24 @@
1
+ # DdrClient::DdrAPITechnicalMetadataEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | | [optional]
7
+ **local_id** | **String** | | [optional]
8
+ **color_space** | **String** | | [optional]
9
+ **created** | **String** | | [optional]
10
+ **creating_application** | **String** | | [optional]
11
+ **extent** | **String** | | [optional]
12
+ **format_label** | **String** | | [optional]
13
+ **format_version** | **String** | | [optional]
14
+ **icc_profile_name** | **String** | | [optional]
15
+ **icc_profile_version** | **String** | | [optional]
16
+ **image_height** | **String** | | [optional]
17
+ **image_width** | **String** | | [optional]
18
+ **media_type** | **String** | | [optional]
19
+ **modified** | **String** | | [optional]
20
+ **pronom_identifier** | **String** | | [optional]
21
+ **valid** | **String** | | [optional]
22
+ **well_formed** | **String** | | [optional]
23
+
24
+
@@ -0,0 +1,19 @@
1
+ # DdrClient::DdrAPIUserEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | User ID | [optional]
7
+ **username** | **String** | User Name | [optional]
8
+ **netid** | **String** | Duke NetID | [optional]
9
+ **duid** | **String** | Duke Unique ID | [optional]
10
+ **email** | **String** | Email Address | [optional]
11
+ **first_name** | **String** | First Name | [optional]
12
+ **middle_name** | **String** | Middle Name | [optional]
13
+ **nickname** | **String** | Nickname | [optional]
14
+ **last_name** | **String** | Last Name | [optional]
15
+ **display_name** | **String** | Display Name | [optional]
16
+ **created_at** | **DateTime** | Created At | [optional]
17
+ **updated_at** | **DateTime** | Updated At | [optional]
18
+
19
+
data/docs/EventsApi.md ADDED
@@ -0,0 +1,131 @@
1
+ # DdrClient::EventsApi
2
+
3
+ All URIs are relative to *https://example.org/api*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get_events**](EventsApi.md#get_events) | **GET** /events |
8
+ [**get_events_id**](EventsApi.md#get_events_id) | **GET** /events/{id} |
9
+
10
+
11
+ # **get_events**
12
+ > Array<DdrAPIEventEntity> get_events(opts)
13
+
14
+
15
+
16
+ Retrieve events
17
+
18
+ ### Example
19
+ ```ruby
20
+ # load the gem
21
+ require 'ddr_client'
22
+ # setup authorization
23
+ DdrClient.configure do |config|
24
+ # Configure API key authorization: oauth
25
+ config.api_key['Authorization'] = 'YOUR API KEY'
26
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
27
+ #config.api_key_prefix['Authorization'] = 'Bearer'
28
+ end
29
+
30
+ api_instance = DdrClient::EventsApi.new
31
+
32
+ opts = {
33
+ resource_id: 'resource_id_example', # String | Filter by resource (required for XML output)
34
+ type: 'type_example', # String | Filter by event type
35
+ outcome: 'outcome_example', # String | Filter by event outcome
36
+ operator: 'operator_example', # String | Filter by event operator (user name or \"SYSTEM\")
37
+ since: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter events occurring since a point a time
38
+ before: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter events occurring up to (before) a point in time
39
+ per_page: nil, # Object | JSON only: Number of records to return per page (default: 20)
40
+ page: nil # Object | JSON only: Page number of results to return (default: 1)
41
+ }
42
+
43
+ begin
44
+ result = api_instance.get_events(opts)
45
+ p result
46
+ rescue DdrClient::ApiError => e
47
+ puts "Exception when calling EventsApi->get_events: #{e}"
48
+ end
49
+ ```
50
+
51
+ ### Parameters
52
+
53
+ Name | Type | Description | Notes
54
+ ------------- | ------------- | ------------- | -------------
55
+ **resource_id** | **String**| Filter by resource (required for XML output) | [optional]
56
+ **type** | **String**| Filter by event type | [optional]
57
+ **outcome** | **String**| Filter by event outcome | [optional]
58
+ **operator** | **String**| Filter by event operator (user name or \"SYSTEM\") | [optional]
59
+ **since** | **DateTime**| Filter events occurring since a point a time | [optional]
60
+ **before** | **DateTime**| Filter events occurring up to (before) a point in time | [optional]
61
+ **per_page** | [**Object**](.md)| JSON only: Number of records to return per page (default: 20) | [optional]
62
+ **page** | [**Object**](.md)| JSON only: Page number of results to return (default: 1) | [optional]
63
+
64
+ ### Return type
65
+
66
+ [**Array<DdrAPIEventEntity>**](DdrAPIEventEntity.md)
67
+
68
+ ### Authorization
69
+
70
+ [oauth](../README.md#oauth)
71
+
72
+ ### HTTP request headers
73
+
74
+ - **Content-Type**: Not defined
75
+ - **Accept**: application/json, text/csv, text/xml
76
+
77
+
78
+
79
+ # **get_events_id**
80
+ > DdrAPIEventEntity get_events_id(id)
81
+
82
+
83
+
84
+ Retrieve event
85
+
86
+ ### Example
87
+ ```ruby
88
+ # load the gem
89
+ require 'ddr_client'
90
+ # setup authorization
91
+ DdrClient.configure do |config|
92
+ # Configure API key authorization: oauth
93
+ config.api_key['Authorization'] = 'YOUR API KEY'
94
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
95
+ #config.api_key_prefix['Authorization'] = 'Bearer'
96
+ end
97
+
98
+ api_instance = DdrClient::EventsApi.new
99
+
100
+ id = 'id_example' # String |
101
+
102
+
103
+ begin
104
+ result = api_instance.get_events_id(id)
105
+ p result
106
+ rescue DdrClient::ApiError => e
107
+ puts "Exception when calling EventsApi->get_events_id: #{e}"
108
+ end
109
+ ```
110
+
111
+ ### Parameters
112
+
113
+ Name | Type | Description | Notes
114
+ ------------- | ------------- | ------------- | -------------
115
+ **id** | **String**| |
116
+
117
+ ### Return type
118
+
119
+ [**DdrAPIEventEntity**](DdrAPIEventEntity.md)
120
+
121
+ ### Authorization
122
+
123
+ [oauth](../README.md#oauth)
124
+
125
+ ### HTTP request headers
126
+
127
+ - **Content-Type**: Not defined
128
+ - **Accept**: application/json, text/xml
129
+
130
+
131
+
data/docs/GroupsApi.md ADDED
@@ -0,0 +1,63 @@
1
+ # DdrClient::GroupsApi
2
+
3
+ All URIs are relative to *https://example.org/api*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get_groups**](GroupsApi.md#get_groups) | **GET** /groups |
8
+
9
+
10
+ # **get_groups**
11
+ > Array<DdrAPIGroupEntity> get_groups(opts)
12
+
13
+
14
+
15
+ List repository groups
16
+
17
+ ### Example
18
+ ```ruby
19
+ # load the gem
20
+ require 'ddr_client'
21
+ # setup authorization
22
+ DdrClient.configure do |config|
23
+ # Configure API key authorization: oauth
24
+ config.api_key['Authorization'] = 'YOUR API KEY'
25
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
+ #config.api_key_prefix['Authorization'] = 'Bearer'
27
+ end
28
+
29
+ api_instance = DdrClient::GroupsApi.new
30
+
31
+ opts = {
32
+ include_members: false # BOOLEAN | Include members for each group
33
+ }
34
+
35
+ begin
36
+ result = api_instance.get_groups(opts)
37
+ p result
38
+ rescue DdrClient::ApiError => e
39
+ puts "Exception when calling GroupsApi->get_groups: #{e}"
40
+ end
41
+ ```
42
+
43
+ ### Parameters
44
+
45
+ Name | Type | Description | Notes
46
+ ------------- | ------------- | ------------- | -------------
47
+ **include_members** | **BOOLEAN**| Include members for each group | [optional] [default to false]
48
+
49
+ ### Return type
50
+
51
+ [**Array<DdrAPIGroupEntity>**](DdrAPIGroupEntity.md)
52
+
53
+ ### Authorization
54
+
55
+ [oauth](../README.md#oauth)
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: Not defined
60
+ - **Accept**: application/json
61
+
62
+
63
+