Fetch information about a single file.
OK
const response = await fetch('api.rair.market/api/files/byId/{mediaId}', { method: 'GET', headers: {}, }); const data = await response.json();
Update access information about a single file.
const response = await fetch('api.rair.market/api/files/byId/{mediaId}', { method: 'PUT', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();