# REST API NocoBase's HTTP API is a superset of the REST API, and the standard CRUD API also supports the RESTful style. ## Collection resources --- ### Create collection HTTP API ```bash POST /api/:create {} # JSON body ``` REST API ```bash POST /api/ {} # JSON body ``` ### List collection HTTP API ```bash GET /api/:list ``` REST API ```bash GET /api/ ``` ### View collection details HTTP API ```bash GET /api/:get?filterByTk= GET /api/:get/ ``` REST API ```bash GET /api// ``` ### Update collection HTTP API ```bash POST /api/:update?filterByTk= {} # JSON body # Or POST /api/:update/ {} # JSON body ``` REST API ```bash PUT /api// {} # JSON body ``` ### Delete collection HTTP API ```bash POST /api/:destroy?filterByTk= # Or POST /api/:destroy/ ``` REST API ```bash DELETE /api// ``` ## Association resources --- ### Create Association HTTP API ```bash POST /api///:create {} # JSON body ``` REST API ```bash POST /api/// {} # JSON body ``` ### List Association HTTP API ```bash GET /api///:list ``` REST API ```bash GET /api/// ``` ### View Association details HTTP API ```bash GET /api///:get?filterByTk= # Or GET /api///:get/ ``` REST API ```bash GET /api///:get/ ``` ### Update Association HTTP API ```bash POST /api///:update?filterByTk= {} # JSON body # Or POST /api///:update/ {} # JSON body ``` REST API ```bash PUT /api///:update/ {} # JSON ``` ### Delete Association HTTP API ```bash POST /api///:destroy?filterByTk= # Or POST /api///:destroy/ ``` REST API ```bash DELETE /api//// ```