Fetch information about a single file.
OK
Update access information about a single file.
const response = await fetch('api.rair.market/api/files/byId/{mediaId}', { method: 'GET', headers: {}, }); const data = await response.json();
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();