Groups

Add children to a group

Adds one or more child tracked sources (derivation schemes or other groups) to the specified group.

post/v1/groups/{groupId}/children

Path parameters

groupIdstring required

The unique identifier for the group.

Request body

trackedSourcestring required

The tracked source identifier, which can be a group or a derivation scheme.

cryptoCodestring

The cryptocurrency code associated with the tracked source (if applicable).

Example request

[
  {
    "trackedSource": "DERIVATIONSCHEME:tpubD6NzVbkrYhZ4W...",
    "cryptoCode": "BTC"
  }
]

Response

Children added to group successfully.

trackedSourcestring required

The tracked source identifier for the group, formatted as 'GROUP:{groupId}'. Used to reference the group within NBXplorer.

groupIdstring required

The unique identifier of the group.

Example response

{
  "trackedSource": "GROUP:6N23bHztah546P6xQT",
  "groupId": "6N23bHztah546P6xQT",
  "children": [
    {
      "trackedSource": "DERIVATIONSCHEME:tpubDC6xFicnheK85vUNGjegu4HuJGg8nPi...",
      "cryptoCode": "BTC"
    }
  ]
}

Changes

Changed in 3 of the 40 revisions of this API.34

  • cfaf4efd4ea823See the full diff
    • the code response's property type/format changed from integer/ to string/ for status 404

      response-property-type-changed

    • removed the required property error from the response with the 404 status

      response-required-property-removed

    • added the optional property httpCode to the response with the 404 status

      response-optional-property-added

    • added the optional property message to the response with the 404 status

      response-optional-property-added

    • added the optional property reason to the response with the 404 status

      response-optional-property-added

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog