The file of an export
const url = 'https://beta-api.plune.ai/v1/companies/example/audit-exports/example';const options = {method: 'GET', headers: {cookie: 'plune_session=<plune_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://beta-api.plune.ai/v1/companies/example/audit-exports/example \ --cookie plune_session=<plune_session>JSON Lines (application/x-ndjson) or CSV (text/csv, a header row; a cell a spreadsheet would read as a formula starts with '), as an attachment. The fields of a line: source (project or company), id, at, projectId, entity, entityId, action, actorType, actorId, sessionHash, diff, meta - a company entry has no project, entity, actor type, session or diff. 30 a minute. The owner and the managers of the company (ADR 0079 Р261 А), the session alone; the file holds the log of EVERY project of the company, the ones the caller is not a member of too. A company without Enterprise in active or grace is refused 403 enterprise_required.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”The file
Example generated
exampleNo session
object
Example generated
{ "error": "example"}Not the owner or a manager, or no Enterprise
object
Example generated
{ "error": "example"}No such export of the company, or a company the caller is not in
object
Example generated
{ "error": "example"}The file is still being made
object
Example generated
{ "error": "example"}The file is no longer kept (a day): export the period again
object
Example generated
{ "error": "example"}Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.
object
Example generated
{ "error": "example"}Headers
Section titled “Headers ”Seconds until the window rolls over