Rebuild Database (deprecated)
Rebuild Crafter Studio’s database and object state with the underlying repository.
Important
This API is deprecated and provided only as a reference. Please see rebuildDatabase for the current version.
Resource Information
This service uses the tomcat application on port 8080 by default. To see a list of default ports click here
The context for this API is /studio
, please prefix the API URLs with this context.
HTTP Verb
|
POST
|
URL
|
/api/1/services/api/1/repo/rebuild-database.json |
Response Formats
|
JSON |
Required Role
|
Admin, site member
|
Parameters
Name
|
Type
|
Required
|
Description
|
---|---|---|---|
site_id
|
String
|
✓
|
Site to use
|
Example
Request
POST .../api/1/services/api/1/repo/rebuild-database.json
{
"site_id" : "mysite"
}
Response
Status 200 OK
null
Responses
Status
|
Location
|
Response Body
|
---|---|---|
200
|
See example above.
|
|
400
|
{ "message" : "Bad Request" } |