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:
- Current resource is in state A
- Call restore with a revision from state B
- Your current state A is cached (when present)
- Resource is now in state B
- 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
Changes
No recorded changes to this operation across all 6 revisions of this API.