Show / Hide Table of Contents

Admin

Admin_PostSetAccess

Sets how accessible this server is.

Request
POST /api/v1/admin/set/access?authtoken&authtokentype[&value&password]
Parameters
Name Type Value Notes
value string

Can be 'public' (listed in server browser, no password), 'private' (listed in server browser, with password) or 'hidden' (unlisted, without password).

password string

If setting private, must set a password. If not set to private, this is unused.

*authtoken string

Eco user authentication token.

*authtokentype string

Eco user authentication token type.

Responses
Status Code Description Samples
200

Success

401

Unauthorized

403

Forbidden

Admin_GetGetAccess

Request
GET /api/v1/admin/get/access?authtoken&authtokentype
Parameters
Name Type Value Notes
*authtoken string

Eco user authentication token.

*authtokentype string

Eco user authentication token type.

Responses
Status Code Description Samples
200

Success

401

Unauthorized

403

Forbidden

Admin_PostSetServerName

Request
POST /api/v1/admin/set/servername?authtoken&authtokentype[&name]
Parameters
Name Type Value Notes
name string
*authtoken string

Eco user authentication token.

*authtokentype string

Eco user authentication token type.

Responses
Status Code Description Samples
200

Success

401

Unauthorized

403

Forbidden

Admin_GetGetServerName

Request
GET /api/v1/admin/get/servername
Responses
Status Code Description Samples
200

Success

Admin_PostGameExport

Request
POST /api/v1/admin/game/export?authtoken&authtokentype
Parameters
Name Type Value Notes
*authtoken string

Eco user authentication token.

*authtokentype string

Eco user authentication token type.

body
Responses
Status Code Description Samples
200

Success

401

Unauthorized

403

Forbidden

☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾