Proof Wiki

General workflow

  • login with user/password ,
    • user Header in auth request
      Authorization {token_type} {token}
  • look for the current preconfigured {project_id} , looking dashboard or the Project function in api, every project has server preconfigured behaviours
    • blockchain network
    • smartcontract_address
    • notification webhooks
    • verification theme and behaviours
  • upload a resource with /v1/resource/upload/{project_id}. a resouce count for a file, json metadata, and options
  • optionally wait for webhooks
  • get the full resource via /v1/resource/show/{key_type}/{key}
  • get download via /v1/resource/download/{key_type}/{key}
recomended values for key_type : uuid,id,code

Collections: Sorting & Pagination & Filtering
  • sort : &sort={-}[]
  • page : &page={}
  • field filters : filter[]=value
    • filter[label]=aws&filter[group_code]=aod
  • special scope filters:
    • proof_status_range(min,max) index?page=&filter[proof_status_range]=200,999