project

Restore a resource from a cache revision

Restore a resource from a cache revision (overwrites current resource).

The current resource state is cached before overwriting (when present).

The resource query parameter selects which resource to restore.

Example flow:

  1. Current resource is in state A
  2. Call restore with a revision from state B
  3. Your current state A is cached (when present)
  4. Resource is now in state B
  5. To undo: restore from the newly created cache entry (your state A backup)
post/api/v1/project/cache/restore/{revision_id}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

revision_idstring required

Query parameters

resource'config.json' | 'mappings.json' required

Resources that can be cached and restored.

Cookies

fmu_settings_sessionstring nullable

Response

Successful Response

messagestring required

Changes

No recorded changes to this operation across all 6 revisions of this API.