Loading views...

getRecordValues

Created
Created
2023 Feb 28 12:40
Tags
Tags

req


  • record - page 내부의 block 의미
  • table - 노션에서는 type 이라는 말 대신 table쓰는듯 - 안햇갈리나?
{ "requests": [ { "table": String - Record.Type, "id": String - ID } ] }
 
 
 

getRecordValues res


  • role - 아마 읽는 사람의 권한을 뜻하는듯 공개된 녀석들은 권한 없으니 reader로 뜬다
  • value - page type property 개념
{ "results": [ { "role": String - Page.User.Authority, "value": {} } { "role": String - Page.User.Authority, "value": {} } . . . ] }
  • api 요청 보내면 reader로 오고 실제 페이지 요청은 editor로 온다
    • reader
    • editor
 
 
{ "results": [ { "role": String - Page.User.Authority, "value": { "id": String - uuid, "version": Int - Version, "type": String - Page.Type, "properties": { "title": [ [ String - Title ] ] }, "content": [child uuids], "created_time": Int - millisecond, "last_edited_time": Int - millisecond, "parent_id": String - uuid, "parent_table": String - Parent.Table, "alive": true, "copied_from": String - uuid, "created_by_table": Create.type, "created_by_id": String - uuid, "last_edited_by_table": Edit.type "last_edited_by_id": String - uuid } } ] }
 
  • alive 는 지워졌는지 말하는듯 - 테스트 필요
  • copied from은 왜있는지 모르겠지만 있다 뭔가 이유가 있겠지
 
 

Recommendations