Skip to content

Set asset zone

POST /agentcore/<agentcoreId>/pull-and-update

Description

Pull and update Docker images on the appliance.

This requires the Remote Appliance (RAPP) to be installed and connected. Use query-agentcores to find if RAPP is connected.

Path parameters

Param Description
agentcoreId Agentcore Id.

Query parameters

none

Body

none

Return codes

Error code Reason
204 Success.
400 Invalid body.
401 Invalid or missing token.
403 Insufficient permissions (required: API+CORE_CONNECT).
404 Agentcore not found.
500 RAPP Error.
503 Remote appliance (RAPP) can be in state: busy, agentcore not connected or rapp not connected. All states may be temporary and can be tried again.

Example

Curl request:

curl \
    -X POST 'https://api.infrasonar.com/agentcore/123/pull-and-update' \
    -H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'