Snapshots

Restore a snapshot

Changed on

Restores project snapshot to a project copy. Requires Manage settings admin right and Admin role in the team.

Requires <code>write_snapshots</code> OAuth access scope.

post/projects/{project_id}/snapshots/{snapshot_id}

Request

  • Base URL
    https://api.lokalise.com/api2
  • URL
    https://api.lokalise.com/api2/projects/{project_id}/snapshots/{snapshot_id}
  • Auth
    API key in header X-Api-Token

Path parameters

project_idstring required

A unique project identifier

snapshot_idnumber required

A unique identifier of the snapshot.

Response

OK

project_idstring

A unique project identifier.

project_typestring

Project type descriptor. Allowed values are <code>localization_files</code> or <code>paged_documents</code>.

namestring

Project name.

descriptionstring

Description of the project.

created_atstring

Date of project creation.

created_at_timestampnumber

Unix timestamp when project was created.

created_bynumber

An identifier of a user who has created the project.

created_by_emailstring

An e-mail of a user who has created the project.

team_idnumber

A unique identifier of the team, the project belongs to.

base_language_idnumber

A unique identifier of the project default language.

base_language_isostring

A language/locale code of the project default language.

Changes

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status