1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-29 18:28:11 +00:00

Correct typo "Snasphot"

This commit is contained in:
Brian Candler 2020-04-15 09:46:45 +01:00
parent 2606c2d9a7
commit 69986b0d0f
4 changed files with 8 additions and 8 deletions

View File

@ -13,7 +13,7 @@ Parameters
Response status codes
**********************
- **201**: Snasphot created
- **201**: Snapshot created
- **404**: The project doesn't exist
Input
@ -54,7 +54,7 @@ Parameters
Response status codes
**********************
- **200**: Snasphot list returned
- **200**: Snapshot list returned
- **404**: The project doesn't exist
Sample session

View File

@ -10,7 +10,7 @@ Delete a snapshot from disk
Parameters
**********
- **project_id**: Project UUID
- **snapshot_id**: Snasphot UUID
- **snapshot_id**: Snapshot UUID
Response status codes
**********************

View File

@ -10,7 +10,7 @@ Restore a snapshot from disk
Parameters
**********
- **project_id**: Project UUID
- **snapshot_id**: Snasphot UUID
- **snapshot_id**: Snapshot UUID
Response status codes
**********************

View File

@ -40,7 +40,7 @@ class SnapshotHandler:
input=SNAPSHOT_CREATE_SCHEMA,
output=SNAPSHOT_OBJECT_SCHEMA,
status_codes={
201: "Snasphot created",
201: "Snapshot created",
404: "The project doesn't exist"
})
async def create(request, response):
@ -57,7 +57,7 @@ class SnapshotHandler:
"project_id": "Project UUID",
},
status_codes={
200: "Snasphot list returned",
200: "Snapshot list returned",
404: "The project doesn't exist"
})
def list(request, response):
@ -71,7 +71,7 @@ class SnapshotHandler:
description="Delete a snapshot from disk",
parameters={
"project_id": "Project UUID",
"snapshot_id": "Snasphot UUID"
"snapshot_id": "Snapshot UUID"
},
status_codes={
204: "Changes have been written on disk",
@ -89,7 +89,7 @@ class SnapshotHandler:
description="Restore a snapshot from disk",
parameters={
"project_id": "Project UUID",
"snapshot_id": "Snasphot UUID"
"snapshot_id": "Snapshot UUID"
},
output=PROJECT_OBJECT_SCHEMA,
status_codes={