Client Registration

Create or update a client profile. The format of these profiles are detailed below.

PUT https://pbuild:24351/REST/register?appid=<appid>&timestamp=<timestamp>&hmac=<hmac>
RESPONSE { "status" : 0 }

Retrieve a client profile so that the client install can action the profile:

GET https://pbuild:24351/REST/register?appid=<appid>&timestamp=<timestamp>&hmac=<hmac>&profile=profile1
RESPONSE {"status": 0, "profile": [{"type": "settings", "fname": "/etc/pb.settings"}, {"sname": "networkencryption", "type": "save"}, {"sname": "restkeyencryption", "type": "save"}, {"sname": "sslservercertfile", "type": "save"}]}

Retrieve a client profile so that the client install can action the profile:

GET https://pbuild:24351/REST/register/file?appid=<appid>&timestamp=<timestamp>
&hmac=<hmac>&fname=%2fetc%2fpb%2esettings&index=0

RESPONSE

File attachment or {"status": 8110}

Retrieve a list of client profiles that match the given profile wildcard:

GET https://pbuild:24351/REST/register/profiles?appid=<appid>&timestamp=<timestamp>
&hmac=<hmac>&profile=prof%2A
RESPONSE {"status": 0, "profiles": [{"type": "settings", "fname": "/etc/pb.settings"}, {"sname": "networkencryption", "type": "save"}, {"sname": "restkeyencryption", "type": "save"}, {"sname": "sslservercertfile", "type": "save"}]}

Retrieve a client profile so that the client install can action the profile:

DELETE https://pbuild:24351/REST/register?appid=<appid>&timestamp=<timestamp>&hmac=<hmac>&profile=profile1
RESPONSE { "status" : 0 }