{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/open-data:asu-research-data/search":{"get":{"operationId":"open_data_asu_research_data_search","summary":"Search","description":"Search datasets, files and collections in the repository.","tags":["open-data"],"parameters":[{"name":"query","in":"query","required":false,"description":"Search words; * for everything","schema":{"type":"string","default":"*","description":"Search words; * for everything"},"example":"climate"},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["dataset","file","dataverse"],"default":"dataset"}},{"name":"limit","in":"query","required":false,"description":"Number of results","schema":{"type":"integer","default":10,"minimum":1,"maximum":1000,"description":"Number of results"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"minimum":0}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["name","date"],"default":"date"}},{"name":"order","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"default":"desc"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":900,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:asu-research-data/dataset":{"get":{"operationId":"open_data_asu_research_data_dataset","summary":"Dataset","description":"Metadata of the latest published version of a dataset (citation, keywords, license, files).","tags":["open-data"],"parameters":[{"name":"persistentId","in":"query","required":true,"description":"DOI or handle, as shown in the search results (global_id)","schema":{"type":"string","description":"DOI or handle, as shown in the search results (global_id)"},"example":"doi:10.5072/FK2/EXAMPLE"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":3600,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:asu-research-data/files":{"get":{"operationId":"open_data_asu_research_data_files","summary":"Dataset files","description":"Files of the latest published version of a dataset, with ids, sizes, checksums and content types.","tags":["open-data"],"parameters":[{"name":"persistentId","in":"query","required":true,"description":"DOI or handle of the dataset","schema":{"type":"string","description":"DOI or handle of the dataset"},"example":"doi:10.5072/FK2/EXAMPLE"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":3600,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:asu-research-data/info":{"get":{"operationId":"open_data_asu_research_data_info","summary":"Repository info","description":"Dataverse software version of this repository.","tags":["open-data"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":86400,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}