본문으로 건너뛰기

curl

Platform API 토큰을 만들려면 REST 가이드부터 시작하세요.

처음 10개 카탈로그를 나열하세요:

curl -fsS "https://reconstruct.dev/api/v1/platform/catalogs?pageSize=10" \
-H "Authorization: Bearer ${CR_RECONSTRUCT_API_TOKEN}"

카탈로그를 읽으려면 목록 응답에서 catalogId를 복사하고 경로에서 URL 인코딩하세요:

curl -fsS "https://reconstruct.dev/api/v1/platform/catalogs/CATALOG_ID" \
-H "Authorization: Bearer ${CR_RECONSTRUCT_API_TOKEN}"

목록 응답에 nextPageToken이 있으면 URL 인코딩한 pageToken 쿼리 매개변수로 전달하여 다음 페이지를 가져오세요.