microCMS sdk for v
microCMS
repo: https://github.com/zztkm/microcms-v-sdk
Installation and Import
Using vpm
Install / Update module:
v install zztkm.microcms
Import
import zztkm.microcms
Directly from GitHub
v install --git https://github.com/zztkm/microcms-v-sdk
Usage
TODO: 使い方をがんばって記載する
NOTE
Until the following bugs are fixed, please be careful with structure definitions during create and update. Zero values are also included in Body.
-
[omitempty]
for strings causes compilation error
APIs
Content API
- GET /api/v1/{endpoint}
- GET /api/v1/{endpoint}/{content_id}
- POST /api/v1/{endpoint}
- PUT /api/v1/{endpoint}/{content_id}
- PATCH /api/v1/{endpoint}/{content_id}
- DELETE /api/v1/{endpoint}/{content_id}
Management API