Skip to content

bug in REST-API documentation on task retreival #254

@TGlas

Description

@TGlas

The documentation (e.g., http://www.openml.org/api_docs/#!/task/get_task_list) states that the returned json object when retreiving tasks looks like this:

{
  "task": {
    "task": [
      {
        "task_id": "1",
        "task_type": "Supervised Classification",
        "did": "1",
        [...]

However, in reality it is as follows:

{
  "tasks": {
    "task": [
      {
        "task_id": "1",
        "task_type": "Supervised Classification",
        "did": "1",
        [...]

Note the difference "task" vs. "tasks" in the top-level object. This is easy to detect and fix for the user, still it causes confusion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions