Reflecting config

GET /user/:user_code/sa/:sa_code/config/preview/:module_id/plain

Read Reflecting config (text format) of specified module

Detail

Request

No Parameters

Response

Body

Config (text)

Sample

Request

URL
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/sa/tss99990001/config/preview/0/plain

Response

Header
Content-Type: application/json
Body
hostname "sample"
interface lan0 add 192.168.0.1/24
interface lan1 add dhcp
route add default dhcp
telnetd enable

GET /user/:user_code/sa/:sa_code/config/preview/:module_id/binary

Read Reflecting config (binary format) of specified module

Detail

Request

No Parameters

Response

Header
Content-Type: application/octet-stream
Body

Config (binary)

Sample

Request

URL
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/sa/tss99990001/config/preview/0/binary

Response

Header
Content-Type: application/octet-stream
Body

Config (binary)