# REST API HTTP API of NocoBase is a superset of 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 ``` ### View Collection List 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 ``` ### View Association List 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//// ```