그 brainful API 귀하의 애플리케이션과 다음 간의 원활한 통합을 가능하게 합니다 brainful's 강력한 콘텐츠 관리 시스템. 자동화 도구를 구축하거나 좋아하는 앱과 통합하는 경우든, 저희의 RESTFUL API 콘텐츠와 상호작용하는 간단하고 안전한 방법을 제공합니다.
HTTPS 암호화를 통한 토큰 기반 인증
JSON 응답을 사용한 표준 HTTP 메소드
내장 위치 추적 기능
안정적인 성능을 위해 최적화됨
60 사용자당 분당 요청 수
귀하의 다음을 방문하세요 brainful 옵션 페이지 API 토큰을 생성하려면.
다음에서 예제 코드를 선택하세요 cURL, JavaScript, 또는 Python 빠르게 시작하려면.
아래의 대화형 예제를 사용하여 통합을 테스트해 보세요.
All API requests require your API token in the Authorization header. Get your token from the brainful 옵션 페이지. The api supports both token and bearer token formats.
Authorization: Token YOUR_API_TOKEN
Authorization: Bearer YOUR_API_TOKEN
모든 매개변수는 요청 본문에 다음과 같이 전송됩니다 JSON.
매개변수 | 유형 | 필수 | 설명 |
---|---|---|---|
문자열 | 문자열 | 예 | 추가할 콘텐츠 (1-5000 문자) |
parent_luid | 문자열 | 아니오 | luid 상위 블록의 (선택사항) |
latitude | 실수 | 아니오 | 위도 (-90° 에서 90°) |
longitude | 실수 | 아니오 | 경도 (-180° 에서 180°) |
agent | 문자열 | 아니오 | Agent identifier (max 50 chars) |
team_space | 문자열 | 아니오 | Team space slug to add the block to (only for organization members) |
{ "luid": "abc123", "slug": "My New Block", "type": "thought", "pinned": false, "entities": [], "created_timestamp": "2024-01-01T00:00:00Z", "last_edited": "2024-01-01T00:00:00Z", "experience": 5, "remaining_daily_quota": 97 }
luid
유형: 문자열
생성된 콘텐츠의 고유 식별자
slug
유형: 문자열
URL-friendly version of the content
words
유형: 정수
Number of words in the content
remaining_daily_quota
유형: 정수
Remaining content creation quota for today
모든 매개변수는 요청 본문에 다음과 같이 전송됩니다 JSON.
매개변수 | 유형 | 필수 | 설명 |
---|---|---|---|
identifier | 문자열 | 예 | 추가할 블록의 식별자 (luid 또는 slug) |
문자열 | 문자열 | 예 | 추가할 콘텐츠 (1-5000 문자) |
{ "details": "Text appended to block successfully.", "luid": "abc123", "slug": "my-example-block" }
luid
유형: 문자열
생성된 콘텐츠의 고유 식별자
slug
유형: 문자열
URL-friendly version of the content
words
유형: 정수
Number of words in the content
remaining_daily_quota
유형: 정수
Remaining content creation quota for today
매개변수 | 유형 | 필수 | 설명 |
---|---|---|---|
luid | 문자열 | 예 | 가져올 블록의 고유 식별자 |
매개변수 | 유형 | 필수 | 설명 |
---|---|---|---|
latitude | 실수 | 아니오 | 위도 (-90° 에서 90°) |
longitude | 실수 | 아니오 | 경도 (-180° 에서 180°) |
agent | 문자열 | 아니오 | 에이전트 식별자 (최대 50 문자) |
{ "creator": "johnnyappleseed", "luid": "abc123", "slug": "My New Block", "type": "thought", "html": "", "blocks": [], "entities": [], "flagged": false, "pinned": false, "archived": false, "trashed": false, "public": false, "created_timestamp": "2025-01-28 18:01", "last_edited": "2025-01-28 18:01", "words": 3, "bytes": 45, "hits": 0 } My New Block
creator
유형: 문자열
Username of the content creator
luid
유형: 문자열
블록의 고유 식별자
type
유형: 문자열
콘텐츠 유형 (예:, "thought")
html
유형: 문자열
HTML 블록의 내용
created_timestamp
유형: 문자열
Creation date and time
hits
유형: 정수
Number of views