201 for created instance, 200 for attached instance

This commit is contained in:
Jordan Brown
2018-08-20 17:56:30 -04:00
parent 24bc566dc2
commit 52487ce7f5
2 changed files with 10 additions and 4 deletions
+2
View File
@@ -186,6 +186,8 @@ Instances are DreamDaemon server configurations, they live in their own director
PUT "/Instance" @ref Tgstation.Server.Api.Models.Instance => @ref Tgstation.Server.Api.Models.Instance
This normally returns 201 BUT, in the case of attaching an existing instance, 200 will instead be returned
The user that creates an instance will be given full @ref Tgstation.Server.Api.Models.InstanceUser permission. The path must not exist at the time of creation. Support for attaching instances from backups is yet to come.
A specific Instance may be retrieved with: