Repos

Repos - Create

Creates a new Repo.

POST

https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/Repos

Parameters

Field
Label in UI
Type
Description

hiddenrepopath

Repo Path, Retention (day)

[json]

Consists information about path (string) assigned for the Repo and the retention (int) time for the data. Use Repos - ListRepoPaths API to obtain the value of the required Repo Path. Mandatory Field

name

Repo Name

String

Repo name. Mandatory Field

repoha

Remote LogPoint, Available for (day)

[json]

Lists the information for remote LogPoints. It contains following parameters: ha_li: remote LogPoint private IP (string) ha_day: retention days (int). Optional Field

Request Example

{
    "data": {
        "hiddenrepopath": [
            {
                "path": "/opt/immune/storage/",
                "retention": 36
            }
        ],
        "name": "test1",
        "repoha": [
            {
                "ha_day": 2,
                "ha_li": "10.218.261.2"
            }
        ]
    }
}

Success Response

Repos - Edit

Edits a Repo with given ID.

PUT

Parameters

Field
Label in UI
Type
Description

hiddenrepopath

Repo Path, Retention (day)

[json]

Consists information about path (string) assigned for the Repo and the retention (int) time for the data. Use Repos - ListRepoPaths API to obtain the value of the required Repo Path. Mandatory Field

id

-

String

Existing repo_id. Mandatory Field

repoha

Remote LogPoint, Available for (day)

[json]

Lists the information for remote LogPoints. It contains following parameters: ha_li: remote LogPoint private IP (string) ha_day: retention days (int). Optional Field

Request Example

Success Response

Repos - FetchRemoteRepos

Fetches all local and remote Repos.

POST

Request Example

Success Response

Repos - Get

Fetches the Repo with given ID.

GET

Parameters

Field
Label in UI
Type
Description

id

-

String

Existing Repo id.

Success Response

Repos - List

Lists all available Repos.

GET

Success Response

Repos - ListRepoPaths

Lists all allowed Repo Paths.

GET

Success Response

Repos - RefreshRepoPaths

Syncs LogPoint's Repo Path List to the current Repo Path list.

POST

Request Example

Success Response

Repos - Trash

Deletes a Repo with given ID.

DELETE

Parameters

Field
Label in UI
Type
Description

id

-

String

Existing Repo id. Mandatory Field

Success Response

Last updated

Was this helpful?