action biapi_get_banks_id_connector_connections {
label: "Get a subset of id_connection for a given bank. Different selection methode are possible"
description: "By default, it selects a set of 3 connections with the 'diversity' method
"
provider: biapi
method: GET
path: "/banks/{id_connector}/connections"
encoding: json
input: {
type: "object"
properties: {
expand: {
type: "string"
}
id_connector: {
type: "integer"
}
method: {
type: "string"
}
minutes_without_sync: {
type: "integer"
}
n: {
type: "integer"
}
occurences: {
type: "integer"
}
source: {
type: "string"
}
type: {
type: "integer"
}
}
required: ["id_connector"]
additionalProperties: false
}
output: {
type: "object"
required: ["connections"]
properties: {
connections: {
type: "array"
items: {
type: "object"
required: ["id", "id_connector", "active"]
properties: {
active: {
type: "boolean"
description: "This connection is active and will be automatically synced"
}
created: {
type: "string"
format: "date-time"
description: "Creation date"
}
id: {
type: "integer"
description: "ID of connection"
}
id_connector: {
type: "integer"
description: "ID of the related connector"
}
id_user: {
type: "integer"
description: "ID of the related user"
}
last_push: {
type: "string"
format: "date-time"
description: "Last successful push"
}
last_update: {
type: "string"
format: "date-time"
description: "Last successful update"
}
next_try: {
type: "string"
format: "date-time"
description: "Date of next synchronization"
}
}
}
}
total: {
type: "number"
description: "total number of results"
}
}
}
}