Dragon Family icon

Dragon Family

Interact with the Dragon Family API

Overview

The "List Todos" operation for the "Member" resource in this Dragon Family node retrieves a list of tasks (todos) assigned to a specific child (assignee) on a given date. This is useful for parents, guardians, or educators who want to track and manage daily tasks or responsibilities assigned to children within the Dragon Family system.

Practical examples:

  • A parent wants to see all chores or homework tasks assigned to their child for today.
  • An educator checks which activities are scheduled for a particular student on a specific date.
  • A guardian reviews completed and pending tasks for a child to monitor progress.

Properties

Name Meaning
Base URL The base URL for the Dragon Family API. Defaults to https://api.dragonfamily.com.
User Token Your API access token, sent as a Bearer token in the Authorization header for authentication.
Assignee The ID of the child (executor) whose todos you want to list.
Date The date to filter tasks by, formatted as YYYY-MM-DD.

Output

The output JSON contains an array of todo items filtered by the specified assignee and date. Each item represents a task assigned to the child on that day. The exact structure of each todo item is not detailed in the provided code, but typically it would include fields such as task name, description, status, due time, and possibly identifiers.

No binary data output is indicated for this operation.

Dependencies

  • Requires access to the Dragon Family API at the specified Base URL.
  • Requires a valid API access token for authorization, passed as a Bearer token in the HTTP headers.
  • Network connectivity to the Dragon Family API endpoint.

Troubleshooting

  • Invalid or missing API token: If the token is incorrect or missing, the API will likely return an authentication error. Ensure the token is correctly set and has sufficient permissions.
  • Incorrect Assignee ID: Providing an invalid or non-existent assignee ID may result in empty results or errors. Verify the assignee ID corresponds to a valid child in the system.
  • Date format issues: The date must be in YYYY-MM-DD format. Incorrect formatting may cause the API to reject the request or return no results.
  • Network errors: Connectivity issues or incorrect Base URL configuration can prevent successful API calls.
  • Empty results: If no todos exist for the given assignee and date, the output will be an empty list.

Links and References

Discussion