From 3b1ca67052d5c0b099773ef072f105fee9040990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Garc=C3=ADa=20Crespo?= Date: Fri, 23 Jun 2023 10:34:16 +0000 Subject: [PATCH] Show pipeline connection status --- internal/api/design/pipeline.go | 4 + internal/api/gen/http/batch/client/cli.go | 2 +- internal/api/gen/http/cli/enduro/cli.go | 60 +- .../api/gen/http/collection/client/cli.go | 4 +- internal/api/gen/http/openapi.json | 2 +- internal/api/gen/http/openapi.yaml | 559 ++++++++------- internal/api/gen/http/openapi3.json | 2 +- internal/api/gen/http/openapi3.yaml | 666 +++++++++--------- internal/api/gen/http/pipeline/client/cli.go | 16 +- .../gen/http/pipeline/client/encode_decode.go | 3 + .../api/gen/http/pipeline/client/types.go | 7 +- .../gen/http/pipeline/server/encode_decode.go | 21 +- .../api/gen/http/pipeline/server/types.go | 10 +- internal/api/gen/pipeline/service.go | 6 +- internal/api/gen/pipeline/views/view.go | 2 + internal/pipeline/pipeline.go | 42 +- internal/pipeline/service.go | 16 + ui/src/openapi-generator/apis/PipelineApi.ts | 5 + ...roCollectionWorkflowHistoryResponseBody.ts | 4 +- .../models/EnduroStoredPipelineResponse.ts | 8 + .../models/PipelineShowResponseBody.ts | 8 + ui/src/store/pipeline/index.ts | 6 +- ui/src/views/PipelineList.vue | 24 +- 23 files changed, 820 insertions(+), 657 deletions(-) diff --git a/internal/api/design/pipeline.go b/internal/api/design/pipeline.go index a6642506..0ea16acc 100644 --- a/internal/api/design/pipeline.go +++ b/internal/api/design/pipeline.go @@ -13,6 +13,7 @@ var _ = Service("pipeline", func() { Description("List all known pipelines") Payload(func() { Attribute("name", String) + Attribute("status", Boolean, func() { Default(false) }) }) Result(ArrayOf(StoredPipeline)) HTTP(func() { @@ -20,6 +21,7 @@ var _ = Service("pipeline", func() { Response(StatusOK) Params(func() { Param("name") + Param("status") }) }) }) @@ -70,12 +72,14 @@ var StoredPipeline = ResultType("application/vnd.enduro.stored-pipeline", func() Attribute("name") Attribute("capacity") Attribute("current") + Attribute("status") }) View("default", func() { Attribute("id") Attribute("name") Attribute("capacity") Attribute("current") + Attribute("status") }) Required("name") }) diff --git a/internal/api/gen/http/batch/client/cli.go b/internal/api/gen/http/batch/client/cli.go index 0dc62dab..2d9ee806 100644 --- a/internal/api/gen/http/batch/client/cli.go +++ b/internal/api/gen/http/batch/client/cli.go @@ -23,7 +23,7 @@ func BuildSubmitPayload(batchSubmitBody string) (*batch.SubmitPayload, error) { { err = json.Unmarshal([]byte(batchSubmitBody), &body) if err != nil { - return nil, fmt.Errorf("invalid JSON for body, \nerror: %s, \nexample of valid JSON:\n%s", err, "'{\n \"completed_dir\": \"Sit sed laboriosam.\",\n \"path\": \"Provident voluptates iure et.\",\n \"pipeline\": \"Ut dolor est.\",\n \"processing_config\": \"Eum quis nihil soluta ut molestiae et.\",\n \"retention_period\": \"Sit nihil.\"\n }'") + return nil, fmt.Errorf("invalid JSON for body, \nerror: %s, \nexample of valid JSON:\n%s", err, "'{\n \"completed_dir\": \"Laboriosam odit.\",\n \"path\": \"Laboriosam nam sit nihil.\",\n \"pipeline\": \"Necessitatibus vel aut deleniti quia qui.\",\n \"processing_config\": \"Vel voluptatem.\",\n \"retention_period\": \"Sed perferendis illum illum omnis et officiis.\"\n }'") } } v := &batch.SubmitPayload{ diff --git a/internal/api/gen/http/cli/enduro/cli.go b/internal/api/gen/http/cli/enduro/cli.go index 40fdd8db..8e7a449b 100644 --- a/internal/api/gen/http/cli/enduro/cli.go +++ b/internal/api/gen/http/cli/enduro/cli.go @@ -33,13 +33,13 @@ collection (monitor|list|show|delete|cancel|retry|workflow|download|decide|bulk| // UsageExamples produces an example of a valid invocation of the CLI tool. func UsageExamples() string { - return os.Args[0] + ` pipeline list --name "Porro numquam dolores doloribus."` + "\n" + + return os.Args[0] + ` pipeline list --name "Eaque nemo quia." --status false` + "\n" + os.Args[0] + ` batch submit --body '{ - "completed_dir": "Sit sed laboriosam.", - "path": "Provident voluptates iure et.", - "pipeline": "Ut dolor est.", - "processing_config": "Eum quis nihil soluta ut molestiae et.", - "retention_period": "Sit nihil." + "completed_dir": "Laboriosam odit.", + "path": "Laboriosam nam sit nihil.", + "pipeline": "Necessitatibus vel aut deleniti quia qui.", + "processing_config": "Vel voluptatem.", + "retention_period": "Sed perferendis illum illum omnis et officiis." }'` + "\n" + os.Args[0] + ` collection monitor` + "\n" + "" @@ -59,8 +59,9 @@ func ParseEndpoint( var ( pipelineFlags = flag.NewFlagSet("pipeline", flag.ContinueOnError) - pipelineListFlags = flag.NewFlagSet("list", flag.ExitOnError) - pipelineListNameFlag = pipelineListFlags.String("name", "", "") + pipelineListFlags = flag.NewFlagSet("list", flag.ExitOnError) + pipelineListNameFlag = pipelineListFlags.String("name", "", "") + pipelineListStatusFlag = pipelineListFlags.String("status", "", "") pipelineShowFlags = flag.NewFlagSet("show", flag.ExitOnError) pipelineShowIDFlag = pipelineShowFlags.String("id", "REQUIRED", "Identifier of pipeline to show") @@ -266,7 +267,7 @@ func ParseEndpoint( switch epn { case "list": endpoint = c.List() - data, err = pipelinec.BuildListPayload(*pipelineListNameFlag) + data, err = pipelinec.BuildListPayload(*pipelineListNameFlag, *pipelineListStatusFlag) case "show": endpoint = c.Show() data, err = pipelinec.BuildShowPayload(*pipelineShowIDFlag) @@ -349,13 +350,14 @@ Additional help: `, os.Args[0]) } func pipelineListUsage() { - fmt.Fprintf(os.Stderr, `%[1]s [flags] pipeline list -name STRING + fmt.Fprintf(os.Stderr, `%[1]s [flags] pipeline list -name STRING -status BOOL List all known pipelines -name STRING: + -status BOOL: Example: - %[1]s pipeline list --name "Porro numquam dolores doloribus." + %[1]s pipeline list --name "Eaque nemo quia." --status false `, os.Args[0]) } @@ -366,7 +368,7 @@ Show pipeline by ID -id STRING: Identifier of pipeline to show Example: - %[1]s pipeline show --id "426487a9-09c7-11ee-8a61-7085c27bdeb0" + %[1]s pipeline show --id "d07f4165-11a8-11ee-ade5-7085c27bdeb0" `, os.Args[0]) } @@ -377,7 +379,7 @@ List all processing configurations of a pipeline given its ID -id STRING: Identifier of pipeline Example: - %[1]s pipeline processing --id "42649d62-09c7-11ee-8a61-7085c27bdeb0" + %[1]s pipeline processing --id "d07f5dac-11a8-11ee-ade5-7085c27bdeb0" `, os.Args[0]) } @@ -404,11 +406,11 @@ Submit a new batch Example: %[1]s batch submit --body '{ - "completed_dir": "Sit sed laboriosam.", - "path": "Provident voluptates iure et.", - "pipeline": "Ut dolor est.", - "processing_config": "Eum quis nihil soluta ut molestiae et.", - "retention_period": "Sit nihil." + "completed_dir": "Laboriosam odit.", + "path": "Laboriosam nam sit nihil.", + "pipeline": "Necessitatibus vel aut deleniti quia qui.", + "processing_config": "Vel voluptatem.", + "retention_period": "Sed perferendis illum illum omnis et officiis." }' `, os.Args[0]) } @@ -482,7 +484,7 @@ List all stored collections -cursor STRING: Example: - %[1]s collection list --name "Ut veniam molestiae amet." --original-id "Quod quibusdam ea fugit odio quia autem." --transfer-id "42637e8e-09c7-11ee-8a61-7085c27bdeb0" --aip-id "42638046-09c7-11ee-8a61-7085c27bdeb0" --pipeline-id "42638213-09c7-11ee-8a61-7085c27bdeb0" --earliest-created-time "1990-10-06T02:21:42Z" --latest-created-time "2015-02-25T11:02:44Z" --status "done" --cursor "Debitis eveniet atque ipsum esse." + %[1]s collection list --name "Laudantium eos fugiat iure sit ea." --original-id "Et dolor ullam consequatur dignissimos." --transfer-id "d07c5264-11a8-11ee-ade5-7085c27bdeb0" --aip-id "d07c5451-11a8-11ee-ade5-7085c27bdeb0" --pipeline-id "d07c5618-11a8-11ee-ade5-7085c27bdeb0" --earliest-created-time "1996-05-01T14:23:24Z" --latest-created-time "1987-02-15T23:56:43Z" --status "error" --cursor "Sit et inventore et." `, os.Args[0]) } @@ -493,7 +495,7 @@ Show collection by ID -id UINT: Identifier of collection to show Example: - %[1]s collection show --id 9792579105820977192 + %[1]s collection show --id 6649367811978689086 `, os.Args[0]) } @@ -504,7 +506,7 @@ Delete collection by ID -id UINT: Identifier of collection to delete Example: - %[1]s collection delete --id 11400018648607317492 + %[1]s collection delete --id 14411764229641892412 `, os.Args[0]) } @@ -515,7 +517,7 @@ Cancel collection processing by ID -id UINT: Identifier of collection to remove Example: - %[1]s collection cancel --id 14499263187360059104 + %[1]s collection cancel --id 12015603943555843617 `, os.Args[0]) } @@ -526,7 +528,7 @@ Retry collection processing by ID -id UINT: Identifier of collection to retry Example: - %[1]s collection retry --id 14607175962139653509 + %[1]s collection retry --id 3222974273559150037 `, os.Args[0]) } @@ -537,7 +539,7 @@ Retrieve workflow status by ID -id UINT: Identifier of collection to look up Example: - %[1]s collection workflow --id 11925746244690710531 + %[1]s collection workflow --id 8684027374223699867 `, os.Args[0]) } @@ -548,7 +550,7 @@ Download collection by ID -id UINT: Identifier of collection to look up Example: - %[1]s collection download --id 1369363346339569407 + %[1]s collection download --id 9570527133616476063 `, os.Args[0]) } @@ -561,8 +563,8 @@ Make decision for a pending collection by ID Example: %[1]s collection decide --body '{ - "option": "Optio non a officia sint." - }' --id 4433925421161774604 + "option": "Nihil officiis et enim." + }' --id 3923434489665488889 `, os.Args[0]) } @@ -575,8 +577,8 @@ Bulk operations (retry, cancel...). Example: %[1]s collection bulk --body '{ "operation": "cancel", - "size": 11998998615337084245, - "status": "done" + "size": 15492129042979125718, + "status": "in progress" }' `, os.Args[0]) } diff --git a/internal/api/gen/http/collection/client/cli.go b/internal/api/gen/http/collection/client/cli.go index 87577a3d..2582c259 100644 --- a/internal/api/gen/http/collection/client/cli.go +++ b/internal/api/gen/http/collection/client/cli.go @@ -240,7 +240,7 @@ func BuildDecidePayload(collectionDecideBody string, collectionDecideID string) { err = json.Unmarshal([]byte(collectionDecideBody), &body) if err != nil { - return nil, fmt.Errorf("invalid JSON for body, \nerror: %s, \nexample of valid JSON:\n%s", err, "'{\n \"option\": \"Optio non a officia sint.\"\n }'") + return nil, fmt.Errorf("invalid JSON for body, \nerror: %s, \nexample of valid JSON:\n%s", err, "'{\n \"option\": \"Nihil officiis et enim.\"\n }'") } } var id uint @@ -269,7 +269,7 @@ func BuildBulkPayload(collectionBulkBody string) (*collection.BulkPayload, error { err = json.Unmarshal([]byte(collectionBulkBody), &body) if err != nil { - return nil, fmt.Errorf("invalid JSON for body, \nerror: %s, \nexample of valid JSON:\n%s", err, "'{\n \"operation\": \"cancel\",\n \"size\": 11998998615337084245,\n \"status\": \"done\"\n }'") + return nil, fmt.Errorf("invalid JSON for body, \nerror: %s, \nexample of valid JSON:\n%s", err, "'{\n \"operation\": \"cancel\",\n \"size\": 15492129042979125718,\n \"status\": \"in progress\"\n }'") } if !(body.Operation == "retry" || body.Operation == "cancel" || body.Operation == "abandon") { err = goa.MergeErrors(err, goa.InvalidEnumValueError("body.operation", body.Operation, []any{"retry", "cancel", "abandon"})) diff --git a/internal/api/gen/http/openapi.json b/internal/api/gen/http/openapi.json index c337223b..5b4efa49 100644 --- a/internal/api/gen/http/openapi.json +++ b/internal/api/gen/http/openapi.json @@ -1 +1 @@ -{"swagger":"2.0","info":{"title":"Enduro API","version":""},"host":"localhost:9000","consumes":["application/json","application/xml","application/gob"],"produces":["application/json","application/xml","application/gob"],"paths":{"/batch":{"get":{"tags":["batch"],"summary":"status batch","description":"Retrieve status of current batch operation.","operationId":"batch#status","responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/BatchStatusResponseBody","required":["running"]}}},"schemes":["http"]},"post":{"tags":["batch"],"summary":"submit batch","description":"Submit a new batch","operationId":"batch#submit","parameters":[{"name":"SubmitRequestBody","in":"body","required":true,"schema":{"$ref":"#/definitions/BatchSubmitRequestBody","required":["path"]}}],"responses":{"202":{"description":"Accepted response.","schema":{"$ref":"#/definitions/BatchSubmitResponseBody","required":["workflow_id","run_id"]}},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/BatchSubmitNotValidResponseBody"}},"409":{"description":"Conflict response.","schema":{"$ref":"#/definitions/BatchSubmitNotAvailableResponseBody"}}},"schemes":["http"]}},"/batch/hints":{"get":{"tags":["batch"],"summary":"hints batch","description":"Retrieve form hints","operationId":"batch#hints","responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/BatchHintsResponseBody"}}},"schemes":["http"]}},"/collection":{"get":{"tags":["collection"],"summary":"list collection","description":"List all stored collections","operationId":"collection#list","parameters":[{"name":"name","in":"query","required":false,"type":"string"},{"name":"original_id","in":"query","required":false,"type":"string"},{"name":"transfer_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"aip_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"pipeline_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"earliest_created_time","in":"query","required":false,"type":"string","format":"date-time"},{"name":"latest_created_time","in":"query","required":false,"type":"string","format":"date-time"},{"name":"status","in":"query","required":false,"type":"string","enum":["new","in progress","done","error","unknown","queued","pending","abandoned"]},{"name":"cursor","in":"query","description":"Pagination cursor","required":false,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/CollectionListResponseBody","required":["items"]}}},"schemes":["http"]}},"/collection/bulk":{"get":{"tags":["collection"],"summary":"bulk_status collection","description":"Retrieve status of current bulk operation.","operationId":"collection#bulk_status","responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/CollectionBulkStatusResponseBody","required":["running"]}}},"schemes":["http"]},"post":{"tags":["collection"],"summary":"bulk collection","description":"Bulk operations (retry, cancel...).","operationId":"collection#bulk","parameters":[{"name":"BulkRequestBody","in":"body","required":true,"schema":{"$ref":"#/definitions/CollectionBulkRequestBody","required":["operation","status"]}}],"responses":{"202":{"description":"Accepted response.","schema":{"$ref":"#/definitions/CollectionBulkResponseBody","required":["workflow_id","run_id"]}},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/CollectionBulkNotValidResponseBody"}},"409":{"description":"Conflict response.","schema":{"$ref":"#/definitions/CollectionBulkNotAvailableResponseBody"}}},"schemes":["http"]}},"/collection/monitor":{"get":{"tags":["collection"],"summary":"monitor collection","operationId":"collection#monitor","responses":{"101":{"description":"Switching Protocols response.","schema":{"$ref":"#/definitions/CollectionMonitorResponseBody"}}},"schemes":["ws"]}},"/collection/{id}":{"get":{"tags":["collection"],"summary":"show collection","description":"Show collection by ID","operationId":"collection#show","parameters":[{"name":"id","in":"path","description":"Identifier of collection to show","required":true,"type":"integer"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/CollectionShowResponseBody"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/CollectionShowNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]},"delete":{"tags":["collection"],"summary":"delete collection","description":"Delete collection by ID","operationId":"collection#delete","parameters":[{"name":"id","in":"path","description":"Identifier of collection to delete","required":true,"type":"integer"}],"responses":{"204":{"description":"No Content response."},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/CollectionDeleteNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]}},"/collection/{id}/cancel":{"post":{"tags":["collection"],"summary":"cancel collection","description":"Cancel collection processing by ID","operationId":"collection#cancel","parameters":[{"name":"id","in":"path","description":"Identifier of collection to remove","required":true,"type":"integer"}],"responses":{"200":{"description":"OK response."},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/CollectionCancelNotRunningResponseBody"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/CollectionCancelNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]}},"/collection/{id}/decision":{"post":{"tags":["collection"],"summary":"decide collection","description":"Make decision for a pending collection by ID","operationId":"collection#decide","parameters":[{"name":"id","in":"path","description":"Identifier of collection to look up","required":true,"type":"integer"},{"name":"object","in":"body","required":true,"schema":{"type":"object","properties":{"option":{"type":"string","description":"Decision option to proceed with","example":"Aut voluptatibus."}}}}],"responses":{"200":{"description":"OK response."},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/CollectionDecideNotValidResponseBody"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/CollectionDecideNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]}},"/collection/{id}/download":{"get":{"tags":["collection"],"summary":"download collection","description":"Download collection by ID","operationId":"collection#download","parameters":[{"name":"id","in":"path","description":"Identifier of collection to look up","required":true,"type":"integer"}],"responses":{"200":{"description":"OK response.","schema":{"type":"string","format":"byte"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/CollectionDownloadNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]}},"/collection/{id}/retry":{"post":{"tags":["collection"],"summary":"retry collection","description":"Retry collection processing by ID","operationId":"collection#retry","parameters":[{"name":"id","in":"path","description":"Identifier of collection to retry","required":true,"type":"integer"}],"responses":{"200":{"description":"OK response."},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/CollectionRetryNotRunningResponseBody"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/CollectionRetryNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]}},"/collection/{id}/workflow":{"get":{"tags":["collection"],"summary":"workflow collection","description":"Retrieve workflow status by ID","operationId":"collection#workflow","parameters":[{"name":"id","in":"path","description":"Identifier of collection to look up","required":true,"type":"integer"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/CollectionWorkflowResponseBody"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/CollectionWorkflowNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]}},"/pipeline":{"get":{"tags":["pipeline"],"summary":"list pipeline","description":"List all known pipelines","operationId":"pipeline#list","parameters":[{"name":"name","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"type":"array","items":{"$ref":"#/definitions/EnduroStoredPipelineResponse"}}}},"schemes":["http"]}},"/pipeline/{id}":{"get":{"tags":["pipeline"],"summary":"show pipeline","description":"Show pipeline by ID","operationId":"pipeline#show","parameters":[{"name":"id","in":"path","description":"Identifier of pipeline to show","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/PipelineShowResponseBody"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/PipelineShowNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]}},"/pipeline/{id}/processing":{"get":{"tags":["pipeline"],"summary":"processing pipeline","description":"List all processing configurations of a pipeline given its ID","operationId":"pipeline#processing","parameters":[{"name":"id","in":"path","description":"Identifier of pipeline","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK response.","schema":{"type":"array","items":{"type":"string","example":"Voluptas suscipit quos hic quos."}}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/PipelineProcessingNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]}},"/swagger/swagger.json":{"get":{"tags":["swagger"],"summary":"Download internal/api/gen/http/openapi.json","description":"JSON document containing the API swagger definition.","operationId":"swagger#/swagger/swagger.json","responses":{"200":{"description":"File downloaded","schema":{"type":"file"}}},"schemes":["http"]}}},"definitions":{"BatchHintsResponseBody":{"title":"BatchHintsResponseBody","type":"object","properties":{"completed_dirs":{"type":"array","items":{"type":"string","example":"Labore iste eveniet."},"description":"A list of known values of completedDir used by existing watchers.","example":["Omnis dolor.","Corrupti illum cumque qui facilis omnis et.","Voluptate numquam sit sint est qui cum."]}},"example":{"completed_dirs":["Atque sit quibusdam quidem consectetur praesentium et.","Velit consequatur nobis delectus."]}},"BatchStatusResponseBody":{"title":"BatchStatusResponseBody","type":"object","properties":{"run_id":{"type":"string","example":"Maxime dicta."},"running":{"type":"boolean","example":true},"status":{"type":"string","example":"Ipsam quo ab consectetur sint est."},"workflow_id":{"type":"string","example":"Optio suscipit ratione iste dolorem."}},"example":{"run_id":"Architecto optio.","running":false,"status":"Aliquam fuga laborum maiores.","workflow_id":"Esse qui est."},"required":["running"]},"BatchSubmitNotAvailableResponseBody":{"title":"Mediatype identifier: application/vnd.goa.error; view=default","type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":false},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":true},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":true}},"description":"submit_not_available_response_body result type (default view)","example":{"fault":true,"id":"123abc","message":"parameter 'p' must be an integer","name":"bad_request","temporary":true,"timeout":true},"required":["name","id","message","temporary","timeout","fault"]},"BatchSubmitNotValidResponseBody":{"title":"Mediatype identifier: application/vnd.goa.error; view=default","type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":false},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":false},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":false}},"description":"submit_not_valid_response_body result type (default view)","example":{"fault":false,"id":"123abc","message":"parameter 'p' must be an integer","name":"bad_request","temporary":false,"timeout":true},"required":["name","id","message","temporary","timeout","fault"]},"BatchSubmitRequestBody":{"title":"BatchSubmitRequestBody","type":"object","properties":{"completed_dir":{"type":"string","example":"Eum accusantium fugiat asperiores id."},"path":{"type":"string","example":"Et beatae."},"pipeline":{"type":"string","example":"Quos dolores corporis quidem rerum vitae."},"processing_config":{"type":"string","example":"Reiciendis laborum deserunt quasi ea quisquam et."},"retention_period":{"type":"string","example":"Molestiae deserunt facere adipisci dignissimos iusto."}},"example":{"completed_dir":"Animi quis.","path":"Sunt omnis qui.","pipeline":"Quaerat sunt nihil ipsam harum quaerat molestiae.","processing_config":"Soluta corporis qui nesciunt assumenda.","retention_period":"Aut aliquid enim ex sint laboriosam."},"required":["path"]},"BatchSubmitResponseBody":{"title":"BatchSubmitResponseBody","type":"object","properties":{"run_id":{"type":"string","example":"Qui suscipit."},"workflow_id":{"type":"string","example":"Nemo dolores."}},"example":{"run_id":"Aliquam inventore repudiandae.","workflow_id":"Voluptatum recusandae."},"required":["workflow_id","run_id"]},"CollectionBulkNotAvailableResponseBody":{"title":"Mediatype identifier: application/vnd.goa.error; view=default","type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":true},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":false},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":false}},"description":"bulk_not_available_response_body result type (default view)","example":{"fault":true,"id":"123abc","message":"parameter 'p' must be an integer","name":"bad_request","temporary":true,"timeout":false},"required":["name","id","message","temporary","timeout","fault"]},"CollectionBulkNotValidResponseBody":{"title":"Mediatype identifier: application/vnd.goa.error; view=default","type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":true},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":true},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":false}},"description":"bulk_not_valid_response_body result type (default view)","example":{"fault":false,"id":"123abc","message":"parameter 'p' must be an integer","name":"bad_request","temporary":false,"timeout":true},"required":["name","id","message","temporary","timeout","fault"]},"CollectionBulkRequestBody":{"title":"CollectionBulkRequestBody","type":"object","properties":{"operation":{"type":"string","example":"retry","enum":["retry","cancel","abandon"]},"size":{"type":"integer","default":100,"example":1353605449658321580,"format":"int64"},"status":{"type":"string","example":"error","enum":["new","in progress","done","error","unknown","queued","pending","abandoned"]}},"example":{"operation":"retry","size":14133773161423226523,"status":"in progress"},"required":["operation","status"]},"CollectionBulkResponseBody":{"title":"CollectionBulkResponseBody","type":"object","properties":{"run_id":{"type":"string","example":"Necessitatibus non cum."},"workflow_id":{"type":"string","example":"Placeat quaerat."}},"example":{"run_id":"Id quasi dolor veritatis voluptatem.","workflow_id":"Quis itaque."},"required":["workflow_id","run_id"]},"CollectionBulkStatusResponseBody":{"title":"CollectionBulkStatusResponseBody","type":"object","properties":{"closed_at":{"type":"string","example":"2003-02-27T22:30:34Z","format":"date-time"},"run_id":{"type":"string","example":"Repudiandae adipisci quis dolores dicta voluptas sed."},"running":{"type":"boolean","example":true},"started_at":{"type":"string","example":"1986-11-12T17:23:57Z","format":"date-time"},"status":{"type":"string","example":"Dignissimos similique quisquam."},"workflow_id":{"type":"string","example":"Libero dolorem libero neque."}},"example":{"closed_at":"1981-08-15T14:18:57Z","run_id":"Adipisci qui.","running":true,"started_at":"2005-05-09T20:52:38Z","status":"Adipisci hic magni mollitia.","workflow_id":"Quod aut veritatis numquam sit dolor."},"required":["running"]},"CollectionCancelNotFoundResponseBody":{"title":"CollectionCancelNotFoundResponseBody","type":"object","properties":{"id":{"type":"integer","description":"Identifier of missing collection","example":277596864347657660,"format":"int64"},"message":{"type":"string","description":"Message of error","example":"Ducimus vel temporibus hic pariatur ea at."}},"description":"Collection not found","example":{"id":10716361090369440255,"message":"Reprehenderit excepturi ratione sint perspiciatis vel."},"required":["message","id"]},"CollectionCancelNotRunningResponseBody":{"title":"Mediatype identifier: application/vnd.goa.error; view=default","type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":true},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":true},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":false}},"description":"cancel_not_running_response_body result type (default view)","example":{"fault":false,"id":"123abc","message":"parameter 'p' must be an integer","name":"bad_request","temporary":false,"timeout":false},"required":["name","id","message","temporary","timeout","fault"]},"CollectionDecideNotFoundResponseBody":{"title":"CollectionDecideNotFoundResponseBody","type":"object","properties":{"id":{"type":"integer","description":"Identifier of missing collection","example":1376202291394847879,"format":"int64"},"message":{"type":"string","description":"Message of error","example":"Repellat aut quibusdam."}},"description":"Collection not found","example":{"id":17034853208141038925,"message":"Magnam culpa."},"required":["message","id"]},"CollectionDecideNotValidResponseBody":{"title":"Mediatype identifier: application/vnd.goa.error; view=default","type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":true},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":true},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":false}},"description":"decide_not_valid_response_body result type (default view)","example":{"fault":true,"id":"123abc","message":"parameter 'p' must be an integer","name":"bad_request","temporary":false,"timeout":false},"required":["name","id","message","temporary","timeout","fault"]},"CollectionDeleteNotFoundResponseBody":{"title":"CollectionDeleteNotFoundResponseBody","type":"object","properties":{"id":{"type":"integer","description":"Identifier of missing collection","example":12551785389598618922,"format":"int64"},"message":{"type":"string","description":"Message of error","example":"Odio vel ducimus veniam."}},"description":"Collection not found","example":{"id":5868370656017257521,"message":"Iure dolores voluptas ut nihil dicta."},"required":["message","id"]},"CollectionDownloadNotFoundResponseBody":{"title":"CollectionDownloadNotFoundResponseBody","type":"object","properties":{"id":{"type":"integer","description":"Identifier of missing collection","example":7484765762935055342,"format":"int64"},"message":{"type":"string","description":"Message of error","example":"Facilis exercitationem ducimus architecto magnam asperiores."}},"description":"Collection not found","example":{"id":1839183055159585335,"message":"Corrupti cumque aliquid consequatur laudantium rerum quasi."},"required":["message","id"]},"CollectionListResponseBody":{"title":"CollectionListResponseBody","type":"object","properties":{"items":{"$ref":"#/definitions/EnduroStoredCollectionResponseBodyCollection"},"next_cursor":{"type":"string","example":"Accusamus exercitationem minima."}},"example":{"items":[{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"},{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"},{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"},{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"}],"next_cursor":"Quae recusandae aperiam ullam vitae quas quia."},"required":["items"]},"CollectionMonitorResponseBody":{"title":"Mediatype identifier: application/vnd.enduro.monitor-update; view=default","type":"object","properties":{"id":{"type":"integer","description":"Identifier of collection","example":6193006552320250870,"format":"int64"},"item":{"$ref":"#/definitions/EnduroStoredCollectionResponseBody"},"type":{"type":"string","description":"Type of the event","example":"Omnis corporis et sunt ut esse consectetur."}},"description":"MonitorResponseBody result type (default view)","example":{"id":12405835316014393680,"item":{"aip_id":"426361cd-09c7-11ee-8a61-7085c27bdeb0","completed_at":"1998-02-12T04:24:46Z","created_at":"1973-08-04T01:33:26Z","id":16968418681385432070,"name":"Enim laborum ea facilis provident.","original_id":"Aut impedit.","pipeline_id":"4263634d-09c7-11ee-8a61-7085c27bdeb0","run_id":"42635efa-09c7-11ee-8a61-7085c27bdeb0","started_at":"2008-05-29T00:39:53Z","status":"new","transfer_id":"42636084-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"42635d7d-09c7-11ee-8a61-7085c27bdeb0"},"type":"Perspiciatis quis provident."},"required":["id","type"]},"CollectionRetryNotFoundResponseBody":{"title":"CollectionRetryNotFoundResponseBody","type":"object","properties":{"id":{"type":"integer","description":"Identifier of missing collection","example":14858541864475941246,"format":"int64"},"message":{"type":"string","description":"Message of error","example":"Quasi incidunt."}},"description":"Collection not found","example":{"id":14498290853431995332,"message":"Vel aliquam similique illo ex unde distinctio."},"required":["message","id"]},"CollectionRetryNotRunningResponseBody":{"title":"Mediatype identifier: application/vnd.goa.error; view=default","type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":true},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":true},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":true}},"description":"retry_not_running_response_body result type (default view)","example":{"fault":true,"id":"123abc","message":"parameter 'p' must be an integer","name":"bad_request","temporary":true,"timeout":true},"required":["name","id","message","temporary","timeout","fault"]},"CollectionShowNotFoundResponseBody":{"title":"CollectionShowNotFoundResponseBody","type":"object","properties":{"id":{"type":"integer","description":"Identifier of missing collection","example":15930638639081176381,"format":"int64"},"message":{"type":"string","description":"Message of error","example":"In eum nisi ut."}},"description":"Collection not found","example":{"id":14511219037034375205,"message":"Quia eligendi."},"required":["message","id"]},"CollectionShowResponseBody":{"title":"Mediatype identifier: application/vnd.enduro.stored-collection; view=default","type":"object","properties":{"aip_id":{"type":"string","description":"Identifier of Archivematica AIP","example":"4264f435-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"completed_at":{"type":"string","description":"Completion datetime","example":"1973-03-21T19:25:16Z","format":"date-time"},"created_at":{"type":"string","description":"Creation datetime","example":"1995-05-01T19:44:23Z","format":"date-time"},"id":{"type":"integer","description":"Identifier of collection","example":11496548019844697755,"format":"int64"},"name":{"type":"string","description":"Name of the collection","example":"Molestiae consectetur veniam vel."},"original_id":{"type":"string","description":"Identifier provided by the client","example":"Possimus sapiente aliquam."},"pipeline_id":{"type":"string","description":"Identifier of Archivematica pipeline","example":"4264f5bd-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"run_id":{"type":"string","description":"Identifier of latest processing workflow run","example":"4264f1c3-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"started_at":{"type":"string","description":"Start datetime","example":"2005-10-22T08:03:17Z","format":"date-time"},"status":{"type":"string","description":"Status of the collection","default":"new","example":"unknown","enum":["new","in progress","done","error","unknown","queued","pending","abandoned"]},"transfer_id":{"type":"string","description":"Identifier of Archivematica transfer","example":"4264f309-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"workflow_id":{"type":"string","description":"Identifier of processing workflow","example":"4264f075-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"}},"description":"ShowResponseBody result type (default view)","example":{"aip_id":"4264fe55-09c7-11ee-8a61-7085c27bdeb0","completed_at":"1978-04-22T21:56:07Z","created_at":"2002-07-12T17:52:20Z","id":15308119566076533803,"name":"Molestiae consequatur.","original_id":"Occaecati voluptate vero sit.","pipeline_id":"4264ffad-09c7-11ee-8a61-7085c27bdeb0","run_id":"4264fbd0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1998-07-04T21:38:01Z","status":"error","transfer_id":"4264fd2e-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4264fab1-09c7-11ee-8a61-7085c27bdeb0"},"required":["id","status","created_at"]},"CollectionWorkflowNotFoundResponseBody":{"title":"CollectionWorkflowNotFoundResponseBody","type":"object","properties":{"id":{"type":"integer","description":"Identifier of missing collection","example":10629914060260803936,"format":"int64"},"message":{"type":"string","description":"Message of error","example":"Non dicta culpa id dolorem consequuntur fuga."}},"description":"Collection not found","example":{"id":8281239400323966825,"message":"Quia et dolores rerum."},"required":["message","id"]},"CollectionWorkflowResponseBody":{"title":"Mediatype identifier: application/vnd.enduro.collection-workflow-status; view=default","type":"object","properties":{"history":{"$ref":"#/definitions/EnduroCollectionWorkflowHistoryResponseBodyCollection"},"status":{"type":"string","example":"Sed nostrum rerum consequatur odit."}},"description":"WorkflowResponseBody result type (default view)","example":{"history":[{"details":"Natus quaerat asperiores.","id":16386509086693568270,"type":"Impedit fugit et porro suscipit."},{"details":"Natus quaerat asperiores.","id":16386509086693568270,"type":"Impedit fugit et porro suscipit."},{"details":"Natus quaerat asperiores.","id":16386509086693568270,"type":"Impedit fugit et porro suscipit."},{"details":"Natus quaerat asperiores.","id":16386509086693568270,"type":"Impedit fugit et porro suscipit."}],"status":"Repellendus voluptatem exercitationem atque quo."}},"EnduroCollectionWorkflowHistoryResponseBody":{"title":"Mediatype identifier: application/vnd.enduro.collection-workflow-history; view=default","type":"object","properties":{"details":{"type":"string","description":"Contents of the event","example":"Tempore debitis iure expedita aut omnis.","format":"binary"},"id":{"type":"integer","description":"Identifier of collection","example":8606571253257041784,"format":"int64"},"type":{"type":"string","description":"Type of the event","example":"Pariatur quaerat praesentium aperiam sunt optio."}},"description":"WorkflowHistoryEvent describes a history event in Cadence. (default view)","example":{"details":"Dolores ipsa dolor deserunt.","id":9510504028261891260,"type":"Amet in accusamus."}},"EnduroCollectionWorkflowHistoryResponseBodyCollection":{"title":"Mediatype identifier: application/vnd.enduro.collection-workflow-history; type=collection; view=default","type":"array","items":{"$ref":"#/definitions/EnduroCollectionWorkflowHistoryResponseBody"},"description":"EnduroCollection-Workflow-HistoryCollectionResponseBody is the result type for an array of EnduroCollection-Workflow-HistoryResponseBody (default view)","example":[{"details":"Natus quaerat asperiores.","id":16386509086693568270,"type":"Impedit fugit et porro suscipit."},{"details":"Natus quaerat asperiores.","id":16386509086693568270,"type":"Impedit fugit et porro suscipit."},{"details":"Natus quaerat asperiores.","id":16386509086693568270,"type":"Impedit fugit et porro suscipit."}]},"EnduroStoredCollectionResponseBody":{"title":"Mediatype identifier: application/vnd.enduro.stored-collection; view=default","type":"object","properties":{"aip_id":{"type":"string","description":"Identifier of Archivematica AIP","example":"4264dce6-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"completed_at":{"type":"string","description":"Completion datetime","example":"1986-06-25T17:08:01Z","format":"date-time"},"created_at":{"type":"string","description":"Creation datetime","example":"1985-07-20T04:34:28Z","format":"date-time"},"id":{"type":"integer","description":"Identifier of collection","example":5410736015454181723,"format":"int64"},"name":{"type":"string","description":"Name of the collection","example":"Accusamus enim consequatur laudantium."},"original_id":{"type":"string","description":"Identifier provided by the client","example":"Perspiciatis quia ab."},"pipeline_id":{"type":"string","description":"Identifier of Archivematica pipeline","example":"4264de4f-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"run_id":{"type":"string","description":"Identifier of latest processing workflow run","example":"4264d9b9-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"started_at":{"type":"string","description":"Start datetime","example":"2006-01-12T03:35:07Z","format":"date-time"},"status":{"type":"string","description":"Status of the collection","default":"new","example":"pending","enum":["new","in progress","done","error","unknown","queued","pending","abandoned"]},"transfer_id":{"type":"string","description":"Identifier of Archivematica transfer","example":"4264daf9-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"workflow_id":{"type":"string","description":"Identifier of processing workflow","example":"4264d864-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"}},"description":"StoredCollection describes a collection retrieved by the service. (default view)","example":{"aip_id":"4264e6ce-09c7-11ee-8a61-7085c27bdeb0","completed_at":"1983-06-28T18:36:02Z","created_at":"1983-05-15T18:56:58Z","id":12050072113447639673,"name":"Et repellat commodi sint.","original_id":"Dolores et dolorem quod.","pipeline_id":"4264e7f6-09c7-11ee-8a61-7085c27bdeb0","run_id":"4264e483-09c7-11ee-8a61-7085c27bdeb0","started_at":"1985-03-30T00:57:49Z","status":"unknown","transfer_id":"4264e5a1-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4264e364-09c7-11ee-8a61-7085c27bdeb0"},"required":["id","status","created_at"]},"EnduroStoredCollectionResponseBodyCollection":{"title":"Mediatype identifier: application/vnd.enduro.stored-collection; type=collection; view=default","type":"array","items":{"$ref":"#/definitions/EnduroStoredCollectionResponseBody"},"description":"EnduroStored-CollectionCollectionResponseBody is the result type for an array of EnduroStored-CollectionResponseBody (default view)","example":[{"aip_id":"426361cd-09c7-11ee-8a61-7085c27bdeb0","completed_at":"1998-02-12T04:24:46Z","created_at":"1973-08-04T01:33:26Z","id":16968418681385432070,"name":"Enim laborum ea facilis provident.","original_id":"Aut impedit.","pipeline_id":"4263634d-09c7-11ee-8a61-7085c27bdeb0","run_id":"42635efa-09c7-11ee-8a61-7085c27bdeb0","started_at":"2008-05-29T00:39:53Z","status":"new","transfer_id":"42636084-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"42635d7d-09c7-11ee-8a61-7085c27bdeb0"},{"aip_id":"426361cd-09c7-11ee-8a61-7085c27bdeb0","completed_at":"1998-02-12T04:24:46Z","created_at":"1973-08-04T01:33:26Z","id":16968418681385432070,"name":"Enim laborum ea facilis provident.","original_id":"Aut impedit.","pipeline_id":"4263634d-09c7-11ee-8a61-7085c27bdeb0","run_id":"42635efa-09c7-11ee-8a61-7085c27bdeb0","started_at":"2008-05-29T00:39:53Z","status":"new","transfer_id":"42636084-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"42635d7d-09c7-11ee-8a61-7085c27bdeb0"}]},"EnduroStoredPipelineResponse":{"title":"Mediatype identifier: application/vnd.enduro.stored-pipeline; view=default","type":"object","properties":{"capacity":{"type":"integer","description":"Maximum concurrent transfers","example":6585607666670623585,"format":"int64"},"current":{"type":"integer","description":"Current transfers","example":1203369190548696594,"format":"int64"},"id":{"type":"string","description":"Identifier of the pipeline","example":"42652b8c-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"name":{"type":"string","description":"Name of the pipeline","example":"Cumque est."}},"description":"StoredPipeline describes a pipeline retrieved by this service. (default view)","example":{"capacity":6500807869686112163,"current":7817357183225686152,"id":"42652d24-09c7-11ee-8a61-7085c27bdeb0","name":"Voluptatem non corporis voluptatem laborum."},"required":["name"]},"PipelineProcessingNotFoundResponseBody":{"title":"PipelineProcessingNotFoundResponseBody","type":"object","properties":{"id":{"type":"string","description":"Identifier of missing pipeline","example":"Possimus in facere dolorum numquam sit."},"message":{"type":"string","description":"Message of error","example":"Numquam quo tempora enim possimus."}},"description":"Pipeline not found","example":{"id":"Omnis totam.","message":"Libero exercitationem illum autem."},"required":["message","id"]},"PipelineShowNotFoundResponseBody":{"title":"PipelineShowNotFoundResponseBody","type":"object","properties":{"id":{"type":"string","description":"Identifier of missing pipeline","example":"Est ad."},"message":{"type":"string","description":"Message of error","example":"Consequatur eos provident nemo."}},"description":"Pipeline not found","example":{"id":"Magni consequuntur.","message":"Omnis eius fugiat laborum totam consequatur."},"required":["message","id"]},"PipelineShowResponseBody":{"title":"Mediatype identifier: application/vnd.enduro.stored-pipeline; view=default","type":"object","properties":{"capacity":{"type":"integer","description":"Maximum concurrent transfers","example":8683246846271892322,"format":"int64"},"current":{"type":"integer","description":"Current transfers","example":7743840208477281633,"format":"int64"},"id":{"type":"string","description":"Identifier of the pipeline","example":"42652f98-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"name":{"type":"string","description":"Name of the pipeline","example":"Iste aperiam laborum."}},"description":"ShowResponseBody result type (default view)","example":{"capacity":4152423017293452287,"current":188594052925440695,"id":"42653121-09c7-11ee-8a61-7085c27bdeb0","name":"Consequatur provident nulla veritatis."},"required":["name"]}}} \ No newline at end of file +{"swagger":"2.0","info":{"title":"Enduro API","version":""},"host":"localhost:9000","consumes":["application/json","application/xml","application/gob"],"produces":["application/json","application/xml","application/gob"],"paths":{"/batch":{"get":{"tags":["batch"],"summary":"status batch","description":"Retrieve status of current batch operation.","operationId":"batch#status","responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/BatchStatusResponseBody","required":["running"]}}},"schemes":["http"]},"post":{"tags":["batch"],"summary":"submit batch","description":"Submit a new batch","operationId":"batch#submit","parameters":[{"name":"SubmitRequestBody","in":"body","required":true,"schema":{"$ref":"#/definitions/BatchSubmitRequestBody","required":["path"]}}],"responses":{"202":{"description":"Accepted response.","schema":{"$ref":"#/definitions/BatchSubmitResponseBody","required":["workflow_id","run_id"]}},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/BatchSubmitNotValidResponseBody"}},"409":{"description":"Conflict response.","schema":{"$ref":"#/definitions/BatchSubmitNotAvailableResponseBody"}}},"schemes":["http"]}},"/batch/hints":{"get":{"tags":["batch"],"summary":"hints batch","description":"Retrieve form hints","operationId":"batch#hints","responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/BatchHintsResponseBody"}}},"schemes":["http"]}},"/collection":{"get":{"tags":["collection"],"summary":"list collection","description":"List all stored collections","operationId":"collection#list","parameters":[{"name":"name","in":"query","required":false,"type":"string"},{"name":"original_id","in":"query","required":false,"type":"string"},{"name":"transfer_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"aip_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"pipeline_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"earliest_created_time","in":"query","required":false,"type":"string","format":"date-time"},{"name":"latest_created_time","in":"query","required":false,"type":"string","format":"date-time"},{"name":"status","in":"query","required":false,"type":"string","enum":["new","in progress","done","error","unknown","queued","pending","abandoned"]},{"name":"cursor","in":"query","description":"Pagination cursor","required":false,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/CollectionListResponseBody","required":["items"]}}},"schemes":["http"]}},"/collection/bulk":{"get":{"tags":["collection"],"summary":"bulk_status collection","description":"Retrieve status of current bulk operation.","operationId":"collection#bulk_status","responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/CollectionBulkStatusResponseBody","required":["running"]}}},"schemes":["http"]},"post":{"tags":["collection"],"summary":"bulk collection","description":"Bulk operations (retry, cancel...).","operationId":"collection#bulk","parameters":[{"name":"BulkRequestBody","in":"body","required":true,"schema":{"$ref":"#/definitions/CollectionBulkRequestBody","required":["operation","status"]}}],"responses":{"202":{"description":"Accepted response.","schema":{"$ref":"#/definitions/CollectionBulkResponseBody","required":["workflow_id","run_id"]}},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/CollectionBulkNotValidResponseBody"}},"409":{"description":"Conflict response.","schema":{"$ref":"#/definitions/CollectionBulkNotAvailableResponseBody"}}},"schemes":["http"]}},"/collection/monitor":{"get":{"tags":["collection"],"summary":"monitor collection","operationId":"collection#monitor","responses":{"101":{"description":"Switching Protocols response.","schema":{"$ref":"#/definitions/CollectionMonitorResponseBody"}}},"schemes":["ws"]}},"/collection/{id}":{"get":{"tags":["collection"],"summary":"show collection","description":"Show collection by ID","operationId":"collection#show","parameters":[{"name":"id","in":"path","description":"Identifier of collection to show","required":true,"type":"integer"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/CollectionShowResponseBody"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/CollectionShowNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]},"delete":{"tags":["collection"],"summary":"delete collection","description":"Delete collection by ID","operationId":"collection#delete","parameters":[{"name":"id","in":"path","description":"Identifier of collection to delete","required":true,"type":"integer"}],"responses":{"204":{"description":"No Content response."},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/CollectionDeleteNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]}},"/collection/{id}/cancel":{"post":{"tags":["collection"],"summary":"cancel collection","description":"Cancel collection processing by ID","operationId":"collection#cancel","parameters":[{"name":"id","in":"path","description":"Identifier of collection to remove","required":true,"type":"integer"}],"responses":{"200":{"description":"OK response."},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/CollectionCancelNotRunningResponseBody"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/CollectionCancelNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]}},"/collection/{id}/decision":{"post":{"tags":["collection"],"summary":"decide collection","description":"Make decision for a pending collection by ID","operationId":"collection#decide","parameters":[{"name":"id","in":"path","description":"Identifier of collection to look up","required":true,"type":"integer"},{"name":"object","in":"body","required":true,"schema":{"type":"object","properties":{"option":{"type":"string","description":"Decision option to proceed with","example":"Maiores aliquid voluptate necessitatibus iure sunt."}}}}],"responses":{"200":{"description":"OK response."},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/CollectionDecideNotValidResponseBody"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/CollectionDecideNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]}},"/collection/{id}/download":{"get":{"tags":["collection"],"summary":"download collection","description":"Download collection by ID","operationId":"collection#download","parameters":[{"name":"id","in":"path","description":"Identifier of collection to look up","required":true,"type":"integer"}],"responses":{"200":{"description":"OK response.","schema":{"type":"string","format":"byte"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/CollectionDownloadNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]}},"/collection/{id}/retry":{"post":{"tags":["collection"],"summary":"retry collection","description":"Retry collection processing by ID","operationId":"collection#retry","parameters":[{"name":"id","in":"path","description":"Identifier of collection to retry","required":true,"type":"integer"}],"responses":{"200":{"description":"OK response."},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/CollectionRetryNotRunningResponseBody"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/CollectionRetryNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]}},"/collection/{id}/workflow":{"get":{"tags":["collection"],"summary":"workflow collection","description":"Retrieve workflow status by ID","operationId":"collection#workflow","parameters":[{"name":"id","in":"path","description":"Identifier of collection to look up","required":true,"type":"integer"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/CollectionWorkflowResponseBody"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/CollectionWorkflowNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]}},"/pipeline":{"get":{"tags":["pipeline"],"summary":"list pipeline","description":"List all known pipelines","operationId":"pipeline#list","parameters":[{"name":"name","in":"query","required":false,"type":"string"},{"name":"status","in":"query","required":false,"type":"boolean","default":false}],"responses":{"200":{"description":"OK response.","schema":{"type":"array","items":{"$ref":"#/definitions/EnduroStoredPipelineResponse"}}}},"schemes":["http"]}},"/pipeline/{id}":{"get":{"tags":["pipeline"],"summary":"show pipeline","description":"Show pipeline by ID","operationId":"pipeline#show","parameters":[{"name":"id","in":"path","description":"Identifier of pipeline to show","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/PipelineShowResponseBody"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/PipelineShowNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]}},"/pipeline/{id}/processing":{"get":{"tags":["pipeline"],"summary":"processing pipeline","description":"List all processing configurations of a pipeline given its ID","operationId":"pipeline#processing","parameters":[{"name":"id","in":"path","description":"Identifier of pipeline","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK response.","schema":{"type":"array","items":{"type":"string","example":"Est praesentium officiis occaecati magnam est veritatis."}}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/PipelineProcessingNotFoundResponseBody","required":["message","id"]}}},"schemes":["http"]}},"/swagger/swagger.json":{"get":{"tags":["swagger"],"summary":"Download internal/api/gen/http/openapi.json","description":"JSON document containing the API swagger definition.","operationId":"swagger#/swagger/swagger.json","responses":{"200":{"description":"File downloaded","schema":{"type":"file"}}},"schemes":["http"]}}},"definitions":{"BatchHintsResponseBody":{"title":"BatchHintsResponseBody","type":"object","properties":{"completed_dirs":{"type":"array","items":{"type":"string","example":"Eligendi et."},"description":"A list of known values of completedDir used by existing watchers.","example":["Aspernatur enim fuga quam aut sit quo.","Est sed.","Ipsum dolores."]}},"example":{"completed_dirs":["Quibusdam aut magnam itaque occaecati.","Quo deserunt vitae suscipit quia ullam cumque.","Quae porro corporis blanditiis sequi rerum.","Non quas laborum eos."]}},"BatchStatusResponseBody":{"title":"BatchStatusResponseBody","type":"object","properties":{"run_id":{"type":"string","example":"Natus illum laborum."},"running":{"type":"boolean","example":true},"status":{"type":"string","example":"Omnis corporis et sunt ut esse consectetur."},"workflow_id":{"type":"string","example":"Quis accusamus enim consequatur laudantium."}},"example":{"run_id":"Doloribus sit corrupti veniam maiores ducimus.","running":false,"status":"Possimus fuga esse modi aut.","workflow_id":"Et quaerat tempore nostrum aliquid fugiat optio."},"required":["running"]},"BatchSubmitNotAvailableResponseBody":{"title":"Mediatype identifier: application/vnd.goa.error; view=default","type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":true},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":true},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":false}},"description":"submit_not_available_response_body result type (default view)","example":{"fault":true,"id":"123abc","message":"parameter 'p' must be an integer","name":"bad_request","temporary":true,"timeout":false},"required":["name","id","message","temporary","timeout","fault"]},"BatchSubmitNotValidResponseBody":{"title":"Mediatype identifier: application/vnd.goa.error; view=default","type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":false},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":false},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":true}},"description":"submit_not_valid_response_body result type (default view)","example":{"fault":false,"id":"123abc","message":"parameter 'p' must be an integer","name":"bad_request","temporary":true,"timeout":true},"required":["name","id","message","temporary","timeout","fault"]},"BatchSubmitRequestBody":{"title":"BatchSubmitRequestBody","type":"object","properties":{"completed_dir":{"type":"string","example":"Sint omnis dolor quas corrupti."},"path":{"type":"string","example":"Esse qui est."},"pipeline":{"type":"string","example":"Architecto optio."},"processing_config":{"type":"string","example":"Labore iste eveniet."},"retention_period":{"type":"string","example":"Cumque qui facilis omnis."}},"example":{"completed_dir":"Aperiam velit.","path":"Officia voluptate.","pipeline":"Sit sint est qui cum nihil quis.","processing_config":"Sit quibusdam quidem consectetur praesentium.","retention_period":"Nobis delectus."},"required":["path"]},"BatchSubmitResponseBody":{"title":"BatchSubmitResponseBody","type":"object","properties":{"run_id":{"type":"string","example":"Fugit ipsam."},"workflow_id":{"type":"string","example":"Aut aliquid enim ex sint laboriosam."}},"example":{"run_id":"Est iure optio suscipit.","workflow_id":"Ab consectetur."},"required":["workflow_id","run_id"]},"CollectionBulkNotAvailableResponseBody":{"title":"Mediatype identifier: application/vnd.goa.error; view=default","type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":false},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":true},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":true}},"description":"bulk_not_available_response_body result type (default view)","example":{"fault":true,"id":"123abc","message":"parameter 'p' must be an integer","name":"bad_request","temporary":false,"timeout":false},"required":["name","id","message","temporary","timeout","fault"]},"CollectionBulkNotValidResponseBody":{"title":"Mediatype identifier: application/vnd.goa.error; view=default","type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":true},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":false},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":true}},"description":"bulk_not_valid_response_body result type (default view)","example":{"fault":true,"id":"123abc","message":"parameter 'p' must be an integer","name":"bad_request","temporary":true,"timeout":false},"required":["name","id","message","temporary","timeout","fault"]},"CollectionBulkRequestBody":{"title":"CollectionBulkRequestBody","type":"object","properties":{"operation":{"type":"string","example":"abandon","enum":["retry","cancel","abandon"]},"size":{"type":"integer","default":100,"example":6372128085676335385,"format":"int64"},"status":{"type":"string","example":"pending","enum":["new","in progress","done","error","unknown","queued","pending","abandoned"]}},"example":{"operation":"retry","size":17066834106240065650,"status":"queued"},"required":["operation","status"]},"CollectionBulkResponseBody":{"title":"CollectionBulkResponseBody","type":"object","properties":{"run_id":{"type":"string","example":"Aut et."},"workflow_id":{"type":"string","example":"Voluptate minima."}},"example":{"run_id":"Facere omnis ab nihil magni.","workflow_id":"Harum quia."},"required":["workflow_id","run_id"]},"CollectionBulkStatusResponseBody":{"title":"CollectionBulkStatusResponseBody","type":"object","properties":{"closed_at":{"type":"string","example":"2000-07-10T03:42:21Z","format":"date-time"},"run_id":{"type":"string","example":"Quia odit."},"running":{"type":"boolean","example":false},"started_at":{"type":"string","example":"1977-11-07T02:10:43Z","format":"date-time"},"status":{"type":"string","example":"Ratione voluptatem nesciunt."},"workflow_id":{"type":"string","example":"Nihil veniam ipsa a et."}},"example":{"closed_at":"1987-12-11T01:45:20Z","run_id":"Culpa et.","running":false,"started_at":"1971-03-02T17:29:30Z","status":"Vel consequatur ut cum velit cumque quo.","workflow_id":"Inventore sit cumque necessitatibus soluta sapiente deleniti."},"required":["running"]},"CollectionCancelNotFoundResponseBody":{"title":"CollectionCancelNotFoundResponseBody","type":"object","properties":{"id":{"type":"integer","description":"Identifier of missing collection","example":8281239400323966825,"format":"int64"},"message":{"type":"string","description":"Message of error","example":"Quia et dolores rerum."}},"description":"Collection not found","example":{"id":7484765762935055342,"message":"Facilis exercitationem ducimus architecto magnam asperiores."},"required":["message","id"]},"CollectionCancelNotRunningResponseBody":{"title":"Mediatype identifier: application/vnd.goa.error; view=default","type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":false},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":true},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":true}},"description":"cancel_not_running_response_body result type (default view)","example":{"fault":true,"id":"123abc","message":"parameter 'p' must be an integer","name":"bad_request","temporary":true,"timeout":true},"required":["name","id","message","temporary","timeout","fault"]},"CollectionDecideNotFoundResponseBody":{"title":"CollectionDecideNotFoundResponseBody","type":"object","properties":{"id":{"type":"integer","description":"Identifier of missing collection","example":15909502977177845960,"format":"int64"},"message":{"type":"string","description":"Message of error","example":"Sed nam aliquid."}},"description":"Collection not found","example":{"id":10992204314310215240,"message":"Dignissimos accusamus distinctio omnis qui quidem."},"required":["message","id"]},"CollectionDecideNotValidResponseBody":{"title":"Mediatype identifier: application/vnd.goa.error; view=default","type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":false},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":false},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":false}},"description":"decide_not_valid_response_body result type (default view)","example":{"fault":false,"id":"123abc","message":"parameter 'p' must be an integer","name":"bad_request","temporary":true,"timeout":true},"required":["name","id","message","temporary","timeout","fault"]},"CollectionDeleteNotFoundResponseBody":{"title":"CollectionDeleteNotFoundResponseBody","type":"object","properties":{"id":{"type":"integer","description":"Identifier of missing collection","example":15719896702208706234,"format":"int64"},"message":{"type":"string","description":"Message of error","example":"Deserunt provident provident repellendus voluptatem exercitationem atque."}},"description":"Collection not found","example":{"id":10629914060260803936,"message":"Non dicta culpa id dolorem consequuntur fuga."},"required":["message","id"]},"CollectionDownloadNotFoundResponseBody":{"title":"CollectionDownloadNotFoundResponseBody","type":"object","properties":{"id":{"type":"integer","description":"Identifier of missing collection","example":3143202457039915320,"format":"int64"},"message":{"type":"string","description":"Message of error","example":"Et expedita distinctio voluptatem et."}},"description":"Collection not found","example":{"id":810008205606960290,"message":"Vel assumenda."},"required":["message","id"]},"CollectionListResponseBody":{"title":"CollectionListResponseBody","type":"object","properties":{"items":{"$ref":"#/definitions/EnduroStoredCollectionResponseBodyCollection"},"next_cursor":{"type":"string","example":"Cum in aliquam aliquid non tempore vel."}},"example":{"items":[{"aip_id":"d07a4bb6-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"d07a4d34-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07a48d6-11a8-11ee-ade5-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"d07a4a4f-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07a3817-11a8-11ee-ade5-7085c27bdeb0"},{"aip_id":"d07a4bb6-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"d07a4d34-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07a48d6-11a8-11ee-ade5-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"d07a4a4f-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07a3817-11a8-11ee-ade5-7085c27bdeb0"},{"aip_id":"d07a4bb6-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"d07a4d34-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07a48d6-11a8-11ee-ade5-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"d07a4a4f-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07a3817-11a8-11ee-ade5-7085c27bdeb0"},{"aip_id":"d07a4bb6-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"d07a4d34-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07a48d6-11a8-11ee-ade5-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"d07a4a4f-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07a3817-11a8-11ee-ade5-7085c27bdeb0"}],"next_cursor":"Non cupiditate."},"required":["items"]},"CollectionMonitorResponseBody":{"title":"Mediatype identifier: application/vnd.enduro.monitor-update; view=default","type":"object","properties":{"id":{"type":"integer","description":"Identifier of collection","example":17877819967277681986,"format":"int64"},"item":{"$ref":"#/definitions/EnduroStoredCollectionResponseBody"},"type":{"type":"string","description":"Type of the event","example":"Et qui expedita asperiores et."}},"description":"MonitorResponseBody result type (default view)","example":{"id":2274206577310456200,"item":{"aip_id":"d07b2f9b-11a8-11ee-ade5-7085c27bdeb0","completed_at":"1997-08-27T00:00:04Z","created_at":"1989-09-24T08:53:28Z","id":4957819645449742263,"name":"Labore totam harum repellat.","original_id":"Nostrum delectus dolor nisi.","pipeline_id":"d07c1db6-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07b2a3c-11a8-11ee-ade5-7085c27bdeb0","started_at":"1998-02-12T04:24:46Z","status":"unknown","transfer_id":"d07b2cc3-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07b27e7-11a8-11ee-ade5-7085c27bdeb0"},"type":"Quam vitae odio non laborum."},"required":["id","type"]},"CollectionRetryNotFoundResponseBody":{"title":"CollectionRetryNotFoundResponseBody","type":"object","properties":{"id":{"type":"integer","description":"Identifier of missing collection","example":1376202291394847879,"format":"int64"},"message":{"type":"string","description":"Message of error","example":"Quasi nihil corrupti repellat aut quibusdam."}},"description":"Collection not found","example":{"id":17034853208141038925,"message":"Magnam culpa."},"required":["message","id"]},"CollectionRetryNotRunningResponseBody":{"title":"Mediatype identifier: application/vnd.goa.error; view=default","type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":true},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":true},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":false}},"description":"retry_not_running_response_body result type (default view)","example":{"fault":true,"id":"123abc","message":"parameter 'p' must be an integer","name":"bad_request","temporary":false,"timeout":false},"required":["name","id","message","temporary","timeout","fault"]},"CollectionShowNotFoundResponseBody":{"title":"CollectionShowNotFoundResponseBody","type":"object","properties":{"id":{"type":"integer","description":"Identifier of missing collection","example":17409311576880797983,"format":"int64"},"message":{"type":"string","description":"Message of error","example":"Expedita aut."}},"description":"Collection not found","example":{"id":9420818705968035943,"message":"Nisi amet in accusamus eum dolores."},"required":["message","id"]},"CollectionShowResponseBody":{"title":"Mediatype identifier: application/vnd.enduro.stored-collection; view=default","type":"object","properties":{"aip_id":{"type":"string","description":"Identifier of Archivematica AIP","example":"d07fcb90-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"completed_at":{"type":"string","description":"Completion datetime","example":"2011-05-16T16:36:29Z","format":"date-time"},"created_at":{"type":"string","description":"Creation datetime","example":"1973-03-21T19:25:16Z","format":"date-time"},"id":{"type":"integer","description":"Identifier of collection","example":15649628273186382483,"format":"int64"},"name":{"type":"string","description":"Name of the collection","example":"Voluptatem cum incidunt voluptatem error adipisci."},"original_id":{"type":"string","description":"Identifier provided by the client","example":"Voluptate consequatur illo."},"pipeline_id":{"type":"string","description":"Identifier of Archivematica pipeline","example":"d07fcd1d-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"run_id":{"type":"string","description":"Identifier of latest processing workflow run","example":"d07fc90e-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"started_at":{"type":"string","description":"Start datetime","example":"2001-08-02T19:18:49Z","format":"date-time"},"status":{"type":"string","description":"Status of the collection","default":"new","example":"new","enum":["new","in progress","done","error","unknown","queued","pending","abandoned"]},"transfer_id":{"type":"string","description":"Identifier of Archivematica transfer","example":"d07fca5f-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"workflow_id":{"type":"string","description":"Identifier of processing workflow","example":"d07fc7ae-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"}},"description":"ShowResponseBody result type (default view)","example":{"aip_id":"d07fd5ca-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2005-09-09T14:24:39Z","created_at":"2007-10-14T22:27:23Z","id":9029712482372070690,"name":"Ipsam adipisci voluptas fugit aut.","original_id":"Consequatur magnam.","pipeline_id":"d07fd708-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07fd380-11a8-11ee-ade5-7085c27bdeb0","started_at":"1972-09-08T06:52:05Z","status":"pending","transfer_id":"d07fd4a7-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07fd24e-11a8-11ee-ade5-7085c27bdeb0"},"required":["id","status","created_at"]},"CollectionWorkflowNotFoundResponseBody":{"title":"CollectionWorkflowNotFoundResponseBody","type":"object","properties":{"id":{"type":"integer","description":"Identifier of missing collection","example":5069398403880905247,"format":"int64"},"message":{"type":"string","description":"Message of error","example":"Iusto modi quis distinctio."}},"description":"Collection not found","example":{"id":6957179250620142883,"message":"A a odit architecto quisquam nisi recusandae."},"required":["message","id"]},"CollectionWorkflowResponseBody":{"title":"Mediatype identifier: application/vnd.enduro.collection-workflow-status; view=default","type":"object","properties":{"history":{"$ref":"#/definitions/EnduroCollectionWorkflowHistoryResponseBodyCollection"},"status":{"type":"string","example":"Aut voluptatibus."}},"description":"WorkflowResponseBody result type (default view)","example":{"history":[{"details":"Ut eveniet et rerum nemo corporis.","id":9720827093168823906,"type":"Omnis doloremque sint dolorum quasi ex labore."},{"details":"Ut eveniet et rerum nemo corporis.","id":9720827093168823906,"type":"Omnis doloremque sint dolorum quasi ex labore."},{"details":"Ut eveniet et rerum nemo corporis.","id":9720827093168823906,"type":"Omnis doloremque sint dolorum quasi ex labore."},{"details":"Ut eveniet et rerum nemo corporis.","id":9720827093168823906,"type":"Omnis doloremque sint dolorum quasi ex labore."}],"status":"Explicabo perferendis sunt quas eos odio aut."}},"EnduroCollectionWorkflowHistoryResponseBody":{"title":"Mediatype identifier: application/vnd.enduro.collection-workflow-history; view=default","type":"object","properties":{"details":{"type":"string","description":"Contents of the event","example":"Quis itaque.","format":"binary"},"id":{"type":"integer","description":"Identifier of collection","example":13704534446480092276,"format":"int64"},"type":{"type":"string","description":"Type of the event","example":"Quaerat voluptatum necessitatibus non cum."}},"description":"WorkflowHistoryEvent describes a history event in Cadence. (default view)","example":{"details":"Quibusdam natus aut animi praesentium cupiditate.","id":4511670572085541767,"type":"Quasi dolor veritatis voluptatem dicta."}},"EnduroCollectionWorkflowHistoryResponseBodyCollection":{"title":"Mediatype identifier: application/vnd.enduro.collection-workflow-history; type=collection; view=default","type":"array","items":{"$ref":"#/definitions/EnduroCollectionWorkflowHistoryResponseBody"},"description":"EnduroCollection-Workflow-HistoryCollectionResponseBody is the result type for an array of EnduroCollection-Workflow-HistoryResponseBody (default view)","example":[{"details":"Ut eveniet et rerum nemo corporis.","id":9720827093168823906,"type":"Omnis doloremque sint dolorum quasi ex labore."},{"details":"Ut eveniet et rerum nemo corporis.","id":9720827093168823906,"type":"Omnis doloremque sint dolorum quasi ex labore."},{"details":"Ut eveniet et rerum nemo corporis.","id":9720827093168823906,"type":"Omnis doloremque sint dolorum quasi ex labore."}]},"EnduroStoredCollectionResponseBody":{"title":"Mediatype identifier: application/vnd.enduro.stored-collection; view=default","type":"object","properties":{"aip_id":{"type":"string","description":"Identifier of Archivematica AIP","example":"d07fae89-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"completed_at":{"type":"string","description":"Completion datetime","example":"1978-11-18T10:22:37Z","format":"date-time"},"created_at":{"type":"string","description":"Creation datetime","example":"1992-11-28T22:46:05Z","format":"date-time"},"id":{"type":"integer","description":"Identifier of collection","example":16783261364902862921,"format":"int64"},"name":{"type":"string","description":"Name of the collection","example":"Quia ut commodi nihil."},"original_id":{"type":"string","description":"Identifier provided by the client","example":"Dolores ipsam facilis adipisci."},"pipeline_id":{"type":"string","description":"Identifier of Archivematica pipeline","example":"d07faff9-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"run_id":{"type":"string","description":"Identifier of latest processing workflow run","example":"d07fabe6-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"started_at":{"type":"string","description":"Start datetime","example":"1974-07-18T05:21:30Z","format":"date-time"},"status":{"type":"string","description":"Status of the collection","default":"new","example":"queued","enum":["new","in progress","done","error","unknown","queued","pending","abandoned"]},"transfer_id":{"type":"string","description":"Identifier of Archivematica transfer","example":"d07fad35-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"workflow_id":{"type":"string","description":"Identifier of processing workflow","example":"d07faa6f-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"}},"description":"StoredCollection describes a collection retrieved by the service. (default view)","example":{"aip_id":"d07fb942-11a8-11ee-ade5-7085c27bdeb0","completed_at":"1992-09-23T06:18:58Z","created_at":"1983-06-28T18:36:02Z","id":828828406215854043,"name":"Nostrum aut deserunt.","original_id":"Animi praesentium omnis dignissimos cumque omnis.","pipeline_id":"d07fba9b-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07fb6a5-11a8-11ee-ade5-7085c27bdeb0","started_at":"2007-09-04T21:44:52Z","status":"unknown","transfer_id":"d07fb801-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07fb56e-11a8-11ee-ade5-7085c27bdeb0"},"required":["id","status","created_at"]},"EnduroStoredCollectionResponseBodyCollection":{"title":"Mediatype identifier: application/vnd.enduro.stored-collection; type=collection; view=default","type":"array","items":{"$ref":"#/definitions/EnduroStoredCollectionResponseBody"},"description":"EnduroStored-CollectionCollectionResponseBody is the result type for an array of EnduroStored-CollectionResponseBody (default view)","example":[{"aip_id":"d07b2f9b-11a8-11ee-ade5-7085c27bdeb0","completed_at":"1997-08-27T00:00:04Z","created_at":"1989-09-24T08:53:28Z","id":4957819645449742263,"name":"Labore totam harum repellat.","original_id":"Nostrum delectus dolor nisi.","pipeline_id":"d07c1db6-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07b2a3c-11a8-11ee-ade5-7085c27bdeb0","started_at":"1998-02-12T04:24:46Z","status":"unknown","transfer_id":"d07b2cc3-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07b27e7-11a8-11ee-ade5-7085c27bdeb0"},{"aip_id":"d07b2f9b-11a8-11ee-ade5-7085c27bdeb0","completed_at":"1997-08-27T00:00:04Z","created_at":"1989-09-24T08:53:28Z","id":4957819645449742263,"name":"Labore totam harum repellat.","original_id":"Nostrum delectus dolor nisi.","pipeline_id":"d07c1db6-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07b2a3c-11a8-11ee-ade5-7085c27bdeb0","started_at":"1998-02-12T04:24:46Z","status":"unknown","transfer_id":"d07b2cc3-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07b27e7-11a8-11ee-ade5-7085c27bdeb0"},{"aip_id":"d07b2f9b-11a8-11ee-ade5-7085c27bdeb0","completed_at":"1997-08-27T00:00:04Z","created_at":"1989-09-24T08:53:28Z","id":4957819645449742263,"name":"Labore totam harum repellat.","original_id":"Nostrum delectus dolor nisi.","pipeline_id":"d07c1db6-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07b2a3c-11a8-11ee-ade5-7085c27bdeb0","started_at":"1998-02-12T04:24:46Z","status":"unknown","transfer_id":"d07b2cc3-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07b27e7-11a8-11ee-ade5-7085c27bdeb0"}]},"EnduroStoredPipelineResponse":{"title":"Mediatype identifier: application/vnd.enduro.stored-pipeline; view=default","type":"object","properties":{"capacity":{"type":"integer","description":"Maximum concurrent transfers","example":6985482064020189961,"format":"int64"},"current":{"type":"integer","description":"Current transfers","example":3701726448145747138,"format":"int64"},"id":{"type":"string","description":"Identifier of the pipeline","example":"d08013c1-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"name":{"type":"string","description":"Name of the pipeline","example":"Veniam totam."},"status":{"type":"string","example":"Qui ipsa."}},"description":"StoredPipeline describes a pipeline retrieved by this service. (default view)","example":{"capacity":7322691743128068194,"current":72660884889227336,"id":"d08016b4-11a8-11ee-ade5-7085c27bdeb0","name":"Tempore et eligendi laudantium ea illo hic.","status":"Id minima velit provident explicabo consequatur."},"required":["name"]},"PipelineProcessingNotFoundResponseBody":{"title":"PipelineProcessingNotFoundResponseBody","type":"object","properties":{"id":{"type":"string","description":"Identifier of missing pipeline","example":"Inventore impedit voluptates vel omnis id."},"message":{"type":"string","description":"Message of error","example":"Autem adipisci suscipit distinctio qui harum totam."}},"description":"Pipeline not found","example":{"id":"Inventore hic voluptates eos distinctio sed.","message":"Quia praesentium incidunt."},"required":["message","id"]},"PipelineShowNotFoundResponseBody":{"title":"PipelineShowNotFoundResponseBody","type":"object","properties":{"id":{"type":"string","description":"Identifier of missing pipeline","example":"Ut tenetur dolorum error aut quibusdam."},"message":{"type":"string","description":"Message of error","example":"Veniam omnis dolores sed."}},"description":"Pipeline not found","example":{"id":"Sed sunt molestiae animi et aliquid voluptatem.","message":"Ut hic."},"required":["message","id"]},"PipelineShowResponseBody":{"title":"Mediatype identifier: application/vnd.enduro.stored-pipeline; view=default","type":"object","properties":{"capacity":{"type":"integer","description":"Maximum concurrent transfers","example":4612770856566959488,"format":"int64"},"current":{"type":"integer","description":"Current transfers","example":1302819909344103813,"format":"int64"},"id":{"type":"string","description":"Identifier of the pipeline","example":"d0801ab8-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"name":{"type":"string","description":"Name of the pipeline","example":"Illum autem accusamus."},"status":{"type":"string","example":"Qui tempora itaque illum vitae aliquid quia."}},"description":"ShowResponseBody result type (default view)","example":{"capacity":1349942446066623917,"current":3978574075782434602,"id":"d0801db8-11a8-11ee-ade5-7085c27bdeb0","name":"Eveniet quam consequatur eveniet.","status":"Similique unde molestiae esse consequatur reprehenderit."},"required":["name"]}}} \ No newline at end of file diff --git a/internal/api/gen/http/openapi.yaml b/internal/api/gen/http/openapi.yaml index a4167b67..bd888382 100644 --- a/internal/api/gen/http/openapi.yaml +++ b/internal/api/gen/http/openapi.yaml @@ -244,7 +244,7 @@ paths: option: type: string description: Decision option to proceed with - example: Aut voluptatibus. + example: Maiores aliquid voluptate necessitatibus iure sunt. responses: "200": description: OK response. @@ -419,6 +419,11 @@ paths: in: query required: false type: string + - name: status + in: query + required: false + type: boolean + default: false responses: "200": description: OK response. @@ -477,7 +482,7 @@ paths: type: array items: type: string - example: Voluptas suscipit quos hic quos. + example: Est praesentium officiis occaecati magnam est veritatis. "404": description: Not Found response. schema: @@ -510,37 +515,39 @@ definitions: type: array items: type: string - example: Labore iste eveniet. + example: Eligendi et. description: A list of known values of completedDir used by existing watchers. example: - - Omnis dolor. - - Corrupti illum cumque qui facilis omnis et. - - Voluptate numquam sit sint est qui cum. + - Aspernatur enim fuga quam aut sit quo. + - Est sed. + - Ipsum dolores. example: completed_dirs: - - Atque sit quibusdam quidem consectetur praesentium et. - - Velit consequatur nobis delectus. + - Quibusdam aut magnam itaque occaecati. + - Quo deserunt vitae suscipit quia ullam cumque. + - Quae porro corporis blanditiis sequi rerum. + - Non quas laborum eos. BatchStatusResponseBody: title: BatchStatusResponseBody type: object properties: run_id: type: string - example: Maxime dicta. + example: Natus illum laborum. running: type: boolean example: true status: type: string - example: Ipsam quo ab consectetur sint est. + example: Omnis corporis et sunt ut esse consectetur. workflow_id: type: string - example: Optio suscipit ratione iste dolorem. + example: Quis accusamus enim consequatur laudantium. example: - run_id: Architecto optio. + run_id: Doloribus sit corrupti veniam maiores ducimus. running: false - status: Aliquam fuga laborum maiores. - workflow_id: Esse qui est. + status: Possimus fuga esse modi aut. + workflow_id: Et quaerat tempore nostrum aliquid fugiat optio. required: - running BatchSubmitNotAvailableResponseBody: @@ -550,7 +557,7 @@ definitions: fault: type: boolean description: Is the error a server-side fault? - example: false + example: true id: type: string description: ID is a unique identifier for this particular occurrence of the problem. @@ -570,7 +577,7 @@ definitions: timeout: type: boolean description: Is the error a timeout? - example: true + example: false description: submit_not_available_response_body result type (default view) example: fault: true @@ -578,7 +585,7 @@ definitions: message: parameter 'p' must be an integer name: bad_request temporary: true - timeout: true + timeout: false required: - name - id @@ -613,14 +620,14 @@ definitions: timeout: type: boolean description: Is the error a timeout? - example: false + example: true description: submit_not_valid_response_body result type (default view) example: fault: false id: 123abc message: parameter 'p' must be an integer name: bad_request - temporary: false + temporary: true timeout: true required: - name @@ -635,25 +642,25 @@ definitions: properties: completed_dir: type: string - example: Eum accusantium fugiat asperiores id. + example: Sint omnis dolor quas corrupti. path: type: string - example: Et beatae. + example: Esse qui est. pipeline: type: string - example: Quos dolores corporis quidem rerum vitae. + example: Architecto optio. processing_config: type: string - example: Reiciendis laborum deserunt quasi ea quisquam et. + example: Labore iste eveniet. retention_period: type: string - example: Molestiae deserunt facere adipisci dignissimos iusto. + example: Cumque qui facilis omnis. example: - completed_dir: Animi quis. - path: Sunt omnis qui. - pipeline: Quaerat sunt nihil ipsam harum quaerat molestiae. - processing_config: Soluta corporis qui nesciunt assumenda. - retention_period: Aut aliquid enim ex sint laboriosam. + completed_dir: Aperiam velit. + path: Officia voluptate. + pipeline: Sit sint est qui cum nihil quis. + processing_config: Sit quibusdam quidem consectetur praesentium. + retention_period: Nobis delectus. required: - path BatchSubmitResponseBody: @@ -662,13 +669,13 @@ definitions: properties: run_id: type: string - example: Qui suscipit. + example: Fugit ipsam. workflow_id: type: string - example: Nemo dolores. + example: Aut aliquid enim ex sint laboriosam. example: - run_id: Aliquam inventore repudiandae. - workflow_id: Voluptatum recusandae. + run_id: Est iure optio suscipit. + workflow_id: Ab consectetur. required: - workflow_id - run_id @@ -679,7 +686,7 @@ definitions: fault: type: boolean description: Is the error a server-side fault? - example: true + example: false id: type: string description: ID is a unique identifier for this particular occurrence of the problem. @@ -695,18 +702,18 @@ definitions: temporary: type: boolean description: Is the error temporary? - example: false + example: true timeout: type: boolean description: Is the error a timeout? - example: false + example: true description: bulk_not_available_response_body result type (default view) example: fault: true id: 123abc message: parameter 'p' must be an integer name: bad_request - temporary: true + temporary: false timeout: false required: - name @@ -738,19 +745,19 @@ definitions: temporary: type: boolean description: Is the error temporary? - example: true + example: false timeout: type: boolean description: Is the error a timeout? - example: false + example: true description: bulk_not_valid_response_body result type (default view) example: - fault: false + fault: true id: 123abc message: parameter 'p' must be an integer name: bad_request - temporary: false - timeout: true + temporary: true + timeout: false required: - name - id @@ -764,7 +771,7 @@ definitions: properties: operation: type: string - example: retry + example: abandon enum: - retry - cancel @@ -772,11 +779,11 @@ definitions: size: type: integer default: 100 - example: 1353605449658321580 + example: 6372128085676335385 format: int64 status: type: string - example: error + example: pending enum: - new - in progress @@ -788,8 +795,8 @@ definitions: - abandoned example: operation: retry - size: 14133773161423226523 - status: in progress + size: 17066834106240065650 + status: queued required: - operation - status @@ -799,13 +806,13 @@ definitions: properties: run_id: type: string - example: Necessitatibus non cum. + example: Aut et. workflow_id: type: string - example: Placeat quaerat. + example: Voluptate minima. example: - run_id: Id quasi dolor veritatis voluptatem. - workflow_id: Quis itaque. + run_id: Facere omnis ab nihil magni. + workflow_id: Harum quia. required: - workflow_id - run_id @@ -815,31 +822,31 @@ definitions: properties: closed_at: type: string - example: "2003-02-27T22:30:34Z" + example: "2000-07-10T03:42:21Z" format: date-time run_id: type: string - example: Repudiandae adipisci quis dolores dicta voluptas sed. + example: Quia odit. running: type: boolean - example: true + example: false started_at: type: string - example: "1986-11-12T17:23:57Z" + example: "1977-11-07T02:10:43Z" format: date-time status: type: string - example: Dignissimos similique quisquam. + example: Ratione voluptatem nesciunt. workflow_id: type: string - example: Libero dolorem libero neque. + example: Nihil veniam ipsa a et. example: - closed_at: "1981-08-15T14:18:57Z" - run_id: Adipisci qui. - running: true - started_at: "2005-05-09T20:52:38Z" - status: Adipisci hic magni mollitia. - workflow_id: Quod aut veritatis numquam sit dolor. + closed_at: "1987-12-11T01:45:20Z" + run_id: Culpa et. + running: false + started_at: "1971-03-02T17:29:30Z" + status: Vel consequatur ut cum velit cumque quo. + workflow_id: Inventore sit cumque necessitatibus soluta sapiente deleniti. required: - running CollectionCancelNotFoundResponseBody: @@ -849,16 +856,16 @@ definitions: id: type: integer description: Identifier of missing collection - example: 277596864347657660 + example: 8281239400323966825 format: int64 message: type: string description: Message of error - example: Ducimus vel temporibus hic pariatur ea at. + example: Quia et dolores rerum. description: Collection not found example: - id: 10716361090369440255 - message: Reprehenderit excepturi ratione sint perspiciatis vel. + id: 7484765762935055342 + message: Facilis exercitationem ducimus architecto magnam asperiores. required: - message - id @@ -869,7 +876,7 @@ definitions: fault: type: boolean description: Is the error a server-side fault? - example: true + example: false id: type: string description: ID is a unique identifier for this particular occurrence of the problem. @@ -889,15 +896,15 @@ definitions: timeout: type: boolean description: Is the error a timeout? - example: false + example: true description: cancel_not_running_response_body result type (default view) example: - fault: false + fault: true id: 123abc message: parameter 'p' must be an integer name: bad_request - temporary: false - timeout: false + temporary: true + timeout: true required: - name - id @@ -912,16 +919,16 @@ definitions: id: type: integer description: Identifier of missing collection - example: 1376202291394847879 + example: 15909502977177845960 format: int64 message: type: string description: Message of error - example: Repellat aut quibusdam. + example: Sed nam aliquid. description: Collection not found example: - id: 17034853208141038925 - message: Magnam culpa. + id: 10992204314310215240 + message: Dignissimos accusamus distinctio omnis qui quidem. required: - message - id @@ -932,7 +939,7 @@ definitions: fault: type: boolean description: Is the error a server-side fault? - example: true + example: false id: type: string description: ID is a unique identifier for this particular occurrence of the problem. @@ -948,19 +955,19 @@ definitions: temporary: type: boolean description: Is the error temporary? - example: true + example: false timeout: type: boolean description: Is the error a timeout? example: false description: decide_not_valid_response_body result type (default view) example: - fault: true + fault: false id: 123abc message: parameter 'p' must be an integer name: bad_request - temporary: false - timeout: false + temporary: true + timeout: true required: - name - id @@ -975,16 +982,16 @@ definitions: id: type: integer description: Identifier of missing collection - example: 12551785389598618922 + example: 15719896702208706234 format: int64 message: type: string description: Message of error - example: Odio vel ducimus veniam. + example: Deserunt provident provident repellendus voluptatem exercitationem atque. description: Collection not found example: - id: 5868370656017257521 - message: Iure dolores voluptas ut nihil dicta. + id: 10629914060260803936 + message: Non dicta culpa id dolorem consequuntur fuga. required: - message - id @@ -995,16 +1002,16 @@ definitions: id: type: integer description: Identifier of missing collection - example: 7484765762935055342 + example: 3143202457039915320 format: int64 message: type: string description: Message of error - example: Facilis exercitationem ducimus architecto magnam asperiores. + example: Et expedita distinctio voluptatem et. description: Collection not found example: - id: 1839183055159585335 - message: Corrupti cumque aliquid consequatur laudantium rerum quasi. + id: 810008205606960290 + message: Vel assumenda. required: - message - id @@ -1016,58 +1023,58 @@ definitions: $ref: '#/definitions/EnduroStoredCollectionResponseBodyCollection' next_cursor: type: string - example: Accusamus exercitationem minima. + example: Cum in aliquam aliquid non tempore vel. example: items: - - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 + - aip_id: d07a4bb6-11a8-11ee-ade5-7085c27bdeb0 completed_at: "2014-01-26T22:52:33Z" created_at: "2006-09-07T19:48:15Z" id: 5273261262554249024 name: Iusto laudantium assumenda. original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 + pipeline_id: d07a4d34-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07a48d6-11a8-11ee-ade5-7085c27bdeb0 started_at: "1986-05-13T23:32:21Z" status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 + transfer_id: d07a4a4f-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07a3817-11a8-11ee-ade5-7085c27bdeb0 + - aip_id: d07a4bb6-11a8-11ee-ade5-7085c27bdeb0 completed_at: "2014-01-26T22:52:33Z" created_at: "2006-09-07T19:48:15Z" id: 5273261262554249024 name: Iusto laudantium assumenda. original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 + pipeline_id: d07a4d34-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07a48d6-11a8-11ee-ade5-7085c27bdeb0 started_at: "1986-05-13T23:32:21Z" status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 + transfer_id: d07a4a4f-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07a3817-11a8-11ee-ade5-7085c27bdeb0 + - aip_id: d07a4bb6-11a8-11ee-ade5-7085c27bdeb0 completed_at: "2014-01-26T22:52:33Z" created_at: "2006-09-07T19:48:15Z" id: 5273261262554249024 name: Iusto laudantium assumenda. original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 + pipeline_id: d07a4d34-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07a48d6-11a8-11ee-ade5-7085c27bdeb0 started_at: "1986-05-13T23:32:21Z" status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 + transfer_id: d07a4a4f-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07a3817-11a8-11ee-ade5-7085c27bdeb0 + - aip_id: d07a4bb6-11a8-11ee-ade5-7085c27bdeb0 completed_at: "2014-01-26T22:52:33Z" created_at: "2006-09-07T19:48:15Z" id: 5273261262554249024 name: Iusto laudantium assumenda. original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 + pipeline_id: d07a4d34-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07a48d6-11a8-11ee-ade5-7085c27bdeb0 started_at: "1986-05-13T23:32:21Z" status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - next_cursor: Quae recusandae aperiam ullam vitae quas quia. + transfer_id: d07a4a4f-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07a3817-11a8-11ee-ade5-7085c27bdeb0 + next_cursor: Non cupiditate. required: - items CollectionMonitorResponseBody: @@ -1077,31 +1084,31 @@ definitions: id: type: integer description: Identifier of collection - example: 6193006552320250870 + example: 17877819967277681986 format: int64 item: $ref: '#/definitions/EnduroStoredCollectionResponseBody' type: type: string description: Type of the event - example: Omnis corporis et sunt ut esse consectetur. + example: Et qui expedita asperiores et. description: MonitorResponseBody result type (default view) example: - id: 12405835316014393680 + id: 2274206577310456200 item: - aip_id: 426361cd-09c7-11ee-8a61-7085c27bdeb0 - completed_at: "1998-02-12T04:24:46Z" - created_at: "1973-08-04T01:33:26Z" - id: 16968418681385432070 - name: Enim laborum ea facilis provident. - original_id: Aut impedit. - pipeline_id: 4263634d-09c7-11ee-8a61-7085c27bdeb0 - run_id: 42635efa-09c7-11ee-8a61-7085c27bdeb0 - started_at: "2008-05-29T00:39:53Z" - status: new - transfer_id: 42636084-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 42635d7d-09c7-11ee-8a61-7085c27bdeb0 - type: Perspiciatis quis provident. + aip_id: d07b2f9b-11a8-11ee-ade5-7085c27bdeb0 + completed_at: "1997-08-27T00:00:04Z" + created_at: "1989-09-24T08:53:28Z" + id: 4957819645449742263 + name: Labore totam harum repellat. + original_id: Nostrum delectus dolor nisi. + pipeline_id: d07c1db6-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07b2a3c-11a8-11ee-ade5-7085c27bdeb0 + started_at: "1998-02-12T04:24:46Z" + status: unknown + transfer_id: d07b2cc3-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07b27e7-11a8-11ee-ade5-7085c27bdeb0 + type: Quam vitae odio non laborum. required: - id - type @@ -1112,16 +1119,16 @@ definitions: id: type: integer description: Identifier of missing collection - example: 14858541864475941246 + example: 1376202291394847879 format: int64 message: type: string description: Message of error - example: Quasi incidunt. + example: Quasi nihil corrupti repellat aut quibusdam. description: Collection not found example: - id: 14498290853431995332 - message: Vel aliquam similique illo ex unde distinctio. + id: 17034853208141038925 + message: Magnam culpa. required: - message - id @@ -1152,15 +1159,15 @@ definitions: timeout: type: boolean description: Is the error a timeout? - example: true + example: false description: retry_not_running_response_body result type (default view) example: fault: true id: 123abc message: parameter 'p' must be an integer name: bad_request - temporary: true - timeout: true + temporary: false + timeout: false required: - name - id @@ -1175,16 +1182,16 @@ definitions: id: type: integer description: Identifier of missing collection - example: 15930638639081176381 + example: 17409311576880797983 format: int64 message: type: string description: Message of error - example: In eum nisi ut. + example: Expedita aut. description: Collection not found example: - id: 14511219037034375205 - message: Quia eligendi. + id: 9420818705968035943 + message: Nisi amet in accusamus eum dolores. required: - message - id @@ -1195,51 +1202,51 @@ definitions: aip_id: type: string description: Identifier of Archivematica AIP - example: 4264f435-09c7-11ee-8a61-7085c27bdeb0 + example: d07fcb90-11a8-11ee-ade5-7085c27bdeb0 format: uuid completed_at: type: string description: Completion datetime - example: "1973-03-21T19:25:16Z" + example: "2011-05-16T16:36:29Z" format: date-time created_at: type: string description: Creation datetime - example: "1995-05-01T19:44:23Z" + example: "1973-03-21T19:25:16Z" format: date-time id: type: integer description: Identifier of collection - example: 11496548019844697755 + example: 15649628273186382483 format: int64 name: type: string description: Name of the collection - example: Molestiae consectetur veniam vel. + example: Voluptatem cum incidunt voluptatem error adipisci. original_id: type: string description: Identifier provided by the client - example: Possimus sapiente aliquam. + example: Voluptate consequatur illo. pipeline_id: type: string description: Identifier of Archivematica pipeline - example: 4264f5bd-09c7-11ee-8a61-7085c27bdeb0 + example: d07fcd1d-11a8-11ee-ade5-7085c27bdeb0 format: uuid run_id: type: string description: Identifier of latest processing workflow run - example: 4264f1c3-09c7-11ee-8a61-7085c27bdeb0 + example: d07fc90e-11a8-11ee-ade5-7085c27bdeb0 format: uuid started_at: type: string description: Start datetime - example: "2005-10-22T08:03:17Z" + example: "2001-08-02T19:18:49Z" format: date-time status: type: string description: Status of the collection default: new - example: unknown + example: new enum: - new - in progress @@ -1252,27 +1259,27 @@ definitions: transfer_id: type: string description: Identifier of Archivematica transfer - example: 4264f309-09c7-11ee-8a61-7085c27bdeb0 + example: d07fca5f-11a8-11ee-ade5-7085c27bdeb0 format: uuid workflow_id: type: string description: Identifier of processing workflow - example: 4264f075-09c7-11ee-8a61-7085c27bdeb0 + example: d07fc7ae-11a8-11ee-ade5-7085c27bdeb0 format: uuid description: ShowResponseBody result type (default view) example: - aip_id: 4264fe55-09c7-11ee-8a61-7085c27bdeb0 - completed_at: "1978-04-22T21:56:07Z" - created_at: "2002-07-12T17:52:20Z" - id: 15308119566076533803 - name: Molestiae consequatur. - original_id: Occaecati voluptate vero sit. - pipeline_id: 4264ffad-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4264fbd0-09c7-11ee-8a61-7085c27bdeb0 - started_at: "1998-07-04T21:38:01Z" - status: error - transfer_id: 4264fd2e-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4264fab1-09c7-11ee-8a61-7085c27bdeb0 + aip_id: d07fd5ca-11a8-11ee-ade5-7085c27bdeb0 + completed_at: "2005-09-09T14:24:39Z" + created_at: "2007-10-14T22:27:23Z" + id: 9029712482372070690 + name: Ipsam adipisci voluptas fugit aut. + original_id: Consequatur magnam. + pipeline_id: d07fd708-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07fd380-11a8-11ee-ade5-7085c27bdeb0 + started_at: "1972-09-08T06:52:05Z" + status: pending + transfer_id: d07fd4a7-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07fd24e-11a8-11ee-ade5-7085c27bdeb0 required: - id - status @@ -1284,16 +1291,16 @@ definitions: id: type: integer description: Identifier of missing collection - example: 10629914060260803936 + example: 5069398403880905247 format: int64 message: type: string description: Message of error - example: Non dicta culpa id dolorem consequuntur fuga. + example: Iusto modi quis distinctio. description: Collection not found example: - id: 8281239400323966825 - message: Quia et dolores rerum. + id: 6957179250620142883 + message: A a odit architecto quisquam nisi recusandae. required: - message - id @@ -1305,23 +1312,23 @@ definitions: $ref: '#/definitions/EnduroCollectionWorkflowHistoryResponseBodyCollection' status: type: string - example: Sed nostrum rerum consequatur odit. + example: Aut voluptatibus. description: WorkflowResponseBody result type (default view) example: history: - - details: Natus quaerat asperiores. - id: 16386509086693568270 - type: Impedit fugit et porro suscipit. - - details: Natus quaerat asperiores. - id: 16386509086693568270 - type: Impedit fugit et porro suscipit. - - details: Natus quaerat asperiores. - id: 16386509086693568270 - type: Impedit fugit et porro suscipit. - - details: Natus quaerat asperiores. - id: 16386509086693568270 - type: Impedit fugit et porro suscipit. - status: Repellendus voluptatem exercitationem atque quo. + - details: Ut eveniet et rerum nemo corporis. + id: 9720827093168823906 + type: Omnis doloremque sint dolorum quasi ex labore. + - details: Ut eveniet et rerum nemo corporis. + id: 9720827093168823906 + type: Omnis doloremque sint dolorum quasi ex labore. + - details: Ut eveniet et rerum nemo corporis. + id: 9720827093168823906 + type: Omnis doloremque sint dolorum quasi ex labore. + - details: Ut eveniet et rerum nemo corporis. + id: 9720827093168823906 + type: Omnis doloremque sint dolorum quasi ex labore. + status: Explicabo perferendis sunt quas eos odio aut. EnduroCollectionWorkflowHistoryResponseBody: title: 'Mediatype identifier: application/vnd.enduro.collection-workflow-history; view=default' type: object @@ -1329,22 +1336,22 @@ definitions: details: type: string description: Contents of the event - example: Tempore debitis iure expedita aut omnis. + example: Quis itaque. format: binary id: type: integer description: Identifier of collection - example: 8606571253257041784 + example: 13704534446480092276 format: int64 type: type: string description: Type of the event - example: Pariatur quaerat praesentium aperiam sunt optio. + example: Quaerat voluptatum necessitatibus non cum. description: WorkflowHistoryEvent describes a history event in Cadence. (default view) example: - details: Dolores ipsa dolor deserunt. - id: 9510504028261891260 - type: Amet in accusamus. + details: Quibusdam natus aut animi praesentium cupiditate. + id: 4511670572085541767 + type: Quasi dolor veritatis voluptatem dicta. EnduroCollectionWorkflowHistoryResponseBodyCollection: title: 'Mediatype identifier: application/vnd.enduro.collection-workflow-history; type=collection; view=default' type: array @@ -1352,15 +1359,15 @@ definitions: $ref: '#/definitions/EnduroCollectionWorkflowHistoryResponseBody' description: EnduroCollection-Workflow-HistoryCollectionResponseBody is the result type for an array of EnduroCollection-Workflow-HistoryResponseBody (default view) example: - - details: Natus quaerat asperiores. - id: 16386509086693568270 - type: Impedit fugit et porro suscipit. - - details: Natus quaerat asperiores. - id: 16386509086693568270 - type: Impedit fugit et porro suscipit. - - details: Natus quaerat asperiores. - id: 16386509086693568270 - type: Impedit fugit et porro suscipit. + - details: Ut eveniet et rerum nemo corporis. + id: 9720827093168823906 + type: Omnis doloremque sint dolorum quasi ex labore. + - details: Ut eveniet et rerum nemo corporis. + id: 9720827093168823906 + type: Omnis doloremque sint dolorum quasi ex labore. + - details: Ut eveniet et rerum nemo corporis. + id: 9720827093168823906 + type: Omnis doloremque sint dolorum quasi ex labore. EnduroStoredCollectionResponseBody: title: 'Mediatype identifier: application/vnd.enduro.stored-collection; view=default' type: object @@ -1368,51 +1375,51 @@ definitions: aip_id: type: string description: Identifier of Archivematica AIP - example: 4264dce6-09c7-11ee-8a61-7085c27bdeb0 + example: d07fae89-11a8-11ee-ade5-7085c27bdeb0 format: uuid completed_at: type: string description: Completion datetime - example: "1986-06-25T17:08:01Z" + example: "1978-11-18T10:22:37Z" format: date-time created_at: type: string description: Creation datetime - example: "1985-07-20T04:34:28Z" + example: "1992-11-28T22:46:05Z" format: date-time id: type: integer description: Identifier of collection - example: 5410736015454181723 + example: 16783261364902862921 format: int64 name: type: string description: Name of the collection - example: Accusamus enim consequatur laudantium. + example: Quia ut commodi nihil. original_id: type: string description: Identifier provided by the client - example: Perspiciatis quia ab. + example: Dolores ipsam facilis adipisci. pipeline_id: type: string description: Identifier of Archivematica pipeline - example: 4264de4f-09c7-11ee-8a61-7085c27bdeb0 + example: d07faff9-11a8-11ee-ade5-7085c27bdeb0 format: uuid run_id: type: string description: Identifier of latest processing workflow run - example: 4264d9b9-09c7-11ee-8a61-7085c27bdeb0 + example: d07fabe6-11a8-11ee-ade5-7085c27bdeb0 format: uuid started_at: type: string description: Start datetime - example: "2006-01-12T03:35:07Z" + example: "1974-07-18T05:21:30Z" format: date-time status: type: string description: Status of the collection default: new - example: pending + example: queued enum: - new - in progress @@ -1425,27 +1432,27 @@ definitions: transfer_id: type: string description: Identifier of Archivematica transfer - example: 4264daf9-09c7-11ee-8a61-7085c27bdeb0 + example: d07fad35-11a8-11ee-ade5-7085c27bdeb0 format: uuid workflow_id: type: string description: Identifier of processing workflow - example: 4264d864-09c7-11ee-8a61-7085c27bdeb0 + example: d07faa6f-11a8-11ee-ade5-7085c27bdeb0 format: uuid description: StoredCollection describes a collection retrieved by the service. (default view) example: - aip_id: 4264e6ce-09c7-11ee-8a61-7085c27bdeb0 - completed_at: "1983-06-28T18:36:02Z" - created_at: "1983-05-15T18:56:58Z" - id: 12050072113447639673 - name: Et repellat commodi sint. - original_id: Dolores et dolorem quod. - pipeline_id: 4264e7f6-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4264e483-09c7-11ee-8a61-7085c27bdeb0 - started_at: "1985-03-30T00:57:49Z" + aip_id: d07fb942-11a8-11ee-ade5-7085c27bdeb0 + completed_at: "1992-09-23T06:18:58Z" + created_at: "1983-06-28T18:36:02Z" + id: 828828406215854043 + name: Nostrum aut deserunt. + original_id: Animi praesentium omnis dignissimos cumque omnis. + pipeline_id: d07fba9b-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07fb6a5-11a8-11ee-ade5-7085c27bdeb0 + started_at: "2007-09-04T21:44:52Z" status: unknown - transfer_id: 4264e5a1-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4264e364-09c7-11ee-8a61-7085c27bdeb0 + transfer_id: d07fb801-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07fb56e-11a8-11ee-ade5-7085c27bdeb0 required: - id - status @@ -1457,30 +1464,42 @@ definitions: $ref: '#/definitions/EnduroStoredCollectionResponseBody' description: EnduroStored-CollectionCollectionResponseBody is the result type for an array of EnduroStored-CollectionResponseBody (default view) example: - - aip_id: 426361cd-09c7-11ee-8a61-7085c27bdeb0 - completed_at: "1998-02-12T04:24:46Z" - created_at: "1973-08-04T01:33:26Z" - id: 16968418681385432070 - name: Enim laborum ea facilis provident. - original_id: Aut impedit. - pipeline_id: 4263634d-09c7-11ee-8a61-7085c27bdeb0 - run_id: 42635efa-09c7-11ee-8a61-7085c27bdeb0 - started_at: "2008-05-29T00:39:53Z" - status: new - transfer_id: 42636084-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 42635d7d-09c7-11ee-8a61-7085c27bdeb0 - - aip_id: 426361cd-09c7-11ee-8a61-7085c27bdeb0 - completed_at: "1998-02-12T04:24:46Z" - created_at: "1973-08-04T01:33:26Z" - id: 16968418681385432070 - name: Enim laborum ea facilis provident. - original_id: Aut impedit. - pipeline_id: 4263634d-09c7-11ee-8a61-7085c27bdeb0 - run_id: 42635efa-09c7-11ee-8a61-7085c27bdeb0 - started_at: "2008-05-29T00:39:53Z" - status: new - transfer_id: 42636084-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 42635d7d-09c7-11ee-8a61-7085c27bdeb0 + - aip_id: d07b2f9b-11a8-11ee-ade5-7085c27bdeb0 + completed_at: "1997-08-27T00:00:04Z" + created_at: "1989-09-24T08:53:28Z" + id: 4957819645449742263 + name: Labore totam harum repellat. + original_id: Nostrum delectus dolor nisi. + pipeline_id: d07c1db6-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07b2a3c-11a8-11ee-ade5-7085c27bdeb0 + started_at: "1998-02-12T04:24:46Z" + status: unknown + transfer_id: d07b2cc3-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07b27e7-11a8-11ee-ade5-7085c27bdeb0 + - aip_id: d07b2f9b-11a8-11ee-ade5-7085c27bdeb0 + completed_at: "1997-08-27T00:00:04Z" + created_at: "1989-09-24T08:53:28Z" + id: 4957819645449742263 + name: Labore totam harum repellat. + original_id: Nostrum delectus dolor nisi. + pipeline_id: d07c1db6-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07b2a3c-11a8-11ee-ade5-7085c27bdeb0 + started_at: "1998-02-12T04:24:46Z" + status: unknown + transfer_id: d07b2cc3-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07b27e7-11a8-11ee-ade5-7085c27bdeb0 + - aip_id: d07b2f9b-11a8-11ee-ade5-7085c27bdeb0 + completed_at: "1997-08-27T00:00:04Z" + created_at: "1989-09-24T08:53:28Z" + id: 4957819645449742263 + name: Labore totam harum repellat. + original_id: Nostrum delectus dolor nisi. + pipeline_id: d07c1db6-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07b2a3c-11a8-11ee-ade5-7085c27bdeb0 + started_at: "1998-02-12T04:24:46Z" + status: unknown + transfer_id: d07b2cc3-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07b27e7-11a8-11ee-ade5-7085c27bdeb0 EnduroStoredPipelineResponse: title: 'Mediatype identifier: application/vnd.enduro.stored-pipeline; view=default' type: object @@ -1488,28 +1507,32 @@ definitions: capacity: type: integer description: Maximum concurrent transfers - example: 6585607666670623585 + example: 6985482064020189961 format: int64 current: type: integer description: Current transfers - example: 1203369190548696594 + example: 3701726448145747138 format: int64 id: type: string description: Identifier of the pipeline - example: 42652b8c-09c7-11ee-8a61-7085c27bdeb0 + example: d08013c1-11a8-11ee-ade5-7085c27bdeb0 format: uuid name: type: string description: Name of the pipeline - example: Cumque est. + example: Veniam totam. + status: + type: string + example: Qui ipsa. description: StoredPipeline describes a pipeline retrieved by this service. (default view) example: - capacity: 6500807869686112163 - current: 7817357183225686152 - id: 42652d24-09c7-11ee-8a61-7085c27bdeb0 - name: Voluptatem non corporis voluptatem laborum. + capacity: 7322691743128068194 + current: 72660884889227336 + id: d08016b4-11a8-11ee-ade5-7085c27bdeb0 + name: Tempore et eligendi laudantium ea illo hic. + status: Id minima velit provident explicabo consequatur. required: - name PipelineProcessingNotFoundResponseBody: @@ -1519,15 +1542,15 @@ definitions: id: type: string description: Identifier of missing pipeline - example: Possimus in facere dolorum numquam sit. + example: Inventore impedit voluptates vel omnis id. message: type: string description: Message of error - example: Numquam quo tempora enim possimus. + example: Autem adipisci suscipit distinctio qui harum totam. description: Pipeline not found example: - id: Omnis totam. - message: Libero exercitationem illum autem. + id: Inventore hic voluptates eos distinctio sed. + message: Quia praesentium incidunt. required: - message - id @@ -1538,15 +1561,15 @@ definitions: id: type: string description: Identifier of missing pipeline - example: Est ad. + example: Ut tenetur dolorum error aut quibusdam. message: type: string description: Message of error - example: Consequatur eos provident nemo. + example: Veniam omnis dolores sed. description: Pipeline not found example: - id: Magni consequuntur. - message: Omnis eius fugiat laborum totam consequatur. + id: Sed sunt molestiae animi et aliquid voluptatem. + message: Ut hic. required: - message - id @@ -1557,27 +1580,31 @@ definitions: capacity: type: integer description: Maximum concurrent transfers - example: 8683246846271892322 + example: 4612770856566959488 format: int64 current: type: integer description: Current transfers - example: 7743840208477281633 + example: 1302819909344103813 format: int64 id: type: string description: Identifier of the pipeline - example: 42652f98-09c7-11ee-8a61-7085c27bdeb0 + example: d0801ab8-11a8-11ee-ade5-7085c27bdeb0 format: uuid name: type: string description: Name of the pipeline - example: Iste aperiam laborum. + example: Illum autem accusamus. + status: + type: string + example: Qui tempora itaque illum vitae aliquid quia. description: ShowResponseBody result type (default view) example: - capacity: 4152423017293452287 - current: 188594052925440695 - id: 42653121-09c7-11ee-8a61-7085c27bdeb0 - name: Consequatur provident nulla veritatis. + capacity: 1349942446066623917 + current: 3978574075782434602 + id: d0801db8-11a8-11ee-ade5-7085c27bdeb0 + name: Eveniet quam consequatur eveniet. + status: Similique unde molestiae esse consequatur reprehenderit. required: - name diff --git a/internal/api/gen/http/openapi3.json b/internal/api/gen/http/openapi3.json index 96deda32..c61dd70f 100644 --- a/internal/api/gen/http/openapi3.json +++ b/internal/api/gen/http/openapi3.json @@ -1 +1 @@ -{"openapi":"3.0.3","info":{"title":"Enduro API","version":"1.0"},"servers":[{"url":"http://localhost:9000"}],"paths":{"/batch":{"get":{"tags":["batch"],"summary":"status batch","description":"Retrieve status of current batch operation.","operationId":"batch#status","responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchStatusResult"},"example":{"run_id":"Officiis illo velit possimus et ea.","running":true,"status":"Odit aut.","workflow_id":"Perferendis illum illum omnis."}}}}}},"post":{"tags":["batch"],"summary":"submit batch","description":"Submit a new batch","operationId":"batch#submit","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitRequestBody"},"example":{"completed_dir":"Sit sed laboriosam.","path":"Provident voluptates iure et.","pipeline":"Ut dolor est.","processing_config":"Eum quis nihil soluta ut molestiae et.","retention_period":"Sit nihil."}}}},"responses":{"202":{"description":"Accepted response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchResult"},"example":{"run_id":"Vel voluptatem.","workflow_id":"Necessitatibus vel aut deleniti quia qui."}}}},"400":{"description":"not_valid: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"not_available: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/batch/hints":{"get":{"tags":["batch"],"summary":"hints batch","description":"Retrieve form hints","operationId":"batch#hints","responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchHintsResult"},"example":{"completed_dirs":["Eaque debitis rerum.","Ut nam."]}}}}}}},"/collection":{"get":{"tags":["collection"],"summary":"list collection","description":"List all stored collections","operationId":"collection#list","parameters":[{"name":"name","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"Voluptatem id."},"example":"Laborum commodi dolorem."},{"name":"original_id","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"Autem eum labore tempora cumque sit."},"example":"Aut nesciunt."},{"name":"transfer_id","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"426558a5-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"example":"426559e9-09c7-11ee-8a61-7085c27bdeb0"},{"name":"aip_id","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"42655b0d-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"example":"42655c2e-09c7-11ee-8a61-7085c27bdeb0"},{"name":"pipeline_id","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"42655d6b-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"example":"42655ea8-09c7-11ee-8a61-7085c27bdeb0"},{"name":"earliest_created_time","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"1988-02-01T17:24:24Z","format":"date-time"},"example":"2001-04-06T12:47:58Z"},{"name":"latest_created_time","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"1982-08-25T20:27:09Z","format":"date-time"},"example":"1997-10-27T04:41:09Z"},{"name":"status","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"queued","enum":["new","in progress","done","error","unknown","queued","pending","abandoned"]},"example":"abandoned"},{"name":"cursor","in":"query","description":"Pagination cursor","allowEmptyValue":true,"schema":{"type":"string","description":"Pagination cursor","example":"Eum quas doloribus tempore sit vel."},"example":"Pariatur hic corporis repudiandae nulla ipsum officia."}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseBody"},"example":{"items":[{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"},{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"},{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"},{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"}],"next_cursor":"Voluptatem ab similique aut sed velit ad."}}}}}}},"/collection/bulk":{"get":{"tags":["collection"],"summary":"bulk_status collection","description":"Retrieve status of current bulk operation.","operationId":"collection#bulk_status","responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkStatusResult"},"example":{"closed_at":"2006-08-26T23:55:15Z","run_id":"Voluptatibus eligendi consectetur alias architecto in.","running":true,"started_at":"1983-07-13T20:54:35Z","status":"Consequatur porro.","workflow_id":"Consequatur commodi reprehenderit."}}}}}},"post":{"tags":["collection"],"summary":"bulk collection","description":"Bulk operations (retry, cancel...).","operationId":"collection#bulk","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkRequestBody"},"example":{"operation":"cancel","size":11998998615337084245,"status":"done"}}}},"responses":{"202":{"description":"Accepted response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchResult"},"example":{"run_id":"Praesentium velit aspernatur alias animi.","workflow_id":"Mollitia recusandae."}}}},"400":{"description":"not_valid: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"not_available: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/collection/monitor":{"get":{"tags":["collection"],"summary":"monitor collection","operationId":"collection#monitor","responses":{"101":{"description":"Switching Protocols response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnduroMonitorUpdate"},"example":{"id":9639929401210070073,"item":{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"},"type":"Sequi magnam ea et."}}}}}}},"/collection/{id}":{"delete":{"tags":["collection"],"summary":"delete collection","description":"Delete collection by ID","operationId":"collection#delete","parameters":[{"name":"id","in":"path","description":"Identifier of collection to delete","required":true,"schema":{"type":"integer","description":"Identifier of collection to delete","example":6354617311069634499},"example":4525807496681691084}],"responses":{"204":{"description":"No Content response."},"404":{"description":"not_found: Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionNotfound"}}}}}},"get":{"tags":["collection"],"summary":"show collection","description":"Show collection by ID","operationId":"collection#show","parameters":[{"name":"id","in":"path","description":"Identifier of collection to show","required":true,"schema":{"type":"integer","description":"Identifier of collection to show","example":6803957225682286696},"example":3163474387486333795}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnduroStoredCollection"},"example":{"aip_id":"4263b41a-09c7-11ee-8a61-7085c27bdeb0","completed_at":"1996-03-18T22:31:34Z","created_at":"2004-07-12T09:40:41Z","id":17087991906092947193,"name":"Ullam eum maiores totam in numquam.","original_id":"Dicta sit voluptatibus.","pipeline_id":"4263b562-09c7-11ee-8a61-7085c27bdeb0","run_id":"4263b1c4-09c7-11ee-8a61-7085c27bdeb0","started_at":"1984-02-28T22:30:11Z","status":"pending","transfer_id":"4263b2fa-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4263b082-09c7-11ee-8a61-7085c27bdeb0"}}}},"404":{"description":"not_found: Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionNotfound"}}}}}}},"/collection/{id}/cancel":{"post":{"tags":["collection"],"summary":"cancel collection","description":"Cancel collection processing by ID","operationId":"collection#cancel","parameters":[{"name":"id","in":"path","description":"Identifier of collection to remove","required":true,"schema":{"type":"integer","description":"Identifier of collection to remove","example":14723904594261209888},"example":5614850388820678135}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"not_running: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionNotfound"}}}}}}},"/collection/{id}/decision":{"post":{"tags":["collection"],"summary":"decide collection","description":"Make decision for a pending collection by ID","operationId":"collection#decide","parameters":[{"name":"id","in":"path","description":"Identifier of collection to look up","required":true,"schema":{"type":"integer","description":"Identifier of collection to look up","example":1552422728614359660},"example":15623972407070056057}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"option":{"type":"string","description":"Decision option to proceed with","example":"Non et aut et odio natus aut."}},"example":{"option":"Assumenda unde."}},"example":{"option":"Laborum ipsa magnam et."}}}},"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"not_valid: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionNotfound"}}}}}}},"/collection/{id}/download":{"get":{"tags":["collection"],"summary":"download collection","description":"Download collection by ID","operationId":"collection#download","parameters":[{"name":"id","in":"path","description":"Identifier of collection to look up","required":true,"schema":{"type":"integer","description":"Identifier of collection to look up","example":3709514011654345130},"example":13280801478000475761}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"type":"string","example":"SW5jaWR1bnQgcmVtIGN1bHBhIGFjY3VzYW50aXVtIGxhdWRhbnRpdW0gYXQgdm9sdXB0YXRlbS4=","format":"binary"},"example":"RXhwbGljYWJvIGNvbW1vZGkgcXVhZSB1dC4="}}},"404":{"description":"not_found: Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionNotfound"}}}}}}},"/collection/{id}/retry":{"post":{"tags":["collection"],"summary":"retry collection","description":"Retry collection processing by ID","operationId":"collection#retry","parameters":[{"name":"id","in":"path","description":"Identifier of collection to retry","required":true,"schema":{"type":"integer","description":"Identifier of collection to retry","example":12574132693602527440},"example":16737720414019367817}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"not_running: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionNotfound"}}}}}}},"/collection/{id}/workflow":{"get":{"tags":["collection"],"summary":"workflow collection","description":"Retrieve workflow status by ID","operationId":"collection#workflow","parameters":[{"name":"id","in":"path","description":"Identifier of collection to look up","required":true,"schema":{"type":"integer","description":"Identifier of collection to look up","example":7989460244596820022},"example":7862593055240756568}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnduroCollectionWorkflowStatus"},"example":{"history":[{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."},{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."},{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."},{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."}],"status":"Voluptatem aut dolorem perspiciatis."}}}},"404":{"description":"not_found: Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionNotfound"}}}}}}},"/pipeline":{"get":{"tags":["pipeline"],"summary":"list pipeline","description":"List all known pipelines","operationId":"pipeline#list","parameters":[{"name":"name","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"Dolorem voluptate error iste provident exercitationem."},"example":"Aut error expedita et a nulla."}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EnduroStoredPipeline"},"example":[{"capacity":8406108818872523115,"current":1737602466879989319,"id":"4262ea29-09c7-11ee-8a61-7085c27bdeb0","name":"Eius perferendis et corrupti harum nisi voluptatibus."},{"capacity":8406108818872523115,"current":1737602466879989319,"id":"4262ea29-09c7-11ee-8a61-7085c27bdeb0","name":"Eius perferendis et corrupti harum nisi voluptatibus."}]},"example":[{"capacity":8406108818872523115,"current":1737602466879989319,"id":"4262ea29-09c7-11ee-8a61-7085c27bdeb0","name":"Eius perferendis et corrupti harum nisi voluptatibus."},{"capacity":8406108818872523115,"current":1737602466879989319,"id":"4262ea29-09c7-11ee-8a61-7085c27bdeb0","name":"Eius perferendis et corrupti harum nisi voluptatibus."},{"capacity":8406108818872523115,"current":1737602466879989319,"id":"4262ea29-09c7-11ee-8a61-7085c27bdeb0","name":"Eius perferendis et corrupti harum nisi voluptatibus."}]}}}}}},"/pipeline/{id}":{"get":{"tags":["pipeline"],"summary":"show pipeline","description":"Show pipeline by ID","operationId":"pipeline#show","parameters":[{"name":"id","in":"path","description":"Identifier of pipeline to show","required":true,"schema":{"type":"string","description":"Identifier of pipeline to show","example":"426568de-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"example":"42656a10-09c7-11ee-8a61-7085c27bdeb0"}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnduroStoredPipeline"},"example":{"capacity":291724148046190090,"current":1357506373453254213,"id":"42649024-09c7-11ee-8a61-7085c27bdeb0","name":"Animi dolorem non voluptate voluptatem."}}}},"404":{"description":"not_found: Pipeline not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineNotFound"}}}}}}},"/pipeline/{id}/processing":{"get":{"tags":["pipeline"],"summary":"processing pipeline","description":"List all processing configurations of a pipeline given its ID","operationId":"pipeline#processing","parameters":[{"name":"id","in":"path","description":"Identifier of pipeline","required":true,"schema":{"type":"string","description":"Identifier of pipeline","example":"42656bca-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"example":"42656d0c-09c7-11ee-8a61-7085c27bdeb0"}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"type":"array","items":{"type":"string","example":"Consequuntur modi."},"example":["Debitis ad animi quia.","Culpa aut explicabo placeat voluptatem aut atque.","Voluptatem sunt est quae est.","Veniam aut qui blanditiis provident."]},"example":["Eligendi quam rerum ut qui.","Quas voluptas aut at soluta magni."]}}},"404":{"description":"not_found: Pipeline not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineNotFound"}}}}}}},"/swagger/swagger.json":{"get":{"tags":["swagger"],"summary":"Download internal/api/gen/http/openapi.json","description":"JSON document containing the API swagger definition.","operationId":"swagger#/swagger/swagger.json","responses":{"200":{"description":"File downloaded"}}}}},"components":{"schemas":{"BatchHintsResult":{"type":"object","properties":{"completed_dirs":{"type":"array","items":{"type":"string","example":"Distinctio sed distinctio."},"description":"A list of known values of completedDir used by existing watchers.","example":["Unde ut aspernatur.","Voluptatem quibusdam facilis.","A veritatis vel eos.","Sunt ut."]}},"example":{"completed_dirs":["Illum tenetur omnis voluptates.","Autem et."]}},"BatchResult":{"type":"object","properties":{"run_id":{"type":"string","example":"Nihil similique unde molestiae esse consequatur."},"workflow_id":{"type":"string","example":"Hic eveniet quam consequatur eveniet repellat."}},"example":{"run_id":"Tenetur dolorum error aut.","workflow_id":"Animi veniam omnis dolores sed omnis."},"required":["workflow_id","run_id"]},"BatchStatusResult":{"type":"object","properties":{"run_id":{"type":"string","example":"Autem adipisci suscipit distinctio qui harum totam."},"running":{"type":"boolean","example":true},"status":{"type":"string","example":"Sed sunt molestiae animi et aliquid voluptatem."},"workflow_id":{"type":"string","example":"Est praesentium officiis occaecati magnam est veritatis."}},"example":{"run_id":"Incidunt qui inventore hic voluptates.","running":false,"status":"Impedit voluptates vel omnis.","workflow_id":"Corrupti quia."},"required":["running"]},"BulkRequestBody":{"type":"object","properties":{"operation":{"type":"string","example":"cancel","enum":["retry","cancel","abandon"]},"size":{"type":"integer","default":100,"example":8841489659374607276},"status":{"type":"string","example":"unknown","enum":["new","in progress","done","error","unknown","queued","pending","abandoned"]}},"example":{"operation":"abandon","size":14670542273154535376,"status":"queued"},"required":["operation","status"]},"BulkStatusResult":{"type":"object","properties":{"closed_at":{"type":"string","example":"1999-11-07T12:15:42Z","format":"date-time"},"run_id":{"type":"string","example":"Tempora ullam dolorem."},"running":{"type":"boolean","example":true},"started_at":{"type":"string","example":"1986-12-14T03:13:33Z","format":"date-time"},"status":{"type":"string","example":"Qui omnis aut dolore."},"workflow_id":{"type":"string","example":"Voluptas quasi deserunt."}},"example":{"closed_at":"2015-06-01T08:40:02Z","run_id":"Iste perferendis.","running":true,"started_at":"1999-12-18T11:29:33Z","status":"Debitis sit amet eos ducimus.","workflow_id":"Error et."},"required":["running"]},"CollectionNotfound":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of missing collection","example":17191334628637077182},"message":{"type":"string","description":"Message of error","example":"Assumenda laboriosam amet inventore veritatis nobis et."}},"description":"Collection not found","example":{"id":1596271692226373715,"message":"Unde rerum pariatur quis."},"required":["message","id"]},"EnduroCollectionWorkflowHistory":{"type":"object","properties":{"details":{"type":"string","description":"Contents of the event","example":"Qui ut.","format":"binary"},"id":{"type":"integer","description":"Identifier of collection","example":686720090900300881},"type":{"type":"string","description":"Type of the event","example":"Qui et natus vero architecto."}},"description":"WorkflowHistoryEvent describes a history event in Cadence.","example":{"details":"Sint ducimus aliquam.","id":5022301581306135243,"type":"Facere enim itaque et sit error numquam."}},"EnduroCollectionWorkflowHistoryCollection":{"type":"array","items":{"$ref":"#/components/schemas/EnduroCollectionWorkflowHistory"},"example":[{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."},{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."}]},"EnduroCollectionWorkflowStatus":{"type":"object","properties":{"history":{"$ref":"#/components/schemas/EnduroCollectionWorkflowHistoryCollection"},"status":{"type":"string","example":"Sequi voluptas sed."}},"example":{"history":[{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."},{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."},{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."},{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."}],"status":"Quo ex."}},"EnduroMonitorUpdate":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of collection","example":15464215305896230119},"item":{"$ref":"#/components/schemas/EnduroStoredCollection"},"type":{"type":"string","description":"Type of the event","example":"Voluptas qui voluptates et molestiae eum."}},"example":{"id":4603536236039963160,"item":{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"},"type":"Voluptate aspernatur perspiciatis placeat accusantium ea."},"required":["id","type"]},"EnduroStoredCollection":{"type":"object","properties":{"aip_id":{"type":"string","description":"Identifier of Archivematica AIP","example":"42653b0a-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"completed_at":{"type":"string","description":"Completion datetime","example":"2008-03-17T16:47:20Z","format":"date-time"},"created_at":{"type":"string","description":"Creation datetime","example":"2006-11-04T11:49:03Z","format":"date-time"},"id":{"type":"integer","description":"Identifier of collection","example":7776196064117448872},"name":{"type":"string","description":"Name of the collection","example":"Autem et."},"original_id":{"type":"string","description":"Identifier provided by the client","example":"Eos tempore necessitatibus quas earum ullam."},"pipeline_id":{"type":"string","description":"Identifier of Archivematica pipeline","example":"42653c48-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"run_id":{"type":"string","description":"Identifier of latest processing workflow run","example":"426538a2-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"started_at":{"type":"string","description":"Start datetime","example":"1976-03-20T09:19:32Z","format":"date-time"},"status":{"type":"string","description":"Status of the collection","default":"new","example":"in progress","enum":["new","in progress","done","error","unknown","queued","pending","abandoned"]},"transfer_id":{"type":"string","description":"Identifier of Archivematica transfer","example":"426539e6-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"workflow_id":{"type":"string","description":"Identifier of processing workflow","example":"4265376b-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"}},"description":"StoredCollection describes a collection retrieved by the service.","example":{"aip_id":"42654460-09c7-11ee-8a61-7085c27bdeb0","completed_at":"1979-08-09T16:03:56Z","created_at":"1985-01-15T03:15:11Z","id":7421456392057185195,"name":"Aut architecto et.","original_id":"Et eos ad vel quia.","pipeline_id":"4265458e-09c7-11ee-8a61-7085c27bdeb0","run_id":"42654234-09c7-11ee-8a61-7085c27bdeb0","started_at":"1992-01-10T17:12:25Z","status":"queued","transfer_id":"42654341-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"42654118-09c7-11ee-8a61-7085c27bdeb0"},"required":["id","status","created_at"]},"EnduroStoredCollectionCollection":{"type":"array","items":{"$ref":"#/components/schemas/EnduroStoredCollection"},"example":[{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"},{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"},{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"},{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"}]},"EnduroStoredPipeline":{"type":"object","properties":{"capacity":{"type":"integer","description":"Maximum concurrent transfers","example":8134230941646842201,"format":"int64"},"current":{"type":"integer","description":"Current transfers","example":2764356440817928019,"format":"int64"},"id":{"type":"string","description":"Identifier of the pipeline","example":"4265532e-09c7-11ee-8a61-7085c27bdeb0","format":"uuid"},"name":{"type":"string","description":"Name of the pipeline","example":"Voluptas non nisi error atque."}},"description":"StoredPipeline describes a pipeline retrieved by this service.","example":{"capacity":4690709023162412182,"current":6478036131892465615,"id":"4265546d-09c7-11ee-8a61-7085c27bdeb0","name":"Velit architecto dolorum ut rerum eveniet."},"required":["name"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":true},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":false},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":true}},"example":{"id":"3F1FKVRR","message":"Value of ID must be an integer","name":"bad_request"},"required":["name","id","message","temporary","timeout","fault"]},"ListResponseBody":{"type":"object","properties":{"items":{"$ref":"#/components/schemas/EnduroStoredCollectionCollection"},"next_cursor":{"type":"string","example":"Tempora culpa non enim culpa."}},"example":{"items":[{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"},{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"},{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"},{"aip_id":"4262b883-09c7-11ee-8a61-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"4262b9e4-09c7-11ee-8a61-7085c27bdeb0","run_id":"4262b5a0-09c7-11ee-8a61-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"4262b721-09c7-11ee-8a61-7085c27bdeb0","workflow_id":"4262a23a-09c7-11ee-8a61-7085c27bdeb0"}],"next_cursor":"Veniam minima eum voluptatem sapiente iure."},"required":["items"]},"PipelineNotFound":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of missing pipeline","example":"Voluptates facere voluptates ut."},"message":{"type":"string","description":"Message of error","example":"Unde eum a et error blanditiis."}},"description":"Pipeline not found","example":{"id":"Nemo similique assumenda doloremque cumque.","message":"Voluptatem mollitia vitae amet et excepturi deleniti."},"required":["message","id"]},"SubmitRequestBody":{"type":"object","properties":{"completed_dir":{"type":"string","example":"Odio nulla tenetur quibusdam rerum sit labore."},"path":{"type":"string","example":"Qui tempora itaque illum vitae aliquid quia."},"pipeline":{"type":"string","example":"Dolorem odit qui."},"processing_config":{"type":"string","example":"Velit illo nemo fugiat."},"retention_period":{"type":"string","example":"Quia id."}},"example":{"completed_dir":"Enim non ut hic.","path":"Deleniti sapiente dignissimos.","pipeline":"Quo repellendus voluptas.","processing_config":"Ut consequatur facilis vel quisquam maxime.","retention_period":"Dignissimos debitis."},"required":["path"]}}},"tags":[{"name":"batch","description":"The batch service manages batches of collections."},{"name":"collection","description":"The collection service manages packages being transferred to Archivematica."},{"name":"pipeline","description":"The pipeline service manages Archivematica pipelines."},{"name":"swagger","description":"The swagger service serves the API swagger definition."}]} \ No newline at end of file +{"openapi":"3.0.3","info":{"title":"Enduro API","version":"1.0"},"servers":[{"url":"http://localhost:9000"}],"paths":{"/batch":{"get":{"tags":["batch"],"summary":"status batch","description":"Retrieve status of current batch operation.","operationId":"batch#status","responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchStatusResult"},"example":{"run_id":"Vel sint ducimus officia labore eius qui.","running":true,"status":"Nam sed nostrum enim laborum ea facilis.","workflow_id":"Dolor illum excepturi magni quidem."}}}}}},"post":{"tags":["batch"],"summary":"submit batch","description":"Submit a new batch","operationId":"batch#submit","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitRequestBody"},"example":{"completed_dir":"Laboriosam odit.","path":"Laboriosam nam sit nihil.","pipeline":"Necessitatibus vel aut deleniti quia qui.","processing_config":"Vel voluptatem.","retention_period":"Sed perferendis illum illum omnis et officiis."}}}},"responses":{"202":{"description":"Accepted response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchResult"},"example":{"run_id":"Debitis rerum.","workflow_id":"Velit possimus et ea aut harum."}}}},"400":{"description":"not_valid: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"not_available: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/batch/hints":{"get":{"tags":["batch"],"summary":"hints batch","description":"Retrieve form hints","operationId":"batch#hints","responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchHintsResult"},"example":{"completed_dirs":["Impedit vero ducimus.","Quo illo natus et.","Eaque suscipit in cum et quia facere.","Doloribus sed tempore voluptatum quo."]}}}}}}},"/collection":{"get":{"tags":["collection"],"summary":"list collection","description":"List all stored collections","operationId":"collection#list","parameters":[{"name":"name","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"Dolorem rerum ullam provident hic aut."},"example":"Magni blanditiis sequi sunt neque velit."},{"name":"original_id","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"Ducimus minima totam veritatis."},"example":"Aliquam unde sit omnis quos."},{"name":"transfer_id","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"d080641c-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"example":"d080665a-11a8-11ee-ade5-7085c27bdeb0"},{"name":"aip_id","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"d0806858-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"example":"d0806a74-11a8-11ee-ade5-7085c27bdeb0"},{"name":"pipeline_id","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"d0806c72-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"example":"d0806e98-11a8-11ee-ade5-7085c27bdeb0"},{"name":"earliest_created_time","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"1997-12-25T18:16:26Z","format":"date-time"},"example":"1979-05-02T21:10:22Z"},{"name":"latest_created_time","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"1999-12-17T11:47:57Z","format":"date-time"},"example":"2014-10-13T03:53:49Z"},{"name":"status","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"done","enum":["new","in progress","done","error","unknown","queued","pending","abandoned"]},"example":"in progress"},{"name":"cursor","in":"query","description":"Pagination cursor","allowEmptyValue":true,"schema":{"type":"string","description":"Pagination cursor","example":"In ut qui aut quo."},"example":"Sunt iste facilis rerum inventore architecto tempora."}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseBody"},"example":{"items":[{"aip_id":"d07a4bb6-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"d07a4d34-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07a48d6-11a8-11ee-ade5-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"d07a4a4f-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07a3817-11a8-11ee-ade5-7085c27bdeb0"},{"aip_id":"d07a4bb6-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"d07a4d34-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07a48d6-11a8-11ee-ade5-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"d07a4a4f-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07a3817-11a8-11ee-ade5-7085c27bdeb0"},{"aip_id":"d07a4bb6-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"d07a4d34-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07a48d6-11a8-11ee-ade5-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"d07a4a4f-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07a3817-11a8-11ee-ade5-7085c27bdeb0"},{"aip_id":"d07a4bb6-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"d07a4d34-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07a48d6-11a8-11ee-ade5-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"d07a4a4f-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07a3817-11a8-11ee-ade5-7085c27bdeb0"}],"next_cursor":"Ad aut rerum."}}}}}}},"/collection/bulk":{"get":{"tags":["collection"],"summary":"bulk_status collection","description":"Retrieve status of current bulk operation.","operationId":"collection#bulk_status","responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkStatusResult"},"example":{"closed_at":"1983-11-09T08:33:50Z","run_id":"Officiis eum pariatur.","running":false,"started_at":"2006-08-01T01:39:09Z","status":"Repellat architecto dolore harum.","workflow_id":"Excepturi dolor aut rerum."}}}}}},"post":{"tags":["collection"],"summary":"bulk collection","description":"Bulk operations (retry, cancel...).","operationId":"collection#bulk","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkRequestBody"},"example":{"operation":"cancel","size":15492129042979125718,"status":"in progress"}}}},"responses":{"202":{"description":"Accepted response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchResult"},"example":{"run_id":"Deserunt illum et tempora.","workflow_id":"Explicabo et numquam aut dolores et voluptas."}}}},"400":{"description":"not_valid: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"not_available: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/collection/monitor":{"get":{"tags":["collection"],"summary":"monitor collection","operationId":"collection#monitor","responses":{"101":{"description":"Switching Protocols response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnduroMonitorUpdate"},"example":{"id":2293355532387428117,"item":{"aip_id":"d07a4bb6-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"d07a4d34-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07a48d6-11a8-11ee-ade5-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"d07a4a4f-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07a3817-11a8-11ee-ade5-7085c27bdeb0"},"type":"Deleniti ea tenetur deleniti."}}}}}}},"/collection/{id}":{"delete":{"tags":["collection"],"summary":"delete collection","description":"Delete collection by ID","operationId":"collection#delete","parameters":[{"name":"id","in":"path","description":"Identifier of collection to delete","required":true,"schema":{"type":"integer","description":"Identifier of collection to delete","example":17387408872735771929},"example":18321251186215423685}],"responses":{"204":{"description":"No Content response."},"404":{"description":"not_found: Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionNotfound"}}}}}},"get":{"tags":["collection"],"summary":"show collection","description":"Show collection by ID","operationId":"collection#show","parameters":[{"name":"id","in":"path","description":"Identifier of collection to show","required":true,"schema":{"type":"integer","description":"Identifier of collection to show","example":10131890621733502138},"example":12151494561344357633}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnduroStoredCollection"},"example":{"aip_id":"d07c8a6f-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2000-10-04T09:57:15Z","created_at":"2010-07-22T22:55:51Z","id":12024565834601469556,"name":"Quam quas.","original_id":"Et consequatur aut enim consequuntur debitis temporibus.","pipeline_id":"d07c8ba4-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07c87c3-11a8-11ee-ade5-7085c27bdeb0","started_at":"2014-07-31T20:44:18Z","status":"queued","transfer_id":"d07c892a-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07c8679-11a8-11ee-ade5-7085c27bdeb0"}}}},"404":{"description":"not_found: Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionNotfound"}}}}}}},"/collection/{id}/cancel":{"post":{"tags":["collection"],"summary":"cancel collection","description":"Cancel collection processing by ID","operationId":"collection#cancel","parameters":[{"name":"id","in":"path","description":"Identifier of collection to remove","required":true,"schema":{"type":"integer","description":"Identifier of collection to remove","example":8238362425834670988},"example":7926296436146036015}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"not_running: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionNotfound"}}}}}}},"/collection/{id}/decision":{"post":{"tags":["collection"],"summary":"decide collection","description":"Make decision for a pending collection by ID","operationId":"collection#decide","parameters":[{"name":"id","in":"path","description":"Identifier of collection to look up","required":true,"schema":{"type":"integer","description":"Identifier of collection to look up","example":9198655460133316854},"example":7412982194674710965}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"option":{"type":"string","description":"Decision option to proceed with","example":"Aut dolorem praesentium asperiores commodi earum neque."}},"example":{"option":"Eaque ipsam."}},"example":{"option":"Excepturi architecto illum et consequatur optio corporis."}}}},"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"not_valid: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionNotfound"}}}}}}},"/collection/{id}/download":{"get":{"tags":["collection"],"summary":"download collection","description":"Download collection by ID","operationId":"collection#download","parameters":[{"name":"id","in":"path","description":"Identifier of collection to look up","required":true,"schema":{"type":"integer","description":"Identifier of collection to look up","example":17608551620639562459},"example":1156397374729870360}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"type":"string","example":"SXBzYW0gbmVjZXNzaXRhdGlidXMgc2ltaWxpcXVlIGFkaXBpc2NpIG1hZ25hbSBhbmltaSBhZGlwaXNjaS4=","format":"binary"},"example":"UmVpY2llbmRpcyB2b2x1cHRhcyBkb2xvcnVtLg=="}}},"404":{"description":"not_found: Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionNotfound"}}}}}}},"/collection/{id}/retry":{"post":{"tags":["collection"],"summary":"retry collection","description":"Retry collection processing by ID","operationId":"collection#retry","parameters":[{"name":"id","in":"path","description":"Identifier of collection to retry","required":true,"schema":{"type":"integer","description":"Identifier of collection to retry","example":1414840750630874316},"example":14468688610787245765}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"not_running: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionNotfound"}}}}}}},"/collection/{id}/workflow":{"get":{"tags":["collection"],"summary":"workflow collection","description":"Retrieve workflow status by ID","operationId":"collection#workflow","parameters":[{"name":"id","in":"path","description":"Identifier of collection to look up","required":true,"schema":{"type":"integer","description":"Identifier of collection to look up","example":17826339955967178467},"example":15122940082992273340}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnduroCollectionWorkflowStatus"},"example":{"history":[{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."},{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."},{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."},{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."}],"status":"Qui dolor."}}}},"404":{"description":"not_found: Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionNotfound"}}}}}}},"/pipeline":{"get":{"tags":["pipeline"],"summary":"list pipeline","description":"List all known pipelines","operationId":"pipeline#list","parameters":[{"name":"name","in":"query","allowEmptyValue":true,"schema":{"type":"string","example":"Excepturi vitae et saepe."},"example":"Quia perspiciatis."},{"name":"status","in":"query","allowEmptyValue":true,"schema":{"type":"boolean","default":false,"example":false},"example":true}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EnduroStoredPipeline"},"example":[{"capacity":8406108818872523115,"current":1737602466879989319,"id":"d07aad12-11a8-11ee-ade5-7085c27bdeb0","name":"Eius perferendis et corrupti harum nisi voluptatibus.","status":"Qui explicabo qui error sint."},{"capacity":8406108818872523115,"current":1737602466879989319,"id":"d07aad12-11a8-11ee-ade5-7085c27bdeb0","name":"Eius perferendis et corrupti harum nisi voluptatibus.","status":"Qui explicabo qui error sint."}]},"example":[{"capacity":8406108818872523115,"current":1737602466879989319,"id":"d07aad12-11a8-11ee-ade5-7085c27bdeb0","name":"Eius perferendis et corrupti harum nisi voluptatibus.","status":"Qui explicabo qui error sint."},{"capacity":8406108818872523115,"current":1737602466879989319,"id":"d07aad12-11a8-11ee-ade5-7085c27bdeb0","name":"Eius perferendis et corrupti harum nisi voluptatibus.","status":"Qui explicabo qui error sint."},{"capacity":8406108818872523115,"current":1737602466879989319,"id":"d07aad12-11a8-11ee-ade5-7085c27bdeb0","name":"Eius perferendis et corrupti harum nisi voluptatibus.","status":"Qui explicabo qui error sint."},{"capacity":8406108818872523115,"current":1737602466879989319,"id":"d07aad12-11a8-11ee-ade5-7085c27bdeb0","name":"Eius perferendis et corrupti harum nisi voluptatibus.","status":"Qui explicabo qui error sint."}]}}}}}},"/pipeline/{id}":{"get":{"tags":["pipeline"],"summary":"show pipeline","description":"Show pipeline by ID","operationId":"pipeline#show","parameters":[{"name":"id","in":"path","description":"Identifier of pipeline to show","required":true,"schema":{"type":"string","description":"Identifier of pipeline to show","example":"d0807f61-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"example":"d080816d-11a8-11ee-ade5-7085c27bdeb0"}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnduroStoredPipeline"},"example":{"capacity":604697410197609923,"current":1321092956144830636,"id":"d07f4c47-11a8-11ee-ade5-7085c27bdeb0","name":"Tempora error inventore molestias animi asperiores blanditiis.","status":"Quam assumenda saepe omnis et eius."}}}},"404":{"description":"not_found: Pipeline not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineNotFound"}}}}}}},"/pipeline/{id}/processing":{"get":{"tags":["pipeline"],"summary":"processing pipeline","description":"List all processing configurations of a pipeline given its ID","operationId":"pipeline#processing","parameters":[{"name":"id","in":"path","description":"Identifier of pipeline","required":true,"schema":{"type":"string","description":"Identifier of pipeline","example":"d0808432-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"example":"d0808660-11a8-11ee-ade5-7085c27bdeb0"}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"type":"array","items":{"type":"string","example":"Tenetur iste numquam rem quo eligendi."},"example":["Autem magnam.","In enim amet architecto non repudiandae."]},"example":["Maiores et dolores sed rerum est et.","Molestias natus aut."]}}},"404":{"description":"not_found: Pipeline not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineNotFound"}}}}}}},"/swagger/swagger.json":{"get":{"tags":["swagger"],"summary":"Download internal/api/gen/http/openapi.json","description":"JSON document containing the API swagger definition.","operationId":"swagger#/swagger/swagger.json","responses":{"200":{"description":"File downloaded"}}}}},"components":{"schemas":{"BatchHintsResult":{"type":"object","properties":{"completed_dirs":{"type":"array","items":{"type":"string","example":"Suscipit tempore est quisquam ratione."},"description":"A list of known values of completedDir used by existing watchers.","example":["Perferendis maiores.","Praesentium voluptatum delectus commodi.","Non eos consequuntur aliquam."]}},"example":{"completed_dirs":["Aliquid perspiciatis aperiam.","Optio repellendus molestias.","Mollitia aut tempora quia aperiam saepe."]}},"BatchResult":{"type":"object","properties":{"run_id":{"type":"string","example":"Deserunt a enim cum ad quasi qui."},"workflow_id":{"type":"string","example":"Qui rerum asperiores qui."}},"example":{"run_id":"Beatae blanditiis qui et ut recusandae id.","workflow_id":"Vitae fugit quis tempore animi ad ab."},"required":["workflow_id","run_id"]},"BatchStatusResult":{"type":"object","properties":{"run_id":{"type":"string","example":"Et rem et."},"running":{"type":"boolean","example":false},"status":{"type":"string","example":"Dolor saepe dolores."},"workflow_id":{"type":"string","example":"Quis delectus quia."}},"example":{"run_id":"Et culpa beatae fuga.","running":false,"status":"Sunt laborum.","workflow_id":"In qui."},"required":["running"]},"BulkRequestBody":{"type":"object","properties":{"operation":{"type":"string","example":"abandon","enum":["retry","cancel","abandon"]},"size":{"type":"integer","default":100,"example":7049186774788407004},"status":{"type":"string","example":"unknown","enum":["new","in progress","done","error","unknown","queued","pending","abandoned"]}},"example":{"operation":"cancel","size":10756257245132189908,"status":"new"},"required":["operation","status"]},"BulkStatusResult":{"type":"object","properties":{"closed_at":{"type":"string","example":"1988-07-12T21:32:29Z","format":"date-time"},"run_id":{"type":"string","example":"Et molestiae alias qui omnis reiciendis quae."},"running":{"type":"boolean","example":true},"started_at":{"type":"string","example":"2004-09-15T21:11:47Z","format":"date-time"},"status":{"type":"string","example":"Mollitia est officiis nostrum dignissimos ut."},"workflow_id":{"type":"string","example":"Eligendi mollitia ut voluptate tempora iusto et."}},"example":{"closed_at":"1997-01-23T03:40:32Z","run_id":"Animi quia ut culpa aut explicabo placeat.","running":false,"started_at":"2010-10-16T14:05:06Z","status":"Similique assumenda doloremque cumque quia consequuntur.","workflow_id":"Nobis hic debitis."},"required":["running"]},"CollectionNotfound":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of missing collection","example":18225317793911514815},"message":{"type":"string","description":"Message of error","example":"Voluptas autem culpa quos tempore."}},"description":"Collection not found","example":{"id":13607598706967279877,"message":"Neque recusandae et perferendis."},"required":["message","id"]},"EnduroCollectionWorkflowHistory":{"type":"object","properties":{"details":{"type":"string","description":"Contents of the event","example":"Nobis maiores commodi odit iure unde.","format":"binary"},"id":{"type":"integer","description":"Identifier of collection","example":6353654755516871806},"type":{"type":"string","description":"Type of the event","example":"Possimus voluptatem."}},"description":"WorkflowHistoryEvent describes a history event in Cadence.","example":{"details":"Neque voluptas quasi deserunt excepturi tempora.","id":12911299265168543401,"type":"Rem quia qui omnis aut."}},"EnduroCollectionWorkflowHistoryCollection":{"type":"array","items":{"$ref":"#/components/schemas/EnduroCollectionWorkflowHistory"},"example":[{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."},{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."},{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."}]},"EnduroCollectionWorkflowStatus":{"type":"object","properties":{"history":{"$ref":"#/components/schemas/EnduroCollectionWorkflowHistoryCollection"},"status":{"type":"string","example":"Neque voluptatem porro omnis et distinctio vero."}},"example":{"history":[{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."},{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."},{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."},{"details":"In quis sed.","id":2015423930972900414,"type":"Enim esse aut accusantium deleniti beatae voluptas."}],"status":"Nulla quod sed."}},"EnduroMonitorUpdate":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of collection","example":17019269049155146495},"item":{"$ref":"#/components/schemas/EnduroStoredCollection"},"type":{"type":"string","description":"Type of the event","example":"Deserunt enim voluptas ut cupiditate expedita distinctio."}},"example":{"id":18173606350330826349,"item":{"aip_id":"d07a4bb6-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"d07a4d34-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07a48d6-11a8-11ee-ade5-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"d07a4a4f-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07a3817-11a8-11ee-ade5-7085c27bdeb0"},"type":"Perspiciatis porro veritatis et."},"required":["id","type"]},"EnduroStoredCollection":{"type":"object","properties":{"aip_id":{"type":"string","description":"Identifier of Archivematica AIP","example":"d080307d-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"completed_at":{"type":"string","description":"Completion datetime","example":"1985-09-21T14:48:23Z","format":"date-time"},"created_at":{"type":"string","description":"Creation datetime","example":"2011-02-18T18:59:59Z","format":"date-time"},"id":{"type":"integer","description":"Identifier of collection","example":4919145112566344839},"name":{"type":"string","description":"Name of the collection","example":"Dolor labore quis aut sint recusandae eum."},"original_id":{"type":"string","description":"Identifier provided by the client","example":"Assumenda qui assumenda suscipit."},"pipeline_id":{"type":"string","description":"Identifier of Archivematica pipeline","example":"d0803284-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"run_id":{"type":"string","description":"Identifier of latest processing workflow run","example":"d0802c60-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"started_at":{"type":"string","description":"Start datetime","example":"2006-08-17T11:55:03Z","format":"date-time"},"status":{"type":"string","description":"Status of the collection","default":"new","example":"pending","enum":["new","in progress","done","error","unknown","queued","pending","abandoned"]},"transfer_id":{"type":"string","description":"Identifier of Archivematica transfer","example":"d0802e82-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"workflow_id":{"type":"string","description":"Identifier of processing workflow","example":"d08029f4-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"}},"description":"StoredCollection describes a collection retrieved by the service.","example":{"aip_id":"d080404c-11a8-11ee-ade5-7085c27bdeb0","completed_at":"1986-04-15T08:25:16Z","created_at":"2002-08-25T21:29:42Z","id":3007180406968656670,"name":"Saepe officia veritatis.","original_id":"Reiciendis corporis recusandae optio possimus id et.","pipeline_id":"d080427e-11a8-11ee-ade5-7085c27bdeb0","run_id":"d0803c98-11a8-11ee-ade5-7085c27bdeb0","started_at":"2002-10-30T11:51:06Z","status":"error","transfer_id":"d0803e7e-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d0803ab9-11a8-11ee-ade5-7085c27bdeb0"},"required":["id","status","created_at"]},"EnduroStoredCollectionCollection":{"type":"array","items":{"$ref":"#/components/schemas/EnduroStoredCollection"},"example":[{"aip_id":"d07a4bb6-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"d07a4d34-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07a48d6-11a8-11ee-ade5-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"d07a4a4f-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07a3817-11a8-11ee-ade5-7085c27bdeb0"},{"aip_id":"d07a4bb6-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"d07a4d34-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07a48d6-11a8-11ee-ade5-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"d07a4a4f-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07a3817-11a8-11ee-ade5-7085c27bdeb0"}]},"EnduroStoredPipeline":{"type":"object","properties":{"capacity":{"type":"integer","description":"Maximum concurrent transfers","example":675308295529917391,"format":"int64"},"current":{"type":"integer","description":"Current transfers","example":1126670102776995078,"format":"int64"},"id":{"type":"string","description":"Identifier of the pipeline","example":"d0805a4a-11a8-11ee-ade5-7085c27bdeb0","format":"uuid"},"name":{"type":"string","description":"Name of the pipeline","example":"Est provident sint at modi est."},"status":{"type":"string","example":"Repellat inventore culpa qui sapiente inventore non."}},"description":"StoredPipeline describes a pipeline retrieved by this service.","example":{"capacity":3260630790103415086,"current":7000442574851704032,"id":"d0805cd1-11a8-11ee-ade5-7085c27bdeb0","name":"Ut corrupti velit enim.","status":"Illum voluptas vel nesciunt."},"required":["name"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":false},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":false},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":false}},"example":{"id":"3F1FKVRR","message":"Value of ID must be an integer","name":"bad_request"},"required":["name","id","message","temporary","timeout","fault"]},"ListResponseBody":{"type":"object","properties":{"items":{"$ref":"#/components/schemas/EnduroStoredCollectionCollection"},"next_cursor":{"type":"string","example":"Reiciendis iste quis asperiores voluptate temporibus."}},"example":{"items":[{"aip_id":"d07a4bb6-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"d07a4d34-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07a48d6-11a8-11ee-ade5-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"d07a4a4f-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07a3817-11a8-11ee-ade5-7085c27bdeb0"},{"aip_id":"d07a4bb6-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"d07a4d34-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07a48d6-11a8-11ee-ade5-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"d07a4a4f-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07a3817-11a8-11ee-ade5-7085c27bdeb0"},{"aip_id":"d07a4bb6-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"d07a4d34-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07a48d6-11a8-11ee-ade5-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"d07a4a4f-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07a3817-11a8-11ee-ade5-7085c27bdeb0"},{"aip_id":"d07a4bb6-11a8-11ee-ade5-7085c27bdeb0","completed_at":"2014-01-26T22:52:33Z","created_at":"2006-09-07T19:48:15Z","id":5273261262554249024,"name":"Iusto laudantium assumenda.","original_id":"Voluptatem eum et rerum.","pipeline_id":"d07a4d34-11a8-11ee-ade5-7085c27bdeb0","run_id":"d07a48d6-11a8-11ee-ade5-7085c27bdeb0","started_at":"1986-05-13T23:32:21Z","status":"unknown","transfer_id":"d07a4a4f-11a8-11ee-ade5-7085c27bdeb0","workflow_id":"d07a3817-11a8-11ee-ade5-7085c27bdeb0"}],"next_cursor":"Facilis officiis dicta et vitae consequatur nihil."},"required":["items"]},"PipelineNotFound":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of missing pipeline","example":"Beatae quidem illo ducimus et deleniti voluptatibus."},"message":{"type":"string","description":"Message of error","example":"Quis nisi ut."}},"description":"Pipeline not found","example":{"id":"Voluptatem ducimus aut at optio.","message":"Ut repellendus similique minima."},"required":["message","id"]},"SubmitRequestBody":{"type":"object","properties":{"completed_dir":{"type":"string","example":"Sunt ut."},"path":{"type":"string","example":"Qui non unde ut."},"pipeline":{"type":"string","example":"Et voluptatem quibusdam facilis magnam."},"processing_config":{"type":"string","example":"Veritatis vel eos."},"retention_period":{"type":"string","example":"Illum illum tenetur."}},"example":{"completed_dir":"Fugiat a officiis ipsum.","path":"Voluptates nulla autem et perspiciatis libero voluptas.","pipeline":"Voluptates et molestiae eum et occaecati.","processing_config":"Et et eligendi voluptatem.","retention_period":"Necessitatibus voluptas mollitia dolore."},"required":["path"]}}},"tags":[{"name":"batch","description":"The batch service manages batches of collections."},{"name":"collection","description":"The collection service manages packages being transferred to Archivematica."},{"name":"pipeline","description":"The pipeline service manages Archivematica pipelines."},{"name":"swagger","description":"The swagger service serves the API swagger definition."}]} \ No newline at end of file diff --git a/internal/api/gen/http/openapi3.yaml b/internal/api/gen/http/openapi3.yaml index 0cb7b45a..6d409f4c 100644 --- a/internal/api/gen/http/openapi3.yaml +++ b/internal/api/gen/http/openapi3.yaml @@ -20,10 +20,10 @@ paths: schema: $ref: '#/components/schemas/BatchStatusResult' example: - run_id: Officiis illo velit possimus et ea. + run_id: Vel sint ducimus officia labore eius qui. running: true - status: Odit aut. - workflow_id: Perferendis illum illum omnis. + status: Nam sed nostrum enim laborum ea facilis. + workflow_id: Dolor illum excepturi magni quidem. post: tags: - batch @@ -37,11 +37,11 @@ paths: schema: $ref: '#/components/schemas/SubmitRequestBody' example: - completed_dir: Sit sed laboriosam. - path: Provident voluptates iure et. - pipeline: Ut dolor est. - processing_config: Eum quis nihil soluta ut molestiae et. - retention_period: Sit nihil. + completed_dir: Laboriosam odit. + path: Laboriosam nam sit nihil. + pipeline: Necessitatibus vel aut deleniti quia qui. + processing_config: Vel voluptatem. + retention_period: Sed perferendis illum illum omnis et officiis. responses: "202": description: Accepted response. @@ -50,8 +50,8 @@ paths: schema: $ref: '#/components/schemas/BatchResult' example: - run_id: Vel voluptatem. - workflow_id: Necessitatibus vel aut deleniti quia qui. + run_id: Debitis rerum. + workflow_id: Velit possimus et ea aut harum. "400": description: 'not_valid: Bad Request response.' content: @@ -80,8 +80,10 @@ paths: $ref: '#/components/schemas/BatchHintsResult' example: completed_dirs: - - Eaque debitis rerum. - - Ut nam. + - Impedit vero ducimus. + - Quo illo natus et. + - Eaque suscipit in cum et quia facere. + - Doloribus sed tempore voluptatum quo. /collection: get: tags: @@ -95,61 +97,61 @@ paths: allowEmptyValue: true schema: type: string - example: Voluptatem id. - example: Laborum commodi dolorem. + example: Dolorem rerum ullam provident hic aut. + example: Magni blanditiis sequi sunt neque velit. - name: original_id in: query allowEmptyValue: true schema: type: string - example: Autem eum labore tempora cumque sit. - example: Aut nesciunt. + example: Ducimus minima totam veritatis. + example: Aliquam unde sit omnis quos. - name: transfer_id in: query allowEmptyValue: true schema: type: string - example: 426558a5-09c7-11ee-8a61-7085c27bdeb0 + example: d080641c-11a8-11ee-ade5-7085c27bdeb0 format: uuid - example: 426559e9-09c7-11ee-8a61-7085c27bdeb0 + example: d080665a-11a8-11ee-ade5-7085c27bdeb0 - name: aip_id in: query allowEmptyValue: true schema: type: string - example: 42655b0d-09c7-11ee-8a61-7085c27bdeb0 + example: d0806858-11a8-11ee-ade5-7085c27bdeb0 format: uuid - example: 42655c2e-09c7-11ee-8a61-7085c27bdeb0 + example: d0806a74-11a8-11ee-ade5-7085c27bdeb0 - name: pipeline_id in: query allowEmptyValue: true schema: type: string - example: 42655d6b-09c7-11ee-8a61-7085c27bdeb0 + example: d0806c72-11a8-11ee-ade5-7085c27bdeb0 format: uuid - example: 42655ea8-09c7-11ee-8a61-7085c27bdeb0 + example: d0806e98-11a8-11ee-ade5-7085c27bdeb0 - name: earliest_created_time in: query allowEmptyValue: true schema: type: string - example: "1988-02-01T17:24:24Z" + example: "1997-12-25T18:16:26Z" format: date-time - example: "2001-04-06T12:47:58Z" + example: "1979-05-02T21:10:22Z" - name: latest_created_time in: query allowEmptyValue: true schema: type: string - example: "1982-08-25T20:27:09Z" + example: "1999-12-17T11:47:57Z" format: date-time - example: "1997-10-27T04:41:09Z" + example: "2014-10-13T03:53:49Z" - name: status in: query allowEmptyValue: true schema: type: string - example: queued + example: done enum: - new - in progress @@ -159,7 +161,7 @@ paths: - queued - pending - abandoned - example: abandoned + example: in progress - name: cursor in: query description: Pagination cursor @@ -167,8 +169,8 @@ paths: schema: type: string description: Pagination cursor - example: Eum quas doloribus tempore sit vel. - example: Pariatur hic corporis repudiandae nulla ipsum officia. + example: In ut qui aut quo. + example: Sunt iste facilis rerum inventore architecto tempora. responses: "200": description: OK response. @@ -178,55 +180,55 @@ paths: $ref: '#/components/schemas/ListResponseBody' example: items: - - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 + - aip_id: d07a4bb6-11a8-11ee-ade5-7085c27bdeb0 completed_at: "2014-01-26T22:52:33Z" created_at: "2006-09-07T19:48:15Z" id: 5273261262554249024 name: Iusto laudantium assumenda. original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 + pipeline_id: d07a4d34-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07a48d6-11a8-11ee-ade5-7085c27bdeb0 started_at: "1986-05-13T23:32:21Z" status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 + transfer_id: d07a4a4f-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07a3817-11a8-11ee-ade5-7085c27bdeb0 + - aip_id: d07a4bb6-11a8-11ee-ade5-7085c27bdeb0 completed_at: "2014-01-26T22:52:33Z" created_at: "2006-09-07T19:48:15Z" id: 5273261262554249024 name: Iusto laudantium assumenda. original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 + pipeline_id: d07a4d34-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07a48d6-11a8-11ee-ade5-7085c27bdeb0 started_at: "1986-05-13T23:32:21Z" status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 + transfer_id: d07a4a4f-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07a3817-11a8-11ee-ade5-7085c27bdeb0 + - aip_id: d07a4bb6-11a8-11ee-ade5-7085c27bdeb0 completed_at: "2014-01-26T22:52:33Z" created_at: "2006-09-07T19:48:15Z" id: 5273261262554249024 name: Iusto laudantium assumenda. original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 + pipeline_id: d07a4d34-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07a48d6-11a8-11ee-ade5-7085c27bdeb0 started_at: "1986-05-13T23:32:21Z" status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 + transfer_id: d07a4a4f-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07a3817-11a8-11ee-ade5-7085c27bdeb0 + - aip_id: d07a4bb6-11a8-11ee-ade5-7085c27bdeb0 completed_at: "2014-01-26T22:52:33Z" created_at: "2006-09-07T19:48:15Z" id: 5273261262554249024 name: Iusto laudantium assumenda. original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 + pipeline_id: d07a4d34-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07a48d6-11a8-11ee-ade5-7085c27bdeb0 started_at: "1986-05-13T23:32:21Z" status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - next_cursor: Voluptatem ab similique aut sed velit ad. + transfer_id: d07a4a4f-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07a3817-11a8-11ee-ade5-7085c27bdeb0 + next_cursor: Ad aut rerum. /collection/{id}: delete: tags: @@ -242,8 +244,8 @@ paths: schema: type: integer description: Identifier of collection to delete - example: 6354617311069634499 - example: 4525807496681691084 + example: 17387408872735771929 + example: 18321251186215423685 responses: "204": description: No Content response. @@ -267,8 +269,8 @@ paths: schema: type: integer description: Identifier of collection to show - example: 6803957225682286696 - example: 3163474387486333795 + example: 10131890621733502138 + example: 12151494561344357633 responses: "200": description: OK response. @@ -277,18 +279,18 @@ paths: schema: $ref: '#/components/schemas/EnduroStoredCollection' example: - aip_id: 4263b41a-09c7-11ee-8a61-7085c27bdeb0 - completed_at: "1996-03-18T22:31:34Z" - created_at: "2004-07-12T09:40:41Z" - id: 17087991906092947193 - name: Ullam eum maiores totam in numquam. - original_id: Dicta sit voluptatibus. - pipeline_id: 4263b562-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4263b1c4-09c7-11ee-8a61-7085c27bdeb0 - started_at: "1984-02-28T22:30:11Z" - status: pending - transfer_id: 4263b2fa-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4263b082-09c7-11ee-8a61-7085c27bdeb0 + aip_id: d07c8a6f-11a8-11ee-ade5-7085c27bdeb0 + completed_at: "2000-10-04T09:57:15Z" + created_at: "2010-07-22T22:55:51Z" + id: 12024565834601469556 + name: Quam quas. + original_id: Et consequatur aut enim consequuntur debitis temporibus. + pipeline_id: d07c8ba4-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07c87c3-11a8-11ee-ade5-7085c27bdeb0 + started_at: "2014-07-31T20:44:18Z" + status: queued + transfer_id: d07c892a-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07c8679-11a8-11ee-ade5-7085c27bdeb0 "404": description: 'not_found: Collection not found' content: @@ -310,8 +312,8 @@ paths: schema: type: integer description: Identifier of collection to remove - example: 14723904594261209888 - example: 5614850388820678135 + example: 8238362425834670988 + example: 7926296436146036015 responses: "200": description: OK response. @@ -347,8 +349,8 @@ paths: schema: type: integer description: Identifier of collection to look up - example: 1552422728614359660 - example: 15623972407070056057 + example: 9198655460133316854 + example: 7412982194674710965 requestBody: required: true content: @@ -359,11 +361,11 @@ paths: option: type: string description: Decision option to proceed with - example: Non et aut et odio natus aut. + example: Aut dolorem praesentium asperiores commodi earum neque. example: - option: Assumenda unde. + option: Eaque ipsam. example: - option: Laborum ipsa magnam et. + option: Excepturi architecto illum et consequatur optio corporis. responses: "200": description: OK response. @@ -399,8 +401,8 @@ paths: schema: type: integer description: Identifier of collection to look up - example: 3709514011654345130 - example: 13280801478000475761 + example: 17608551620639562459 + example: 1156397374729870360 responses: "200": description: OK response. @@ -410,88 +412,96 @@ paths: type: string example: - 73 + - 112 + - 115 + - 97 + - 109 + - 32 - 110 + - 101 - 99 + - 101 + - 115 + - 115 - 105 - - 100 - - 117 - - 110 - 116 + - 97 + - 116 + - 105 + - 98 + - 117 + - 115 - 32 - - 114 - - 101 + - 115 + - 105 - 109 - - 32 - - 99 - - 117 + - 105 - 108 - - 112 - - 97 + - 105 + - 113 + - 117 + - 101 - 32 - 97 - - 99 - - 99 - - 117 + - 100 + - 105 + - 112 + - 105 - 115 + - 99 + - 105 + - 32 + - 109 - 97 + - 103 - 110 - - 116 - - 105 - - 117 + - 97 - 109 - 32 - - 108 - - 97 - - 117 - - 100 - 97 - 110 - - 116 - 105 - - 117 - 109 + - 105 - 32 - 97 - - 116 - - 32 - - 118 - - 111 - - 108 - - 117 + - 100 + - 105 - 112 - - 116 - - 97 - - 116 - - 101 - - 109 + - 105 + - 115 + - 99 + - 105 - 46 format: binary example: - - 69 - - 120 - - 112 - - 108 + - 82 + - 101 - 105 - 99 - - 97 - - 98 - - 111 - - 32 - - 99 - - 111 - - 109 - - 109 - - 111 + - 105 + - 101 + - 110 - 100 - 105 + - 115 - 32 - - 113 + - 118 + - 111 + - 108 - 117 + - 112 + - 116 - 97 - - 101 + - 115 - 32 + - 100 + - 111 + - 108 + - 111 + - 114 - 117 - - 116 + - 109 - 46 "404": description: 'not_found: Collection not found' @@ -514,8 +524,8 @@ paths: schema: type: integer description: Identifier of collection to retry - example: 12574132693602527440 - example: 16737720414019367817 + example: 1414840750630874316 + example: 14468688610787245765 responses: "200": description: OK response. @@ -551,8 +561,8 @@ paths: schema: type: integer description: Identifier of collection to look up - example: 7989460244596820022 - example: 7862593055240756568 + example: 17826339955967178467 + example: 15122940082992273340 responses: "200": description: OK response. @@ -574,7 +584,7 @@ paths: - details: In quis sed. id: 2015423930972900414 type: Enim esse aut accusantium deleniti beatae voluptas. - status: Voluptatem aut dolorem perspiciatis. + status: Qui dolor. "404": description: 'not_found: Collection not found' content: @@ -596,12 +606,12 @@ paths: schema: $ref: '#/components/schemas/BulkStatusResult' example: - closed_at: "2006-08-26T23:55:15Z" - run_id: Voluptatibus eligendi consectetur alias architecto in. - running: true - started_at: "1983-07-13T20:54:35Z" - status: Consequatur porro. - workflow_id: Consequatur commodi reprehenderit. + closed_at: "1983-11-09T08:33:50Z" + run_id: Officiis eum pariatur. + running: false + started_at: "2006-08-01T01:39:09Z" + status: Repellat architecto dolore harum. + workflow_id: Excepturi dolor aut rerum. post: tags: - collection @@ -616,8 +626,8 @@ paths: $ref: '#/components/schemas/BulkRequestBody' example: operation: cancel - size: 11998998615337084245 - status: done + size: 15492129042979125718 + status: in progress responses: "202": description: Accepted response. @@ -626,8 +636,8 @@ paths: schema: $ref: '#/components/schemas/BatchResult' example: - run_id: Praesentium velit aspernatur alias animi. - workflow_id: Mollitia recusandae. + run_id: Deserunt illum et tempora. + workflow_id: Explicabo et numquam aut dolores et voluptas. "400": description: 'not_valid: Bad Request response.' content: @@ -654,21 +664,21 @@ paths: schema: $ref: '#/components/schemas/EnduroMonitorUpdate' example: - id: 9639929401210070073 + id: 2293355532387428117 item: - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 + aip_id: d07a4bb6-11a8-11ee-ade5-7085c27bdeb0 completed_at: "2014-01-26T22:52:33Z" created_at: "2006-09-07T19:48:15Z" id: 5273261262554249024 name: Iusto laudantium assumenda. original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 + pipeline_id: d07a4d34-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07a48d6-11a8-11ee-ade5-7085c27bdeb0 started_at: "1986-05-13T23:32:21Z" status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - type: Sequi magnam ea et. + transfer_id: d07a4a4f-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07a3817-11a8-11ee-ade5-7085c27bdeb0 + type: Deleniti ea tenetur deleniti. /pipeline: get: tags: @@ -682,8 +692,16 @@ paths: allowEmptyValue: true schema: type: string - example: Dolorem voluptate error iste provident exercitationem. - example: Aut error expedita et a nulla. + example: Excepturi vitae et saepe. + example: Quia perspiciatis. + - name: status + in: query + allowEmptyValue: true + schema: + type: boolean + default: false + example: false + example: true responses: "200": description: OK response. @@ -696,25 +714,35 @@ paths: example: - capacity: 8406108818872523115 current: 1737602466879989319 - id: 4262ea29-09c7-11ee-8a61-7085c27bdeb0 + id: d07aad12-11a8-11ee-ade5-7085c27bdeb0 name: Eius perferendis et corrupti harum nisi voluptatibus. + status: Qui explicabo qui error sint. - capacity: 8406108818872523115 current: 1737602466879989319 - id: 4262ea29-09c7-11ee-8a61-7085c27bdeb0 + id: d07aad12-11a8-11ee-ade5-7085c27bdeb0 name: Eius perferendis et corrupti harum nisi voluptatibus. + status: Qui explicabo qui error sint. example: - capacity: 8406108818872523115 current: 1737602466879989319 - id: 4262ea29-09c7-11ee-8a61-7085c27bdeb0 + id: d07aad12-11a8-11ee-ade5-7085c27bdeb0 + name: Eius perferendis et corrupti harum nisi voluptatibus. + status: Qui explicabo qui error sint. + - capacity: 8406108818872523115 + current: 1737602466879989319 + id: d07aad12-11a8-11ee-ade5-7085c27bdeb0 name: Eius perferendis et corrupti harum nisi voluptatibus. + status: Qui explicabo qui error sint. - capacity: 8406108818872523115 current: 1737602466879989319 - id: 4262ea29-09c7-11ee-8a61-7085c27bdeb0 + id: d07aad12-11a8-11ee-ade5-7085c27bdeb0 name: Eius perferendis et corrupti harum nisi voluptatibus. + status: Qui explicabo qui error sint. - capacity: 8406108818872523115 current: 1737602466879989319 - id: 4262ea29-09c7-11ee-8a61-7085c27bdeb0 + id: d07aad12-11a8-11ee-ade5-7085c27bdeb0 name: Eius perferendis et corrupti harum nisi voluptatibus. + status: Qui explicabo qui error sint. /pipeline/{id}: get: tags: @@ -730,9 +758,9 @@ paths: schema: type: string description: Identifier of pipeline to show - example: 426568de-09c7-11ee-8a61-7085c27bdeb0 + example: d0807f61-11a8-11ee-ade5-7085c27bdeb0 format: uuid - example: 42656a10-09c7-11ee-8a61-7085c27bdeb0 + example: d080816d-11a8-11ee-ade5-7085c27bdeb0 responses: "200": description: OK response. @@ -741,10 +769,11 @@ paths: schema: $ref: '#/components/schemas/EnduroStoredPipeline' example: - capacity: 291724148046190090 - current: 1357506373453254213 - id: 42649024-09c7-11ee-8a61-7085c27bdeb0 - name: Animi dolorem non voluptate voluptatem. + capacity: 604697410197609923 + current: 1321092956144830636 + id: d07f4c47-11a8-11ee-ade5-7085c27bdeb0 + name: Tempora error inventore molestias animi asperiores blanditiis. + status: Quam assumenda saepe omnis et eius. "404": description: 'not_found: Pipeline not found' content: @@ -766,9 +795,9 @@ paths: schema: type: string description: Identifier of pipeline - example: 42656bca-09c7-11ee-8a61-7085c27bdeb0 + example: d0808432-11a8-11ee-ade5-7085c27bdeb0 format: uuid - example: 42656d0c-09c7-11ee-8a61-7085c27bdeb0 + example: d0808660-11a8-11ee-ade5-7085c27bdeb0 responses: "200": description: OK response. @@ -778,15 +807,13 @@ paths: type: array items: type: string - example: Consequuntur modi. + example: Tenetur iste numquam rem quo eligendi. example: - - Debitis ad animi quia. - - Culpa aut explicabo placeat voluptatem aut atque. - - Voluptatem sunt est quae est. - - Veniam aut qui blanditiis provident. + - Autem magnam. + - In enim amet architecto non repudiandae. example: - - Eligendi quam rerum ut qui. - - Quas voluptas aut at soluta magni. + - Maiores et dolores sed rerum est et. + - Molestias natus aut. "404": description: 'not_found: Pipeline not found' content: @@ -812,29 +839,29 @@ components: type: array items: type: string - example: Distinctio sed distinctio. + example: Suscipit tempore est quisquam ratione. description: A list of known values of completedDir used by existing watchers. example: - - Unde ut aspernatur. - - Voluptatem quibusdam facilis. - - A veritatis vel eos. - - Sunt ut. + - Perferendis maiores. + - Praesentium voluptatum delectus commodi. + - Non eos consequuntur aliquam. example: completed_dirs: - - Illum tenetur omnis voluptates. - - Autem et. + - Aliquid perspiciatis aperiam. + - Optio repellendus molestias. + - Mollitia aut tempora quia aperiam saepe. BatchResult: type: object properties: run_id: type: string - example: Nihil similique unde molestiae esse consequatur. + example: Deserunt a enim cum ad quasi qui. workflow_id: type: string - example: Hic eveniet quam consequatur eveniet repellat. + example: Qui rerum asperiores qui. example: - run_id: Tenetur dolorum error aut. - workflow_id: Animi veniam omnis dolores sed omnis. + run_id: Beatae blanditiis qui et ut recusandae id. + workflow_id: Vitae fugit quis tempore animi ad ab. required: - workflow_id - run_id @@ -843,21 +870,21 @@ components: properties: run_id: type: string - example: Autem adipisci suscipit distinctio qui harum totam. + example: Et rem et. running: type: boolean - example: true + example: false status: type: string - example: Sed sunt molestiae animi et aliquid voluptatem. + example: Dolor saepe dolores. workflow_id: type: string - example: Est praesentium officiis occaecati magnam est veritatis. + example: Quis delectus quia. example: - run_id: Incidunt qui inventore hic voluptates. + run_id: Et culpa beatae fuga. running: false - status: Impedit voluptates vel omnis. - workflow_id: Corrupti quia. + status: Sunt laborum. + workflow_id: In qui. required: - running BulkRequestBody: @@ -865,7 +892,7 @@ components: properties: operation: type: string - example: cancel + example: abandon enum: - retry - cancel @@ -873,7 +900,7 @@ components: size: type: integer default: 100 - example: 8841489659374607276 + example: 7049186774788407004 status: type: string example: unknown @@ -887,9 +914,9 @@ components: - pending - abandoned example: - operation: abandon - size: 14670542273154535376 - status: queued + operation: cancel + size: 10756257245132189908 + status: new required: - operation - status @@ -898,31 +925,31 @@ components: properties: closed_at: type: string - example: "1999-11-07T12:15:42Z" + example: "1988-07-12T21:32:29Z" format: date-time run_id: type: string - example: Tempora ullam dolorem. + example: Et molestiae alias qui omnis reiciendis quae. running: type: boolean example: true started_at: type: string - example: "1986-12-14T03:13:33Z" + example: "2004-09-15T21:11:47Z" format: date-time status: type: string - example: Qui omnis aut dolore. + example: Mollitia est officiis nostrum dignissimos ut. workflow_id: type: string - example: Voluptas quasi deserunt. + example: Eligendi mollitia ut voluptate tempora iusto et. example: - closed_at: "2015-06-01T08:40:02Z" - run_id: Iste perferendis. - running: true - started_at: "1999-12-18T11:29:33Z" - status: Debitis sit amet eos ducimus. - workflow_id: Error et. + closed_at: "1997-01-23T03:40:32Z" + run_id: Animi quia ut culpa aut explicabo placeat. + running: false + started_at: "2010-10-16T14:05:06Z" + status: Similique assumenda doloremque cumque quia consequuntur. + workflow_id: Nobis hic debitis. required: - running CollectionNotfound: @@ -931,15 +958,15 @@ components: id: type: integer description: Identifier of missing collection - example: 17191334628637077182 + example: 18225317793911514815 message: type: string description: Message of error - example: Assumenda laboriosam amet inventore veritatis nobis et. + example: Voluptas autem culpa quos tempore. description: Collection not found example: - id: 1596271692226373715 - message: Unde rerum pariatur quis. + id: 13607598706967279877 + message: Neque recusandae et perferendis. required: - message - id @@ -949,21 +976,21 @@ components: details: type: string description: Contents of the event - example: Qui ut. + example: Nobis maiores commodi odit iure unde. format: binary id: type: integer description: Identifier of collection - example: 686720090900300881 + example: 6353654755516871806 type: type: string description: Type of the event - example: Qui et natus vero architecto. + example: Possimus voluptatem. description: WorkflowHistoryEvent describes a history event in Cadence. example: - details: Sint ducimus aliquam. - id: 5022301581306135243 - type: Facere enim itaque et sit error numquam. + details: Neque voluptas quasi deserunt excepturi tempora. + id: 12911299265168543401 + type: Rem quia qui omnis aut. EnduroCollectionWorkflowHistoryCollection: type: array items: @@ -975,6 +1002,9 @@ components: - details: In quis sed. id: 2015423930972900414 type: Enim esse aut accusantium deleniti beatae voluptas. + - details: In quis sed. + id: 2015423930972900414 + type: Enim esse aut accusantium deleniti beatae voluptas. EnduroCollectionWorkflowStatus: type: object properties: @@ -982,7 +1012,7 @@ components: $ref: '#/components/schemas/EnduroCollectionWorkflowHistoryCollection' status: type: string - example: Sequi voluptas sed. + example: Neque voluptatem porro omnis et distinctio vero. example: history: - details: In quis sed. @@ -997,36 +1027,36 @@ components: - details: In quis sed. id: 2015423930972900414 type: Enim esse aut accusantium deleniti beatae voluptas. - status: Quo ex. + status: Nulla quod sed. EnduroMonitorUpdate: type: object properties: id: type: integer description: Identifier of collection - example: 15464215305896230119 + example: 17019269049155146495 item: $ref: '#/components/schemas/EnduroStoredCollection' type: type: string description: Type of the event - example: Voluptas qui voluptates et molestiae eum. + example: Deserunt enim voluptas ut cupiditate expedita distinctio. example: - id: 4603536236039963160 + id: 18173606350330826349 item: - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 + aip_id: d07a4bb6-11a8-11ee-ade5-7085c27bdeb0 completed_at: "2014-01-26T22:52:33Z" created_at: "2006-09-07T19:48:15Z" id: 5273261262554249024 name: Iusto laudantium assumenda. original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 + pipeline_id: d07a4d34-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07a48d6-11a8-11ee-ade5-7085c27bdeb0 started_at: "1986-05-13T23:32:21Z" status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - type: Voluptate aspernatur perspiciatis placeat accusantium ea. + transfer_id: d07a4a4f-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07a3817-11a8-11ee-ade5-7085c27bdeb0 + type: Perspiciatis porro veritatis et. required: - id - type @@ -1036,50 +1066,50 @@ components: aip_id: type: string description: Identifier of Archivematica AIP - example: 42653b0a-09c7-11ee-8a61-7085c27bdeb0 + example: d080307d-11a8-11ee-ade5-7085c27bdeb0 format: uuid completed_at: type: string description: Completion datetime - example: "2008-03-17T16:47:20Z" + example: "1985-09-21T14:48:23Z" format: date-time created_at: type: string description: Creation datetime - example: "2006-11-04T11:49:03Z" + example: "2011-02-18T18:59:59Z" format: date-time id: type: integer description: Identifier of collection - example: 7776196064117448872 + example: 4919145112566344839 name: type: string description: Name of the collection - example: Autem et. + example: Dolor labore quis aut sint recusandae eum. original_id: type: string description: Identifier provided by the client - example: Eos tempore necessitatibus quas earum ullam. + example: Assumenda qui assumenda suscipit. pipeline_id: type: string description: Identifier of Archivematica pipeline - example: 42653c48-09c7-11ee-8a61-7085c27bdeb0 + example: d0803284-11a8-11ee-ade5-7085c27bdeb0 format: uuid run_id: type: string description: Identifier of latest processing workflow run - example: 426538a2-09c7-11ee-8a61-7085c27bdeb0 + example: d0802c60-11a8-11ee-ade5-7085c27bdeb0 format: uuid started_at: type: string description: Start datetime - example: "1976-03-20T09:19:32Z" + example: "2006-08-17T11:55:03Z" format: date-time status: type: string description: Status of the collection default: new - example: in progress + example: pending enum: - new - in progress @@ -1092,27 +1122,27 @@ components: transfer_id: type: string description: Identifier of Archivematica transfer - example: 426539e6-09c7-11ee-8a61-7085c27bdeb0 + example: d0802e82-11a8-11ee-ade5-7085c27bdeb0 format: uuid workflow_id: type: string description: Identifier of processing workflow - example: 4265376b-09c7-11ee-8a61-7085c27bdeb0 + example: d08029f4-11a8-11ee-ade5-7085c27bdeb0 format: uuid description: StoredCollection describes a collection retrieved by the service. example: - aip_id: 42654460-09c7-11ee-8a61-7085c27bdeb0 - completed_at: "1979-08-09T16:03:56Z" - created_at: "1985-01-15T03:15:11Z" - id: 7421456392057185195 - name: Aut architecto et. - original_id: Et eos ad vel quia. - pipeline_id: 4265458e-09c7-11ee-8a61-7085c27bdeb0 - run_id: 42654234-09c7-11ee-8a61-7085c27bdeb0 - started_at: "1992-01-10T17:12:25Z" - status: queued - transfer_id: 42654341-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 42654118-09c7-11ee-8a61-7085c27bdeb0 + aip_id: d080404c-11a8-11ee-ade5-7085c27bdeb0 + completed_at: "1986-04-15T08:25:16Z" + created_at: "2002-08-25T21:29:42Z" + id: 3007180406968656670 + name: Saepe officia veritatis. + original_id: Reiciendis corporis recusandae optio possimus id et. + pipeline_id: d080427e-11a8-11ee-ade5-7085c27bdeb0 + run_id: d0803c98-11a8-11ee-ade5-7085c27bdeb0 + started_at: "2002-10-30T11:51:06Z" + status: error + transfer_id: d0803e7e-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d0803ab9-11a8-11ee-ade5-7085c27bdeb0 required: - id - status @@ -1122,82 +1152,62 @@ components: items: $ref: '#/components/schemas/EnduroStoredCollection' example: - - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 + - aip_id: d07a4bb6-11a8-11ee-ade5-7085c27bdeb0 completed_at: "2014-01-26T22:52:33Z" created_at: "2006-09-07T19:48:15Z" id: 5273261262554249024 name: Iusto laudantium assumenda. original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 + pipeline_id: d07a4d34-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07a48d6-11a8-11ee-ade5-7085c27bdeb0 started_at: "1986-05-13T23:32:21Z" status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 + transfer_id: d07a4a4f-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07a3817-11a8-11ee-ade5-7085c27bdeb0 + - aip_id: d07a4bb6-11a8-11ee-ade5-7085c27bdeb0 completed_at: "2014-01-26T22:52:33Z" created_at: "2006-09-07T19:48:15Z" id: 5273261262554249024 name: Iusto laudantium assumenda. original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 + pipeline_id: d07a4d34-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07a48d6-11a8-11ee-ade5-7085c27bdeb0 started_at: "1986-05-13T23:32:21Z" status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 - completed_at: "2014-01-26T22:52:33Z" - created_at: "2006-09-07T19:48:15Z" - id: 5273261262554249024 - name: Iusto laudantium assumenda. - original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 - started_at: "1986-05-13T23:32:21Z" - status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 - completed_at: "2014-01-26T22:52:33Z" - created_at: "2006-09-07T19:48:15Z" - id: 5273261262554249024 - name: Iusto laudantium assumenda. - original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 - started_at: "1986-05-13T23:32:21Z" - status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 + transfer_id: d07a4a4f-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07a3817-11a8-11ee-ade5-7085c27bdeb0 EnduroStoredPipeline: type: object properties: capacity: type: integer description: Maximum concurrent transfers - example: 8134230941646842201 + example: 675308295529917391 format: int64 current: type: integer description: Current transfers - example: 2764356440817928019 + example: 1126670102776995078 format: int64 id: type: string description: Identifier of the pipeline - example: 4265532e-09c7-11ee-8a61-7085c27bdeb0 + example: d0805a4a-11a8-11ee-ade5-7085c27bdeb0 format: uuid name: type: string description: Name of the pipeline - example: Voluptas non nisi error atque. + example: Est provident sint at modi est. + status: + type: string + example: Repellat inventore culpa qui sapiente inventore non. description: StoredPipeline describes a pipeline retrieved by this service. example: - capacity: 4690709023162412182 - current: 6478036131892465615 - id: 4265546d-09c7-11ee-8a61-7085c27bdeb0 - name: Velit architecto dolorum ut rerum eveniet. + capacity: 3260630790103415086 + current: 7000442574851704032 + id: d0805cd1-11a8-11ee-ade5-7085c27bdeb0 + name: Ut corrupti velit enim. + status: Illum voluptas vel nesciunt. required: - name Error: @@ -1206,7 +1216,7 @@ components: fault: type: boolean description: Is the error a server-side fault? - example: true + example: false id: type: string description: ID is a unique identifier for this particular occurrence of the problem. @@ -1226,7 +1236,7 @@ components: timeout: type: boolean description: Is the error a timeout? - example: true + example: false example: id: 3F1FKVRR message: Value of ID must be an integer @@ -1245,58 +1255,58 @@ components: $ref: '#/components/schemas/EnduroStoredCollectionCollection' next_cursor: type: string - example: Tempora culpa non enim culpa. + example: Reiciendis iste quis asperiores voluptate temporibus. example: items: - - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 + - aip_id: d07a4bb6-11a8-11ee-ade5-7085c27bdeb0 completed_at: "2014-01-26T22:52:33Z" created_at: "2006-09-07T19:48:15Z" id: 5273261262554249024 name: Iusto laudantium assumenda. original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 + pipeline_id: d07a4d34-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07a48d6-11a8-11ee-ade5-7085c27bdeb0 started_at: "1986-05-13T23:32:21Z" status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 + transfer_id: d07a4a4f-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07a3817-11a8-11ee-ade5-7085c27bdeb0 + - aip_id: d07a4bb6-11a8-11ee-ade5-7085c27bdeb0 completed_at: "2014-01-26T22:52:33Z" created_at: "2006-09-07T19:48:15Z" id: 5273261262554249024 name: Iusto laudantium assumenda. original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 + pipeline_id: d07a4d34-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07a48d6-11a8-11ee-ade5-7085c27bdeb0 started_at: "1986-05-13T23:32:21Z" status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 + transfer_id: d07a4a4f-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07a3817-11a8-11ee-ade5-7085c27bdeb0 + - aip_id: d07a4bb6-11a8-11ee-ade5-7085c27bdeb0 completed_at: "2014-01-26T22:52:33Z" created_at: "2006-09-07T19:48:15Z" id: 5273261262554249024 name: Iusto laudantium assumenda. original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 + pipeline_id: d07a4d34-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07a48d6-11a8-11ee-ade5-7085c27bdeb0 started_at: "1986-05-13T23:32:21Z" status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - - aip_id: 4262b883-09c7-11ee-8a61-7085c27bdeb0 + transfer_id: d07a4a4f-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07a3817-11a8-11ee-ade5-7085c27bdeb0 + - aip_id: d07a4bb6-11a8-11ee-ade5-7085c27bdeb0 completed_at: "2014-01-26T22:52:33Z" created_at: "2006-09-07T19:48:15Z" id: 5273261262554249024 name: Iusto laudantium assumenda. original_id: Voluptatem eum et rerum. - pipeline_id: 4262b9e4-09c7-11ee-8a61-7085c27bdeb0 - run_id: 4262b5a0-09c7-11ee-8a61-7085c27bdeb0 + pipeline_id: d07a4d34-11a8-11ee-ade5-7085c27bdeb0 + run_id: d07a48d6-11a8-11ee-ade5-7085c27bdeb0 started_at: "1986-05-13T23:32:21Z" status: unknown - transfer_id: 4262b721-09c7-11ee-8a61-7085c27bdeb0 - workflow_id: 4262a23a-09c7-11ee-8a61-7085c27bdeb0 - next_cursor: Veniam minima eum voluptatem sapiente iure. + transfer_id: d07a4a4f-11a8-11ee-ade5-7085c27bdeb0 + workflow_id: d07a3817-11a8-11ee-ade5-7085c27bdeb0 + next_cursor: Facilis officiis dicta et vitae consequatur nihil. required: - items PipelineNotFound: @@ -1305,15 +1315,15 @@ components: id: type: string description: Identifier of missing pipeline - example: Voluptates facere voluptates ut. + example: Beatae quidem illo ducimus et deleniti voluptatibus. message: type: string description: Message of error - example: Unde eum a et error blanditiis. + example: Quis nisi ut. description: Pipeline not found example: - id: Nemo similique assumenda doloremque cumque. - message: Voluptatem mollitia vitae amet et excepturi deleniti. + id: Voluptatem ducimus aut at optio. + message: Ut repellendus similique minima. required: - message - id @@ -1322,25 +1332,25 @@ components: properties: completed_dir: type: string - example: Odio nulla tenetur quibusdam rerum sit labore. + example: Sunt ut. path: type: string - example: Qui tempora itaque illum vitae aliquid quia. + example: Qui non unde ut. pipeline: type: string - example: Dolorem odit qui. + example: Et voluptatem quibusdam facilis magnam. processing_config: type: string - example: Velit illo nemo fugiat. + example: Veritatis vel eos. retention_period: type: string - example: Quia id. + example: Illum illum tenetur. example: - completed_dir: Enim non ut hic. - path: Deleniti sapiente dignissimos. - pipeline: Quo repellendus voluptas. - processing_config: Ut consequatur facilis vel quisquam maxime. - retention_period: Dignissimos debitis. + completed_dir: Fugiat a officiis ipsum. + path: Voluptates nulla autem et perspiciatis libero voluptas. + pipeline: Voluptates et molestiae eum et occaecati. + processing_config: Et et eligendi voluptatem. + retention_period: Necessitatibus voluptas mollitia dolore. required: - path tags: diff --git a/internal/api/gen/http/pipeline/client/cli.go b/internal/api/gen/http/pipeline/client/cli.go index 0a804837..974a9fd2 100644 --- a/internal/api/gen/http/pipeline/client/cli.go +++ b/internal/api/gen/http/pipeline/client/cli.go @@ -9,21 +9,35 @@ package client import ( + "fmt" + "strconv" + pipeline "github.com/artefactual-labs/enduro/internal/api/gen/pipeline" goa "goa.design/goa/v3/pkg" ) // BuildListPayload builds the payload for the pipeline list endpoint from CLI // flags. -func BuildListPayload(pipelineListName string) (*pipeline.ListPayload, error) { +func BuildListPayload(pipelineListName string, pipelineListStatus string) (*pipeline.ListPayload, error) { + var err error var name *string { if pipelineListName != "" { name = &pipelineListName } } + var status bool + { + if pipelineListStatus != "" { + status, err = strconv.ParseBool(pipelineListStatus) + if err != nil { + return nil, fmt.Errorf("invalid value for status, must be BOOL") + } + } + } v := &pipeline.ListPayload{} v.Name = name + v.Status = status return v, nil } diff --git a/internal/api/gen/http/pipeline/client/encode_decode.go b/internal/api/gen/http/pipeline/client/encode_decode.go index 0d3f068e..ec3c7fa0 100644 --- a/internal/api/gen/http/pipeline/client/encode_decode.go +++ b/internal/api/gen/http/pipeline/client/encode_decode.go @@ -11,6 +11,7 @@ package client import ( "bytes" "context" + "fmt" "io" "net/http" "net/url" @@ -48,6 +49,7 @@ func EncodeListRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.R if p.Name != nil { values.Add("name", *p.Name) } + values.Add("status", fmt.Sprintf("%v", p.Status)) req.URL.RawQuery = values.Encode() return nil } @@ -269,6 +271,7 @@ func unmarshalEnduroStoredPipelineResponseToPipelineEnduroStoredPipeline(v *Endu Name: *v.Name, Capacity: v.Capacity, Current: v.Current, + Status: v.Status, } return res diff --git a/internal/api/gen/http/pipeline/client/types.go b/internal/api/gen/http/pipeline/client/types.go index 64290363..bb166722 100644 --- a/internal/api/gen/http/pipeline/client/types.go +++ b/internal/api/gen/http/pipeline/client/types.go @@ -28,7 +28,8 @@ type ShowResponseBody struct { // Maximum concurrent transfers Capacity *int64 `form:"capacity,omitempty" json:"capacity,omitempty" xml:"capacity,omitempty"` // Current transfers - Current *int64 `form:"current,omitempty" json:"current,omitempty" xml:"current,omitempty"` + Current *int64 `form:"current,omitempty" json:"current,omitempty" xml:"current,omitempty"` + Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` } // ShowNotFoundResponseBody is the type of the "pipeline" service "show" @@ -58,7 +59,8 @@ type EnduroStoredPipelineResponse struct { // Maximum concurrent transfers Capacity *int64 `form:"capacity,omitempty" json:"capacity,omitempty" xml:"capacity,omitempty"` // Current transfers - Current *int64 `form:"current,omitempty" json:"current,omitempty" xml:"current,omitempty"` + Current *int64 `form:"current,omitempty" json:"current,omitempty" xml:"current,omitempty"` + Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` } // NewListEnduroStoredPipelineOK builds a "pipeline" service "list" endpoint @@ -80,6 +82,7 @@ func NewShowEnduroStoredPipelineOK(body *ShowResponseBody) *pipelineviews.Enduro Name: body.Name, Capacity: body.Capacity, Current: body.Current, + Status: body.Status, } return v diff --git a/internal/api/gen/http/pipeline/server/encode_decode.go b/internal/api/gen/http/pipeline/server/encode_decode.go index 8ff2a4cc..355b75c3 100644 --- a/internal/api/gen/http/pipeline/server/encode_decode.go +++ b/internal/api/gen/http/pipeline/server/encode_decode.go @@ -12,6 +12,7 @@ import ( "context" "errors" "net/http" + "strconv" pipeline "github.com/artefactual-labs/enduro/internal/api/gen/pipeline" pipelineviews "github.com/artefactual-labs/enduro/internal/api/gen/pipeline/views" @@ -36,13 +37,28 @@ func EncodeListResponse(encoder func(context.Context, http.ResponseWriter) goaht func DecodeListRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (any, error) { return func(r *http.Request) (any, error) { var ( - name *string + name *string + status bool + err error ) nameRaw := r.URL.Query().Get("name") if nameRaw != "" { name = &nameRaw } - payload := NewListPayload(name) + { + statusRaw := r.URL.Query().Get("status") + if statusRaw != "" { + v, err2 := strconv.ParseBool(statusRaw) + if err2 != nil { + err = goa.MergeErrors(err, goa.InvalidFieldTypeError("status", statusRaw, "boolean")) + } + status = v + } + } + if err != nil { + return nil, err + } + payload := NewListPayload(name, status) return payload, nil } @@ -181,6 +197,7 @@ func marshalPipelineEnduroStoredPipelineToEnduroStoredPipelineResponse(v *pipeli Name: v.Name, Capacity: v.Capacity, Current: v.Current, + Status: v.Status, } return res diff --git a/internal/api/gen/http/pipeline/server/types.go b/internal/api/gen/http/pipeline/server/types.go index c597f027..3c35a276 100644 --- a/internal/api/gen/http/pipeline/server/types.go +++ b/internal/api/gen/http/pipeline/server/types.go @@ -27,7 +27,8 @@ type ShowResponseBody struct { // Maximum concurrent transfers Capacity *int64 `form:"capacity,omitempty" json:"capacity,omitempty" xml:"capacity,omitempty"` // Current transfers - Current *int64 `form:"current,omitempty" json:"current,omitempty" xml:"current,omitempty"` + Current *int64 `form:"current,omitempty" json:"current,omitempty" xml:"current,omitempty"` + Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` } // ShowNotFoundResponseBody is the type of the "pipeline" service "show" @@ -57,7 +58,8 @@ type EnduroStoredPipelineResponse struct { // Maximum concurrent transfers Capacity *int64 `form:"capacity,omitempty" json:"capacity,omitempty" xml:"capacity,omitempty"` // Current transfers - Current *int64 `form:"current,omitempty" json:"current,omitempty" xml:"current,omitempty"` + Current *int64 `form:"current,omitempty" json:"current,omitempty" xml:"current,omitempty"` + Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` } // NewListResponseBody builds the HTTP response body from the result of the @@ -78,6 +80,7 @@ func NewShowResponseBody(res *pipelineviews.EnduroStoredPipelineView) *ShowRespo Name: *res.Name, Capacity: res.Capacity, Current: res.Current, + Status: res.Status, } return body } @@ -103,9 +106,10 @@ func NewProcessingNotFoundResponseBody(res *pipeline.PipelineNotFound) *Processi } // NewListPayload builds a pipeline service list endpoint payload. -func NewListPayload(name *string) *pipeline.ListPayload { +func NewListPayload(name *string, status bool) *pipeline.ListPayload { v := &pipeline.ListPayload{} v.Name = name + v.Status = status return v } diff --git a/internal/api/gen/pipeline/service.go b/internal/api/gen/pipeline/service.go index 9fb447b3..a4cd7bd9 100644 --- a/internal/api/gen/pipeline/service.go +++ b/internal/api/gen/pipeline/service.go @@ -44,11 +44,13 @@ type EnduroStoredPipeline struct { Capacity *int64 // Current transfers Current *int64 + Status *string } // ListPayload is the payload type of the pipeline service list method. type ListPayload struct { - Name *string + Name *string + Status bool } // Pipeline not found. @@ -110,6 +112,7 @@ func newEnduroStoredPipeline(vres *pipelineviews.EnduroStoredPipelineView) *Endu ID: vres.ID, Capacity: vres.Capacity, Current: vres.Current, + Status: vres.Status, } if vres.Name != nil { res.Name = *vres.Name @@ -125,6 +128,7 @@ func newEnduroStoredPipelineView(res *EnduroStoredPipeline) *pipelineviews.Endur Name: &res.Name, Capacity: res.Capacity, Current: res.Current, + Status: res.Status, } return vres } diff --git a/internal/api/gen/pipeline/views/view.go b/internal/api/gen/pipeline/views/view.go index b5706851..866fb01b 100644 --- a/internal/api/gen/pipeline/views/view.go +++ b/internal/api/gen/pipeline/views/view.go @@ -31,6 +31,7 @@ type EnduroStoredPipelineView struct { Capacity *int64 // Current transfers Current *int64 + Status *string } var ( @@ -42,6 +43,7 @@ var ( "name", "capacity", "current", + "status", }, } ) diff --git a/internal/pipeline/pipeline.go b/internal/pipeline/pipeline.go index 0d9ac6c3..ae13ff81 100644 --- a/internal/pipeline/pipeline.go +++ b/internal/pipeline/pipeline.go @@ -11,6 +11,7 @@ import ( "os/user" "path/filepath" "strings" + "sync" "time" "github.com/go-logr/logr" @@ -50,6 +51,11 @@ type Pipeline struct { // The underlying HTTP client used by amclient. client *http.Client + + // Pipeline status. + status string + statusUpdatedAt time.Time + statusLock sync.RWMutex } func NewPipeline(logger logr.Logger, config Config) (*Pipeline, error) { @@ -108,12 +114,12 @@ func (p *Pipeline) init() error { } // Client returns the Archivematica API client ready for use. -func (p Pipeline) Client() *amclient.Client { +func (p *Pipeline) Client() *amclient.Client { return amclient.NewClient(p.client, p.config.BaseURL, p.config.User, p.config.Key) } // SSAccess returns the URL and user:key pair needed to access Storage Service. -func (p Pipeline) SSAccess() (*url.URL, string, error) { +func (p *Pipeline) SSAccess() (*url.URL, string, error) { if p.config.StorageServiceURL == "" { return nil, "", errors.New("error parsing storageServiceURL: it is empty") } @@ -133,14 +139,14 @@ func (p Pipeline) SSAccess() (*url.URL, string, error) { } // TempFile creates a temporary file in the processing directory. -func (p Pipeline) TempFile(pattern string) (*os.File, error) { +func (p *Pipeline) TempFile(pattern string) (*os.File, error) { if pattern == "" { pattern = "blob-*" } return os.CreateTemp(p.config.ProcessingDir, pattern) } -func (p Pipeline) Config() *Config { +func (p *Pipeline) Config() *Config { return p.config } @@ -165,6 +171,34 @@ func (p *Pipeline) Capacity() (size, cur int64) { return p.sem.Capacity() } +// loadStatus looks up the status of the pipeline using the HTTP client. +// TODO: find a better way to ping the API. +func (p *Pipeline) loadStatus(ctx context.Context) string { + _, _, err := p.Client().ProcessingConfig.List(ctx) + if err != nil { + return "unavailable" + } + return "active" +} + +func (p *Pipeline) Status(ctx context.Context) string { + const ttl = time.Second * 10 + p.statusLock.RLock() + if time.Since(p.statusUpdatedAt) < ttl { + status := p.status + p.statusLock.RUnlock() + return status + } + p.statusLock.RUnlock() + p.statusLock.Lock() + defer p.statusLock.Unlock() + if time.Since(p.statusUpdatedAt) >= ttl { + p.status = p.loadStatus(ctx) + p.statusUpdatedAt = time.Now() + } + return p.status +} + func httpClient() *http.Client { const ( dialTimeout = 5 * time.Second diff --git a/internal/pipeline/service.go b/internal/pipeline/service.go index aecb1c7f..7bc33197 100644 --- a/internal/pipeline/service.go +++ b/internal/pipeline/service.go @@ -2,6 +2,8 @@ package pipeline import ( "context" + "sync" + "time" "github.com/go-logr/logr" @@ -32,6 +34,8 @@ func (w *pipelineImpl) List(ctx context.Context, payload *goapipeline.ListPayloa pipelines := w.registry.List() results := make([]*goapipeline.EnduroStoredPipeline, 0, len(pipelines)) + var wg sync.WaitGroup + for _, p := range pipelines { c := p.Config() size, cur := p.Capacity() @@ -43,9 +47,21 @@ func (w *pipelineImpl) List(ctx context.Context, payload *goapipeline.ListPayloa if p.ID != "" { r.ID = &p.ID } + if payload.Status { + wg.Add(1) + go func(p *Pipeline, r *goapipeline.EnduroStoredPipeline) { + defer wg.Done() + ctx, cancel := context.WithTimeout(ctx, time.Second) + defer cancel() + status := p.Status(ctx) + r.Status = &status + }(p, r) + } results = append(results, r) } + wg.Wait() + return results, nil } diff --git a/ui/src/openapi-generator/apis/PipelineApi.ts b/ui/src/openapi-generator/apis/PipelineApi.ts index 23db9b77..7a92c5cb 100644 --- a/ui/src/openapi-generator/apis/PipelineApi.ts +++ b/ui/src/openapi-generator/apis/PipelineApi.ts @@ -31,6 +31,7 @@ import { export interface PipelineListRequest { name?: string; + status?: boolean; } export interface PipelineProcessingRequest { @@ -57,6 +58,10 @@ export class PipelineApi extends runtime.BaseAPI { queryParameters['name'] = requestParameters.name; } + if (requestParameters.status !== undefined) { + queryParameters['status'] = requestParameters.status; + } + const headerParameters: runtime.HTTPHeaders = {}; const response = await this.request({ diff --git a/ui/src/openapi-generator/models/EnduroCollectionWorkflowHistoryResponseBody.ts b/ui/src/openapi-generator/models/EnduroCollectionWorkflowHistoryResponseBody.ts index 44c27403..8df48ed3 100644 --- a/ui/src/openapi-generator/models/EnduroCollectionWorkflowHistoryResponseBody.ts +++ b/ui/src/openapi-generator/models/EnduroCollectionWorkflowHistoryResponseBody.ts @@ -21,10 +21,10 @@ import { exists, mapValues } from '../runtime'; export interface EnduroCollectionWorkflowHistoryResponseBody { /** * Contents of the event - * @type {object} + * @type {Blob} * @memberof EnduroCollectionWorkflowHistoryResponseBody */ - details?: object; + details?: Blob; /** * Identifier of collection * @type {number} diff --git a/ui/src/openapi-generator/models/EnduroStoredPipelineResponse.ts b/ui/src/openapi-generator/models/EnduroStoredPipelineResponse.ts index 1e26599c..c0aa1851 100644 --- a/ui/src/openapi-generator/models/EnduroStoredPipelineResponse.ts +++ b/ui/src/openapi-generator/models/EnduroStoredPipelineResponse.ts @@ -43,6 +43,12 @@ export interface EnduroStoredPipelineResponse { * @memberof EnduroStoredPipelineResponse */ name: string; + /** + * + * @type {string} + * @memberof EnduroStoredPipelineResponse + */ + status?: string; } export function EnduroStoredPipelineResponseFromJSON(json: any): EnduroStoredPipelineResponse { @@ -59,6 +65,7 @@ export function EnduroStoredPipelineResponseFromJSONTyped(json: any, ignoreDiscr 'current': !exists(json, 'current') ? undefined : json['current'], 'id': !exists(json, 'id') ? undefined : json['id'], 'name': json['name'], + 'status': !exists(json, 'status') ? undefined : json['status'], }; } @@ -75,6 +82,7 @@ export function EnduroStoredPipelineResponseToJSON(value?: EnduroStoredPipelineR 'current': value.current, 'id': value.id, 'name': value.name, + 'status': value.status, }; } diff --git a/ui/src/openapi-generator/models/PipelineShowResponseBody.ts b/ui/src/openapi-generator/models/PipelineShowResponseBody.ts index 3f8f4f97..159775a2 100644 --- a/ui/src/openapi-generator/models/PipelineShowResponseBody.ts +++ b/ui/src/openapi-generator/models/PipelineShowResponseBody.ts @@ -43,6 +43,12 @@ export interface PipelineShowResponseBody { * @memberof PipelineShowResponseBody */ name: string; + /** + * + * @type {string} + * @memberof PipelineShowResponseBody + */ + status?: string; } export function PipelineShowResponseBodyFromJSON(json: any): PipelineShowResponseBody { @@ -59,6 +65,7 @@ export function PipelineShowResponseBodyFromJSONTyped(json: any, ignoreDiscrimin 'current': !exists(json, 'current') ? undefined : json['current'], 'id': !exists(json, 'id') ? undefined : json['id'], 'name': json['name'], + 'status': !exists(json, 'status') ? undefined : json['status'], }; } @@ -75,6 +82,7 @@ export function PipelineShowResponseBodyToJSON(value?: PipelineShowResponseBody 'current': value.current, 'id': value.id, 'name': value.name, + 'status': value.status, }; } diff --git a/ui/src/store/pipeline/index.ts b/ui/src/store/pipeline/index.ts index 37724551..4af6ad39 100644 --- a/ui/src/store/pipeline/index.ts +++ b/ui/src/store/pipeline/index.ts @@ -44,8 +44,7 @@ const getters: GetterTree = { const actions: ActionTree = { [SEARCH_PIPELINE]({ commit }, id): Promise { - const request: api.PipelineShowRequest = { id }; - return EnduroPipelineClient.pipelineShow(request).then((response: api.PipelineShowResponseBody) => { + return EnduroPipelineClient.pipelineShow({ id }).then((response: api.PipelineShowResponseBody) => { commit(SET_PIPELINE_RESULT, response); commit(SET_PIPELINE_ERROR, false); }).catch(() => { @@ -54,7 +53,8 @@ const actions: ActionTree = { }, [SEARCH_PIPELINES]({ commit }): Promise { - return EnduroPipelineClient.pipelineList({}).then((response) => { + return EnduroPipelineClient.pipelineList({ status: true }).then((response) => { + console.log(response); commit(SET_SEARCH_RESULTS, response); commit(SET_PIPELINE_ERROR, false); }).catch((err) => { diff --git a/ui/src/views/PipelineList.vue b/ui/src/views/PipelineList.vue index 60387db5..1974708c 100644 --- a/ui/src/views/PipelineList.vue +++ b/ui/src/views/PipelineList.vue @@ -28,7 +28,10 @@ {{ item.name }} {{ item.current }} / {{ item.capacity }} - N / A + + {{ item.status.toUpperCase() }} + {{ item.status.toUpperCase() }} + @@ -67,22 +70,21 @@ export default class PipelineList extends Vue { @pipelineStoreNs.Action(PipelineStore.SEARCH_PIPELINES) private search: any; + private timer? : number; + private created() { this.search(); + this.timer = setInterval(() => { + this.search(); + }, 5000) } - /** - * Perform same search re-using all existing state. - */ - private retryButtonClicked() { - this.search(); + private beforeDestroy() { + clearInterval(this.timer); } - /** - * Forward user to the pipeline route. - */ - private rowClicked(id: string) { - this.$router.push({ name: 'pipeline', params: {id} }); + private retryButtonClicked() { + this.search(); } }