Skip to content

Get field values

getFieldValues

GET /api/v1/shares/{share_id}/field-values

Scope: foldr.readRate cost: 1

The custom field values on one file or folder

A field that holds several values appears once per value. The ETag header covers the whole set; send it back as If-None-Match for a 304 while nothing has changed.

Terminal window
curl "$FOLDR/api/v1/shares/$SHARE_ID/field-values" \
-H "Authorization: Bearer $TOKEN"

$FOLDR is your site’s address (for example https://files.example.com) and $TOKEN is an access token. See Getting access.

NameInTypeRequiredDescription
share_idpathstringYesThe share’s id.
pathquerystringNoPath of the file or folder.
StatusMeaningBody
200Every matching FieldValue.application/json: array of FieldValue
304If-None-Match named the values as they are now.none
HeaderDescription
ETagThe entity tag of what was answered. Send it back as If-None-Match for a 304 while it is unchanged, or as If-Match to change it only while it is unchanged.

A JSON array of FieldValue.

FieldTypeDescription
field_idstring (uuid)Required. The field’s id (see GET /fields).
valueanyRequired. The value: a string, number or boolean by the field’s type; a location is an object.
updated_atstring or null (date-time)Required. When it was last set (RFC 3339, UTC).
updated_byPerson or nullRequired. Who last set it, where known.

Example:

[
{
"field_id": "0191f2c4-8a1e-7b52-9d3a-5c1e0b7a4d21",
"value": "string",
"updated_at": "2026-11-04T09:30:00Z",
"updated_by": {
"id": "string",
"name": "string"
}
}
]
HeaderDescription
ETagThe entity tag of what was answered. Send it back as If-None-Match for a 304 while it is unchanged, or as If-Match to change it only while it is unchanged.

Every error is an application/problem+json document (ProblemDetails); branch on its type or code. See Errors.

StatusProblem typesWhen
400invalid-path
invalid-request
One of: Invalid path (invalid-path); Invalid request (invalid-request).
401invalid-tokenInvalid token (invalid-token).
403insufficient-scopeInsufficient scope (insufficient-scope).
404not-foundNot found (not-found).
409ambiguous-path
approved-version-unavailable
storage-account-not-connected
One of: Ambiguous path (ambiguous-path); Approved version unavailable (approved-version-unavailable); Storage account not connected (storage-account-not-connected).
429rate-limitedToo many requests (rate-limited).
500internal-errorInternal error (internal-error).
503share-unavailable
share-unreachable
One of: Share unavailable (share-unavailable); Share unreachable (share-unreachable).