# Read Module

`GET /boards/{board_id}/modules/{module_id}` · Boards · server http://localhost:3000/api/v1

Send an API key with every call: `Authorization: Bearer tiko_…`. See https://docs.tiko.run/api-keys/.

The operation from the OpenAPI schema, with its schemas inlined:

```json
{
  "description": "One module of the board; a gantt as the web app draws it, its tasks fresh.",
  "security": [
    {
      "API key": []
    }
  ],
  "parameters": [
    {
      "name": "board_id",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string",
        "title": "Board Id"
      }
    },
    {
      "name": "module_id",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string",
        "title": "Module Id"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Successful Response",
      "content": {
        "application/json": {
          "schema": {
            "properties": {
              "id": {
                "type": "string",
                "title": "Id"
              },
              "module": {
                "type": "string",
                "title": "Module"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Title"
              },
              "planning": {
                "type": "boolean",
                "title": "Planning"
              },
              "gantt": {
                "anyOf": [
                  {
                    "properties": {
                      "start": {
                        "type": "string",
                        "format": "date",
                        "title": "Start"
                      },
                      "end": {
                        "type": "string",
                        "format": "date",
                        "title": "End"
                      },
                      "scale": {
                        "type": "string",
                        "title": "Scale"
                      },
                      "rows": {
                        "items": {
                          "properties": {
                            "id": {
                              "type": "string",
                              "title": "Id"
                            },
                            "parent": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "title": "Parent"
                            },
                            "depth": {
                              "type": "integer",
                              "title": "Depth"
                            },
                            "key": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "title": "Key"
                            },
                            "source": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "title": "Source"
                            },
                            "title": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "title": "Title"
                            },
                            "task": {
                              "anyOf": [
                                {
                                  "properties": {
                                    "title": {
                                      "type": "string",
                                      "title": "Title"
                                    },
                                    "status": {
                                      "type": "string",
                                      "title": "Status"
                                    },
                                    "assignee": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ],
                                      "title": "Assignee"
                                    },
                                    "due": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "format": "date"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ],
                                      "title": "Due"
                                    },
                                    "url": {
                                      "type": "string",
                                      "title": "Url"
                                    },
                                    "fetched_at": {
                                      "type": "string",
                                      "title": "Fetched At"
                                    }
                                  },
                                  "type": "object",
                                  "required": [
                                    "title",
                                    "status",
                                    "assignee",
                                    "due",
                                    "url",
                                    "fetched_at"
                                  ],
                                  "title": "TaskOut"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "start": {
                              "type": "string",
                              "format": "date",
                              "title": "Start"
                            },
                            "end": {
                              "type": "string",
                              "format": "date",
                              "title": "End"
                            },
                            "dates": {
                              "type": "string",
                              "enum": [
                                "tracker",
                                "stored",
                                "own"
                              ],
                              "title": "Dates"
                            },
                            "guessed": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "start",
                                    "end"
                                  ]
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "title": "Guessed"
                            },
                            "tracker": {
                              "anyOf": [
                                {
                                  "properties": {
                                    "start": {
                                      "type": "string",
                                      "format": "date",
                                      "title": "Start"
                                    },
                                    "end": {
                                      "type": "string",
                                      "format": "date",
                                      "title": "End"
                                    },
                                    "guessed": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "enum": [
                                            "start",
                                            "end"
                                          ]
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ],
                                      "title": "Guessed"
                                    }
                                  },
                                  "type": "object",
                                  "required": [
                                    "start",
                                    "end"
                                  ],
                                  "title": "Tracked"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "span": {
                              "anyOf": [
                                {
                                  "properties": {
                                    "start": {
                                      "type": "string",
                                      "format": "date",
                                      "title": "Start"
                                    },
                                    "end": {
                                      "type": "string",
                                      "format": "date",
                                      "title": "End"
                                    }
                                  },
                                  "type": "object",
                                  "required": [
                                    "start",
                                    "end"
                                  ],
                                  "title": "Span"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "done": {
                              "anyOf": [
                                {
                                  "type": "boolean"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "title": "Done"
                            },
                            "progress": {
                              "anyOf": [
                                {
                                  "properties": {
                                    "done": {
                                      "type": "integer",
                                      "title": "Done"
                                    },
                                    "total": {
                                      "type": "integer",
                                      "title": "Total"
                                    }
                                  },
                                  "type": "object",
                                  "required": [
                                    "done",
                                    "total"
                                  ],
                                  "title": "Progress"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "stages": {
                              "anyOf": [
                                {
                                  "items": {
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "title": "Id"
                                      },
                                      "type": {
                                        "properties": {
                                          "id": {
                                            "type": "string",
                                            "title": "Id"
                                          },
                                          "name": {
                                            "anyOf": [
                                              {
                                                "type": "string"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ],
                                            "title": "Name"
                                          }
                                        },
                                        "type": "object",
                                        "required": [
                                          "id",
                                          "name"
                                        ],
                                        "title": "Named"
                                      },
                                      "start": {
                                        "type": "string",
                                        "format": "date",
                                        "title": "Start"
                                      },
                                      "end": {
                                        "type": "string",
                                        "format": "date",
                                        "title": "End"
                                      },
                                      "people": {
                                        "items": {
                                          "properties": {
                                            "id": {
                                              "type": "string",
                                              "title": "Id"
                                            },
                                            "name": {
                                              "anyOf": [
                                                {
                                                  "type": "string"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ],
                                              "title": "Name"
                                            }
                                          },
                                          "type": "object",
                                          "required": [
                                            "id",
                                            "name"
                                          ],
                                          "title": "Named"
                                        },
                                        "type": "array",
                                        "title": "People"
                                      },
                                      "done": {
                                        "anyOf": [
                                          {
                                            "type": "boolean"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ],
                                        "title": "Done"
                                      }
                                    },
                                    "type": "object",
                                    "required": [
                                      "id",
                                      "type",
                                      "start",
                                      "end",
                                      "people"
                                    ],
                                    "title": "StageOut"
                                  },
                                  "type": "array"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "title": "Stages"
                            },
                            "values": {
                              "anyOf": [
                                {
                                  "items": {
                                    "properties": {
                                      "field": {
                                        "properties": {
                                          "id": {
                                            "type": "string",
                                            "title": "Id"
                                          },
                                          "name": {
                                            "anyOf": [
                                              {
                                                "type": "string"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ],
                                            "title": "Name"
                                          }
                                        },
                                        "type": "object",
                                        "required": [
                                          "id",
                                          "name"
                                        ],
                                        "title": "Named"
                                      },
                                      "value": {
                                        "type": "string",
                                        "title": "Value"
                                      },
                                      "inherited": {
                                        "type": "boolean",
                                        "title": "Inherited"
                                      }
                                    },
                                    "type": "object",
                                    "required": [
                                      "field",
                                      "value",
                                      "inherited"
                                    ],
                                    "title": "ValueOut"
                                  },
                                  "type": "array"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "title": "Values"
                            },
                            "holds": {
                              "anyOf": [
                                {
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "title": "Holds"
                            }
                          },
                          "type": "object",
                          "required": [
                            "id",
                            "depth",
                            "start",
                            "end",
                            "dates"
                          ],
                          "title": "RowOut"
                        },
                        "type": "array",
                        "title": "Rows"
                      },
                      "milestones": {
                        "items": {
                          "properties": {
                            "id": {
                              "type": "string",
                              "title": "Id"
                            },
                            "date": {
                              "type": "string",
                              "format": "date",
                              "title": "Date"
                            },
                            "title": {
                              "type": "string",
                              "title": "Title"
                            }
                          },
                          "type": "object",
                          "required": [
                            "id",
                            "date",
                            "title"
                          ],
                          "title": "MilestoneOut"
                        },
                        "type": "array",
                        "title": "Milestones"
                      },
                      "links": {
                        "items": {
                          "properties": {
                            "from": {
                              "type": "string",
                              "title": "From"
                            },
                            "to": {
                              "type": "string",
                              "title": "To"
                            }
                          },
                          "type": "object",
                          "required": [
                            "from",
                            "to"
                          ],
                          "title": "LinkOut"
                        },
                        "type": "array",
                        "title": "Links"
                      }
                    },
                    "type": "object",
                    "required": [
                      "start",
                      "end",
                      "scale",
                      "rows",
                      "milestones",
                      "links"
                    ],
                    "title": "GanttOut"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "type": "object",
            "required": [
              "id",
              "module",
              "title",
              "planning"
            ],
            "title": "ModuleRead"
          }
        }
      }
    },
    "401": {
      "description": "No key, or a key that stopped working",
      "content": {
        "application/json": {
          "schema": {
            "properties": {
              "error": {
                "properties": {
                  "code": {
                    "type": "string",
                    "title": "Code"
                  },
                  "message": {
                    "type": "string",
                    "title": "Message"
                  }
                },
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "title": "ErrorDetail"
              }
            },
            "type": "object",
            "required": [
              "error"
            ],
            "title": "Error",
            "description": "Every error of v1; clients must ignore codes they do not know."
          }
        }
      }
    },
    "403": {
      "description": "The key may not do this, or keys are switched off",
      "content": {
        "application/json": {
          "schema": {
            "properties": {
              "error": {
                "properties": {
                  "code": {
                    "type": "string",
                    "title": "Code"
                  },
                  "message": {
                    "type": "string",
                    "title": "Message"
                  }
                },
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "title": "ErrorDetail"
              }
            },
            "type": "object",
            "required": [
              "error"
            ],
            "title": "Error",
            "description": "Every error of v1; clients must ignore codes they do not know."
          }
        }
      }
    },
    "404": {
      "description": "Not found, or not among what the key reaches",
      "content": {
        "application/json": {
          "schema": {
            "properties": {
              "error": {
                "properties": {
                  "code": {
                    "type": "string",
                    "title": "Code"
                  },
                  "message": {
                    "type": "string",
                    "title": "Message"
                  }
                },
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "title": "ErrorDetail"
              }
            },
            "type": "object",
            "required": [
              "error"
            ],
            "title": "Error",
            "description": "Every error of v1; clients must ignore codes they do not know."
          }
        }
      }
    },
    "422": {
      "description": "The request does not match the schema",
      "content": {
        "application/json": {
          "schema": {
            "properties": {
              "error": {
                "properties": {
                  "code": {
                    "type": "string",
                    "title": "Code"
                  },
                  "message": {
                    "type": "string",
                    "title": "Message"
                  }
                },
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "title": "ErrorDetail"
              }
            },
            "type": "object",
            "required": [
              "error"
            ],
            "title": "Error",
            "description": "Every error of v1; clients must ignore codes they do not know."
          }
        }
      }
    },
    "429": {
      "description": "Over a budget; see Retry-After",
      "content": {
        "application/json": {
          "schema": {
            "properties": {
              "error": {
                "properties": {
                  "code": {
                    "type": "string",
                    "title": "Code"
                  },
                  "message": {
                    "type": "string",
                    "title": "Message"
                  }
                },
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "title": "ErrorDetail"
              }
            },
            "type": "object",
            "required": [
              "error"
            ],
            "title": "Error",
            "description": "Every error of v1; clients must ignore codes they do not know."
          }
        }
      }
    }
  }
}
```
