Label in Fledge: Base64Files: Holds Base64 encoded files, their filename and mime type.

URLhttps://odata-api.fledge.nl/v2-8/Base64Files
Keybase_64_file_id
AdministrationShared by all administrations.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASISBASISAPP
Write licensesBEHEER
ScopesFLEDGE_PORTAL

Example requests

A page of rows, with only the fields you need. See Authentication for the token.

curl -G "https://odata-api.fledge.nl/v2-8/Base64Files" \
  --data-urlencode '$select=base_64_file_id,file_name,mime_type,file' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/Base64Files');
url.searchParams.set('$select', 'base_64_file_id,file_name,mime_type,file');
url.searchParams.set('$top', '50');

const response = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const { value } = await response.json();
var url = "https://odata-api.fledge.nl/v2-8/Base64Files" + "?" + string.Join("&",
    "$select=" + Uri.EscapeDataString("base_64_file_id,file_name,mime_type,file"),
    "$top=" + Uri.EscapeDataString("50"));

http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
var json = await http.GetStringAsync(url);

One row by its key:

GET https://odata-api.fledge.nl/v2-8/Base64Files({base_64_file_id})

Fields

FieldTypeDescription
base_64_file_idkeyInt64Volgnummer
mime_typeStringMIMETypeMain
fileStringFile
file_nameStringFilename: File name
Wingman