http
POST /projects/{project_reference}/uploads/download-urlsSign download URLs for up to 20 uploads at once and report a status for each upload that is missing or denied. Requires project.uploads.read.
Servers
JSON
1[2 {3 "url": "https://api.veryfront.com"4 }5]Authentication
JSON
1[2 {3 "bearerAuth": []4 },5 {6 "apiKeyAuth": []7 }8]JSON
1{2 "bearerAuth": {3 "type": "http",4 "scheme": "bearer",5 "bearerFormat": "JWT or API Key",6 "description": "Use a JWT bearer token or a Veryfront API key in the `Authorization` header."7 },8 "apiKeyAuth": {9 "type": "apiKey",10 "in": "header",11 "name": "X-API-Key",12 "description": "Alternative API key header for `vf_<prefix>_<secret>` tokens."13 }14}Parameters
| Name | Location | Required | Description |
|---|---|---|---|
| project_reference | path | Yes | Project slug, UUID, or domain that identifies the project. |
Parameter contracts
JSON
1[2 {3 "schema": {4 "$ref": "#/components/schemas/ProjectReference"5 },6 "required": true,7 "description": "Project slug, UUID, or domain that identifies the project.",8 "name": "project_reference",9 "in": "path"10 }11]Request body
JSON
1{2 "required": true,3 "content": {4 "application/json": {5 "schema": {6 "type": "object",7 "properties": {8 "upload_references": {9 "type": "array",10 "items": {11 "type": "string",12 "minLength": 113 },14 "minItems": 1,15 "maxItems": 20,16 "description": "Up to 20 upload UUIDs or project-relative file paths, signed in input order. Each upload retains its read-access check."17 },18 "ttl_seconds": {19 "type": "number",20 "minimum": 60,21 "maximum": 86400,22 "description": "Requested lifetime in seconds. Private uploads are capped at 1800 seconds; public uploads at 86400 seconds."23 },24 "ttl": {25 "type": "number",26 "minimum": 60,27 "maximum": 86400,28 "description": "Another spelling of ttl_seconds. Send one of the two."29 }30 },31 "required": [32 "upload_references"33 ]34 }35 }36 }37}Responses
200
Per-upload signing results.
JSON
1{2 "description": "Per-upload signing results.",3 "content": {4 "application/json": {5 "schema": {6 "type": "object",7 "properties": {8 "data": {9 "type": "array",10 "items": {11 "oneOf": [12 {13 "type": "object",14 "properties": {15 "signed_url": {16 "type": "string",17 "description": "Temporary cloud-storage download URL."18 },19 "expires_at": {20 "type": "string",21 "description": "URL expiration timestamp. Private files expire after 30 minutes; public files after 24 hours."22 },23 "upload_reference": {24 "type": "string"25 },26 "status": {27 "type": "number",28 "enum": [29 20030 ],31 "description": "Signed successfully. Missing and denied uploads instead return individual 404 or 403 statuses."32 }33 },34 "required": [35 "signed_url",36 "expires_at",37 "upload_reference",38 "status"39 ]40 },41 {42 "type": "object",43 "properties": {44 "upload_reference": {45 "type": "string"46 },47 "status": {48 "type": "number",49 "enum": [50 40351 ]52 },53 "error": {54 "type": "string"55 }56 },57 "required": [58 "upload_reference",59 "status",60 "error"61 ]62 },63 {64 "type": "object",65 "properties": {66 "upload_reference": {67 "type": "string"68 },69 "status": {70 "type": "number",71 "enum": [72 40473 ]74 },75 "error": {76 "type": "string"77 }78 },79 "required": [80 "upload_reference",81 "status",82 "error"83 ]84 }85 ]86 }87 }88 },89 "required": [90 "data"91 ]92 }93 }94 }95}400
Invalid batch
JSON
1{2 "description": "Invalid batch",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}401
Unauthorized
JSON
1{2 "description": "Unauthorized",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}403
Project read access denied
JSON
1{2 "description": "Project read access denied",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}404
Project not found
JSON
1{2 "description": "Project not found",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}500
Unexpected storage failure; the request fails
JSON
1{2 "description": "Unexpected storage failure; the request fails",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}Referenced contracts
components/parameters/ProjectReference
JSON
1{2 "schema": {3 "$ref": "#/components/schemas/ProjectReference"4 },5 "required": true,6 "description": "Project slug, UUID, or domain that identifies the project.",7 "name": "project_reference",8 "in": "path"9}components/schemas/ProjectReference
JSON
1{2 "type": "string"3}components/schemas/Problem
JSON
1{2 "type": "object",3 "properties": {4 "cause": {5 "type": "string",6 "enum": [7 "schedule_concurrency_forbidden",8 "schedule_fire_in_progress",9 "schedule_run_limit_reached"10 ],11 "description": "Schedule admission refusal."12 },13 "idempotency": {14 "type": "object",15 "properties": {16 "state": {17 "type": "string",18 "enum": [19 "in_progress",20 "payload_mismatch",21 "outcome_unknown"22 ]23 },24 "operation": {25 "type": "string",26 "minLength": 127 },28 "retryable": {29 "type": "boolean"30 },31 "retry_after_seconds": {32 "type": [33 "integer",34 "null"35 ],36 "minimum": 037 },38 "expires_at": {39 "type": [40 "string",41 "null"42 ]43 },44 "recovery": {45 "type": "object",46 "properties": {47 "available": {48 "type": "boolean"49 },50 "description": {51 "type": "string"52 },53 "resource_url": {54 "type": "string"55 }56 },57 "required": [58 "available",59 "description"60 ]61 }62 },63 "required": [64 "state",65 "operation",66 "retryable",67 "retry_after_seconds",68 "expires_at"69 ],70 "description": "Replay status, retry timing, and recovery lookup."71 },72 "type": {73 "type": "string",74 "description": "URI reference identifying the problem type",75 "example": "https://api.veryfront.com/errors/validation-failed"76 },77 "title": {78 "type": "string",79 "description": "Short human-readable summary of the problem",80 "example": "Validation Failed"81 },82 "status": {83 "type": "integer",84 "minimum": 100,85 "maximum": 599,86 "description": "HTTP status code",87 "example": 40088 },89 "code": {90 "type": "string",91 "description": "Stable machine-readable error code",92 "example": "RUN_INVALID_INPUT"93 },94 "detail": {95 "type": "string",96 "description": "Human-readable explanation specific to this occurrence",97 "example": "The 'email' field must be a valid email address"98 },99 "instance": {100 "type": "string",101 "description": "URI reference identifying the specific occurrence",102 "example": "/projects/my-project/members"103 },104 "slug": {105 "type": "string",106 "description": "Stable identifier for the problem type",107 "example": "validation-failed"108 },109 "category": {110 "type": "string",111 "enum": [112 "AUTH",113 "RESOURCE",114 "VALIDATION",115 "DATABASE",116 "SUBSCRIPTION",117 "INTEGRATION",118 "INTERNAL"119 ],120 "description": "API error category",121 "example": "VALIDATION"122 },123 "suggestion": {124 "type": "string",125 "description": "Suggested action to resolve the problem",126 "example": "Check the request body and query parameters against the API documentation."127 },128 "errors": {129 "type": "array",130 "items": {131 "type": "object",132 "properties": {133 "field": {134 "type": "string",135 "description": "Field path that caused the error",136 "example": "email"137 },138 "message": {139 "type": "string",140 "description": "Error message for this field",141 "example": "Invalid email format"142 },143 "code": {144 "type": "string",145 "description": "Error code for this field",146 "example": "INVALID_FORMAT"147 }148 },149 "required": [150 "field",151 "message"152 ]153 },154 "description": "Detailed field-level errors for validation failures"155 }156 },157 "required": [158 "type",159 "title",160 "status"161 ]162}Operation contract
JSON
1{2 "operationId": "listUploadDownloadUrls",3 "tags": [4 "projects/Uploads/Project Uploads"5 ],6 "summary": "List upload download URLs",7 "description": "Sign download URLs for up to 20 uploads at once and report a status for each upload that is missing or denied. Requires project.uploads.read.",8 "parameters": [9 {10 "$ref": "#/components/parameters/ProjectReference"11 }12 ],13 "requestBody": {14 "required": true,15 "content": {16 "application/json": {17 "schema": {18 "type": "object",19 "properties": {20 "upload_references": {21 "type": "array",22 "items": {23 "type": "string",24 "minLength": 125 },26 "minItems": 1,27 "maxItems": 20,28 "description": "Up to 20 upload UUIDs or project-relative file paths, signed in input order. Each upload retains its read-access check."29 },30 "ttl_seconds": {31 "type": "number",32 "minimum": 60,33 "maximum": 86400,34 "description": "Requested lifetime in seconds. Private uploads are capped at 1800 seconds; public uploads at 86400 seconds."35 },36 "ttl": {37 "type": "number",38 "minimum": 60,39 "maximum": 86400,40 "description": "Another spelling of ttl_seconds. Send one of the two."41 }42 },43 "required": [44 "upload_references"45 ]46 }47 }48 }49 },50 "responses": {51 "200": {52 "description": "Per-upload signing results.",53 "content": {54 "application/json": {55 "schema": {56 "type": "object",57 "properties": {58 "data": {59 "type": "array",60 "items": {61 "oneOf": [62 {63 "type": "object",64 "properties": {65 "signed_url": {66 "type": "string",67 "description": "Temporary cloud-storage download URL."68 },69 "expires_at": {70 "type": "string",71 "description": "URL expiration timestamp. Private files expire after 30 minutes; public files after 24 hours."72 },73 "upload_reference": {74 "type": "string"75 },76 "status": {77 "type": "number",78 "enum": [79 20080 ],81 "description": "Signed successfully. Missing and denied uploads instead return individual 404 or 403 statuses."82 }83 },84 "required": [85 "signed_url",86 "expires_at",87 "upload_reference",88 "status"89 ]90 },91 {92 "type": "object",93 "properties": {94 "upload_reference": {95 "type": "string"96 },97 "status": {98 "type": "number",99 "enum": [100 403101 ]102 },103 "error": {104 "type": "string"105 }106 },107 "required": [108 "upload_reference",109 "status",110 "error"111 ]112 },113 {114 "type": "object",115 "properties": {116 "upload_reference": {117 "type": "string"118 },119 "status": {120 "type": "number",121 "enum": [122 404123 ]124 },125 "error": {126 "type": "string"127 }128 },129 "required": [130 "upload_reference",131 "status",132 "error"133 ]134 }135 ]136 }137 }138 },139 "required": [140 "data"141 ]142 }143 }144 }145 },146 "400": {147 "description": "Invalid batch",148 "content": {149 "application/problem+json": {150 "schema": {151 "$ref": "#/components/schemas/Problem"152 }153 }154 }155 },156 "401": {157 "description": "Unauthorized",158 "content": {159 "application/problem+json": {160 "schema": {161 "$ref": "#/components/schemas/Problem"162 }163 }164 }165 },166 "403": {167 "description": "Project read access denied",168 "content": {169 "application/problem+json": {170 "schema": {171 "$ref": "#/components/schemas/Problem"172 }173 }174 }175 },176 "404": {177 "description": "Project not found",178 "content": {179 "application/problem+json": {180 "schema": {181 "$ref": "#/components/schemas/Problem"182 }183 }184 }185 },186 "500": {187 "description": "Unexpected storage failure; the request fails",188 "content": {189 "application/problem+json": {190 "schema": {191 "$ref": "#/components/schemas/Problem"192 }193 }194 }195 }196 },197 "x-documentation-source-tag": "Project Uploads",198 "x-canonical-documentation": {199 "domain": "projects",200 "resource": "Uploads",201 "subgroup": "Project Uploads",202 "name": "List upload download URLs",203 "description": "Sign download URLs for up to 20 uploads at once and report a status for each upload that is missing or denied. Requires project.uploads.read.",204 "operationId": "listUploadDownloadUrls"205 },206 "x-mint": {207 "href": "/cloud/rest/api-reference/projects-uploads-project-uploads/list-upload-download-urls"208 }209}