You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users want to access their own data through public APIs. This will allow them to edit their data in the CMS and use it via the API for use in blogs, Re:Earth itself, and other applications. Also, by specifying the data format using the extension at the end of the endpoint, the data can be returned in a format that is supported by Re:Earth by default and can be used by other applications such as blogs, Re:Earth itself, and other applications.
Requirements
Items of the project whose publication settings allows to them be public can be retrieved via public API
Re:Earth should support this data format as default
tables/tableId/records.json -> JSON
tables/tableId/records.csv -> CSV
Design file
Testing list
When OO is
If you input "XXX", it should show "YYY"
public api memo
// Domain model// already we havetypeSchemastruct {
idstring
}
typeProjectstruct {
idIDworkspaceIDWorkspaceIDnamestringdescriptionstringaliasstringimageURL*url.URLupdatedAt time.Time
}
typeWorkspacestrcut {
}
// we will havetypeProjectPublicSettingstruct {
projectIdidpublicScopestring//"APIKEY" | "ANYONE"publicModelIdsid[]
assetPublicbool
}
Leader
@gop50k
User story
Users want to access their own data through public APIs. This will allow them to edit their data in the CMS and use it via the API for use in blogs, Re:Earth itself, and other applications. Also, by specifying the data format using the extension at the end of the endpoint, the data can be returned in a format that is supported by Re:Earth by default and can be used by other applications such as blogs, Re:Earth itself, and other applications.
Requirements
tables/tableId/records.json
-> JSONtables/tableId/records.csv
-> CSVDesign file
Testing list
public api memo
公開APIの設定をUpdate, Readができるようにする
公開API自体の実装
baseURL: https://api.cms.reearth.io/{workspaceId}
スキーマ
GET: /{projectId}/{schemaId}
アイテム
GET: /{projectId}/{schemaId}/items
アセット
The text was updated successfully, but these errors were encountered: