Node interface for the Lokalise APIv2.
View the Project on GitHub lokalise/node-lokalise-api
const snapshots = await lokaliseApi.snapshots().list({
project_id: project_id,
page: 2,
limit: 1,
});
snapshots.items[0].snapshot_id;
const snapshot = await lokaliseApi.snapshots().create({"title": "API snapshot"}, {project_id: project_id});
snapshot.snapshot_id;
const response = await lokaliseApi.snapshots().restore(snapshot_id, {project_id: project_id});
response.project_id;
const response = await lokaliseApi.snapshots().delete(snapshot_id, {project_id: project_id});
response.snapshot_deleted;