> For the complete documentation index, see [llms.txt](https://docs.openstad.org/openstad/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openstad.org/openstad/technical/api.md).

# Api

The Openstad API is a REST based api. It manages the data of the submitted ideas, votes, etc. It is the interface to the OpenStad data that is stored in a MySQL database. It uses the [Sequelize](https://sequelize.org/) framework for Object modeling.

## Resources

* [Site](/openstad/technical/api/resource-site.md)
* [Idea](/openstad/technical/api/resource-idea.md)
* [Argument](/openstad/technical/api/resource-argument.md)
* [Vote](/openstad/technical/api/resource-vote.md)
* [Article](/openstad/technical/api/resource-article.md)
* [Newsletter Signup](/openstad/technical/api/resource-newslettersignup.md)
* [User](/openstad/technical/api/resource-user.md)

## Authentication and JWT

Authentication of API call is done with a JWT. The API issues one after connecting with the auth server via the oAuth2 protocol.

See:

* [Auth](/openstad/technical/api/auth.md)
* [Sequelize authorization](/openstad/technical/api/sequelize-authorization.md)

## Miscellaneous

* [Pagination and search](/openstad/technical/api/pagination-and-search.md)
* [Email settings](/openstad/technical/api/email.md)
* [Database migrations](/openstad/technical/api/db-changes.md)
* [Configuration](/openstad/technical/api/api-configuration.md)
