旧形式の API
2026年11月11日までの Repsona API (旧形式) の仕様です。新しい連携には API リファレンス を使ってください。
旧形式の API は 2026年11月18日まで、スペースの URL を https://<space_id>.legacy.repsona.com に読み替えると使えます。利用がなくなり次第、予定より早く終了する場合があります。旧形式の Webhook と /id-link/... はこのページの対象外です。
共通
認証
API キーを Authorization: Bearer <API key> ヘッダーで送ります。API キー以外のリクエストは受け付けません。
curl -H 'Authorization: Bearer <API key>' https://<space_id>.legacy.repsona.com/api/me
レスポンス
成功は 200、リクエストの誤りは 40x、サーバーのエラーは 50x を返します。エラーのときは message に内容が入ります。
タスク
タスク一覧を取得する
GET /api/project/:projectId/task
指定したプロジェクト内のタスク一覧を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/task
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
Query parameters
| Name | Type | Description |
|---|---|---|
| page | string | 一覧の開始ページ。1が最小。 |
| keywords | string | キーワード。カンマ区切りで複数指定できます。 |
| tags | string | タグID。カンマ区切りで複数指定できます。 |
| statuses | string | ステータスID。カンマ区切りで複数指定できます。 |
| milestones | string | マイルストーンID。カンマ区切りで複数指定できます。 |
| priorities | string | 優先度。カンマ区切りで複数指定できます。 |
| responsible_users | string | 担当者のユーザーID。カンマ区切りで複数指定できます。 |
| ball_holding_users | string | ボール保持者のユーザーID。カンマ区切りで複数指定できます。 |
| due_date_gte | string | 期限の開始日 |
| due_date_lte | string | 期限の終了日 |
| is_expired | enum (true, false) | 期限切れを表示する |
| is_closed | enum (true, false) | 完了済み表示する |
Example responses
{
"requestedBy": 1,
"project": 1,
"tasks": [
{
"tags": [
{
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "JavaScript",
"sortOrder": 0,
"color": "#2196F3",
"type": null,
"space": 1
}
],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"name": "Task name",
"sortOrder": 1,
"priority": 2,
"planned": null,
"actual": null,
"description": "Task Description",
"dueDate": 1672498800000,
"startDate": 1672498800000,
"extra": {},
"space": 1,
"status": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Todo",
"sortOrder": 0,
"isClosed": false,
"color": null,
"space": 1,
"project": 1
},
"parent": 2,
"project": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "elephant-website",
"fullName": "Elephant website development project",
"purpose": "Investigating elephant ecology.",
"avatarUrl": "/dummy/project-icon1.png",
"productImageUrl": "",
"sortOrder": 0,
"free": true,
"isClosed": false,
"isPublic": false,
"space": 1
},
"milestone": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "v1.37.0",
"dueDate": 1672498800000,
"isClosed": false,
"space": 1,
"project": 1
},
"responsibleUser": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Reon",
"fullName": "Reon Walls",
"avatarUrl": "/dummy/avatar1.png",
"billingStatus": "active",
"extra": null,
"space": 1,
"language": 2,
"timeZone": 100
},
"ballHoldingUser": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Reon",
"fullName": "Reon Walls",
"avatarUrl": "/dummy/avatar1.png",
"billingStatus": "active",
"extra": null,
"space": 1,
"language": 2,
"timeZone": 100
},
"parents": [
{
"id": 1746,
"name": "Create a design base",
"parent": null
}
]
}
]
}
タスクを取得する
GET /api/project/:projectId/task/:taskId
指定したタスクの詳細を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/task/:taskId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
taskId* | string | タスクID |
Example responses
{
"requestedBy": 1,
"project": 1,
"task": {
"tags": [
{
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "JavaScript",
"sortOrder": 0,
"color": "#2196F3",
"type": null,
"space": 1
}
],
"files": [],
"subsequentTasks": [],
"staredUsers": [],
"followedUsers": [],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"name": "Create a design base",
"sortOrder": 4,
"priority": 1,
"planned": null,
"actual": null,
"description": "",
"dueDate": 1672498800000,
"startDate": 1672498800000,
"extra": null,
"space": 1,
"status": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Done",
"sortOrder": 2,
"isClosed": true,
"color": null,
"space": 1,
"project": 1
},
"parent": null,
"project": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "elephant-website",
"fullName": "Elephant website development project",
"purpose": "Investigating elephant ecology.",
"avatarUrl": "/dummy/project-icon1.png",
"productImageUrl": "",
"sortOrder": 0,
"free": true,
"isClosed": false,
"isPublic": false,
"extra": {},
"space": 1
},
"milestone": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "v1.37.0",
"dueDate": 1672498800000,
"isClosed": false,
"space": 1,
"project": 1
},
"responsibleUser": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Rita",
"fullName": "Rita Hurst",
"avatarUrl": "/dummy/avatar5.png",
"billingStatus": "active",
"extra": null,
"space": 1,
"language": 1,
"timeZone": 100
},
"ballHoldingUser": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Rita",
"fullName": "Rita Hurst",
"avatarUrl": "/dummy/avatar5.png",
"billingStatus": "active",
"extra": null,
"space": 1,
"language": 1,
"timeZone": 100
},
"predecessorTasks": [],
"createdBy": null
}
}
タスクを作成する
POST /api/project/:projectId/task
タスクを作成します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/task
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
Body parameters
| Name | Type | Description |
|---|---|---|
name* | string | 名前 |
| description | string | 内容 |
| startDate | nullable number | 開始日時 |
| dueDate | nullable number | 期限 |
| status | nullable number | ステータスID |
| tags | nullable array | タグID |
| priority | nullable enum (1, 2, 3) | 優先順 |
| milestone | nullable number | マイルストーンID |
| parent | nullable number | 親タスクID |
| addToBottom | boolean | 一番下に追加するかどうか |
| responsibleUser | nullable number | 担当者 |
| ballHoldingUser | nullable number | ボール保持者 |
Example responses
{
"requestedBy": 1,
"project": 1,
"task": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"name": "Task name",
"sortOrder": 0,
"priority": 2,
"planned": null,
"actual": null,
"description": "Task Description",
"dueDate": 1672498800000,
"startDate": 1672498800000,
"extra": null,
"space": 1,
"status": 1,
"parent": null,
"project": 1,
"milestone": 1,
"responsibleUser": 1,
"ballHoldingUser": 1,
"addToBottom": false
}
}
タスクを更新する
PATCH /api/project/:projectId/task/:taskId
指定したタスク詳細を更新します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/task/:taskId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
taskId* | string | タスクID |
Body parameters
| Name | Type | Description |
|---|---|---|
name* | string | 名前 |
| description | nullable string | 内容 |
| startDate | nullable number | 開始日時 |
| dueDate | nullable number | 期限 |
| status | nullable number | ステータスID |
| tags | nullable array | タグID |
| priority | nullable enum (1, 2, 3) | 優先順 |
| milestone | nullable number | マイルストーンID |
| parent | nullable number | 親タスクID |
| responsibleUser | nullable number | 担当者 |
| ballHoldingUser | nullable number | ボール保持者 |
Example responses
{
"requestedBy": 1,
"project": 1,
"task": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"name": "Task name",
"sortOrder": 1,
"priority": 2,
"planned": null,
"actual": null,
"description": "Task Description",
"dueDate": 1672498800000,
"startDate": 1672498800000,
"extra": {},
"space": 1,
"status": 1,
"parent": 2,
"project": 1,
"milestone": 1,
"responsibleUser": 1,
"ballHoldingUser": 1,
"nextTo": "top-of-list"
}
}
タスクを削除する
DELETE /api/project/:projectId/task/:taskId
指定したタスクを削除します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/task/:taskId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
taskId* | string | タスクID |
Example responses
{
"requestedBy": 1,
"task": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": 1672498800000,
"name": "Task name",
"sortOrder": 0,
"priority": 2,
"planned": null,
"actual": null,
"description": "Task Description",
"dueDate": 1672498800000,
"startDate": 1672498800000,
"extra": null,
"space": 1,
"status": 1,
"parent": null,
"project": 1,
"milestone": 1,
"responsibleUser": 1,
"ballHoldingUser": 1
}
}
タスクのサブタスク一覧を取得する
GET /api/project/:projectId/task/:taskId/children
指定したタスクのサブタスク一覧を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/task/:taskId/children
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
taskId* | string | タスクID |
Example responses
{
"requestedBy": 1,
"project": 1,
"tasks": [
{
"tags": [
{
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "JavaScript",
"sortOrder": 0,
"color": "#2196F3",
"type": null,
"space": 1
}
],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"name": "Task name",
"sortOrder": 1,
"priority": 2,
"planned": null,
"actual": null,
"description": "Task Description",
"dueDate": 1672498800000,
"startDate": 1672498800000,
"extra": {},
"space": 1,
"status": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Todo",
"sortOrder": 0,
"isClosed": false,
"color": null,
"space": 1,
"project": 1
},
"parent": 2,
"project": 1,
"milestone": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "v1.37.0",
"dueDate": 1672498800000,
"isClosed": false,
"space": 1,
"project": 1
},
"responsibleUser": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Reon",
"fullName": "Reon Walls",
"avatarUrl": "/dummy/avatar1.png",
"billingStatus": "active",
"extra": null,
"space": 1,
"language": 2,
"timeZone": 100
},
"ballHoldingUser": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Reon",
"fullName": "Reon Walls",
"avatarUrl": "/dummy/avatar1.png",
"billingStatus": "active",
"extra": null,
"space": 1,
"language": 2,
"timeZone": 100
}
}
]
}
タスクのコメント一覧を取得する
GET /api/project/:projectId/task/:taskId/comment/in_tree
指定したタスクのコメント一覧を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/task/:taskId/comment/in_tree
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
taskId* | string | タスクID |
Example responses
{
"requestedBy": 1,
"project": 1,
"taskComments": [
{
"files": [],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"comment": "I'll try.",
"space": 1,
"user": {
"id": 1746,
"name": "Seb",
"fullName": "Seb Osborn",
"avatarUrl": "/dummy/avatar2.png",
"extra": null
},
"parent": null,
"task": 2,
"children": [
{
"files": [],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"comment": "What do you think?",
"space": 1,
"user": {
"id": 1746,
"name": "Rita",
"fullName": "Rita Hurst",
"avatarUrl": "/dummy/avatar5.png",
"extra": null
},
"parent": 5,
"task": 2,
"children": [
{
"files": [],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"comment": "I think it's good.",
"space": 1,
"user": {
"id": 1746,
"name": "Joel",
"fullName": "Joel Blackburn",
"avatarUrl": "/dummy/avatar6.png",
"extra": null
},
"parent": 8,
"task": 2,
"children": []
}
]
}
]
}
]
}
タスクにコメントする
POST /api/project/:projectId/task/:taskId/task_comment
指定したタスクにコメントをします。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/task/:taskId/task_comment
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
taskId* | string | タスクID |
Body parameters
| Name | Type | Description |
|---|---|---|
comment* | string | コメント内容 |
| parent | number | 返信先コメントID |
Example responses
{
"requestedBy": 1,
"project": 1,
"taskComment": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"comment": "This is my comment.",
"space": 1,
"user": 1,
"parent": null,
"task": 2
}
}
タスクのコメントを更新する
PATCH /api/project/:projectId/task_comment/:taskCommentId
指定したコメントの内容を更新します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/task_comment/:taskCommentId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
taskCommentId* | string | コメントID |
Body parameters
| Name | Type | Description |
|---|---|---|
comment* | string | コメント内容 |
Example responses
{
"requestedBy": 1,
"project": 1,
"taskComment": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": 1672498800000,
"comment": "This is my comment.",
"space": 1,
"user": 1,
"parent": null,
"task": 1
}
}
タスクのコメントを削除する
DELETE /api/project/:projectId/task_comment/:taskCommentId
指定したコメントを削除します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/task_comment/:taskCommentId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
taskCommentId* | string | コメントID |
Example responses
{
"requestedBy": 1,
"project": 1,
"taskComment": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": 1672498800000,
"comment": "This is my comment.",
"space": 1,
"user": 1,
"parent": null,
"task": 1
}
}
タスクのアクティビティログを取得する
GET /api/activity/project/:projectId/Task/:taskId
指定したタスクに関するアクティビティログを返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/activity/project/:projectId/Task/:taskId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
taskId* | string | タスクID |
Query parameters
| Name | Type | Description |
|---|---|---|
| page | number | ページ。1が最初。 |
Example responses
{
"requestedBy": 1,
"project": 1,
"activities": [
{
"id": 1746,
"createdAt": 1672498800000,
"model": "Task",
"modelId": 2,
"property": "status",
"isMultiple": false,
"action": "update",
"user": {
"id": 1746,
"name": "Reon",
"fullName": "Reon Walls",
"avatarUrl": "/dummy/avatar1.png",
"extra": {}
},
"project": {
"id": 1746,
"name": "elephant-website",
"fullName": "Elephant website development project"
},
"ref": {
"link": {
"text": "Create a design base",
"path": "/project/5B/task/ev"
},
"fromContent": "\"Doing\"",
"toContent": "\"Done\"",
"content": "\"Doing\" → \"Done\""
}
}
]
}
タスクの履歴を取得する
GET /api/history/project/:projectId/Task/:taskId
指定したタスクに関する履歴を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/history/project/:projectId/Task/:taskId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
taskId* | string | タスクID |
Example responses
{
"requestedBy": 1,
"project": 1,
"histories": [
{
"id": 1746,
"createdAt": 1672498800000,
"user": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Seb",
"fullName": "Seb Osborn",
"avatarUrl": "/dummy/avatar2.png",
"billingStatus": "inactive",
"extra": null,
"space": 1,
"language": 1,
"timeZone": 100
},
"to": ""
}
]
}
ノート
ノート一覧を取得する
GET /api/project/:projectId/note
指定したプロジェクト内のノート一覧を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/note
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
Query parameters
| Name | Type | Description |
|---|---|---|
| page | string | 一覧の開始ページ。1が最小。 |
| keywords | string | キーワード。カンマ区切りで複数指定できます。 |
| tags | string | タグID。カンマ区切りで複数指定できます。 |
| is_wip | enum (true, false) | 作成途中を含みます |
Example responses
{
"requestedBy": 1,
"project": 1,
"notes": [
{
"tags": [
{
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "JavaScript",
"sortOrder": 0,
"color": "#2196F3",
"type": null,
"space": 1
}
],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"name": "Note name",
"sortOrder": 1,
"description": "Note Description",
"isWIP": false,
"space": 1,
"parent": 2,
"project": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "elephant-website",
"fullName": "Elephant website development project",
"purpose": "Investigating elephant ecology.",
"avatarUrl": "/dummy/project-icon1.png",
"productImageUrl": "",
"sortOrder": 0,
"free": true,
"isClosed": false,
"isPublic": false,
"space": 1
}
}
]
}
ノートを取得する
GET /api/project/:projectId/note/:noteId
指定したノートの詳細を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/note/:noteId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
noteId* | string | ノートID |
Example responses
{
"requestedBy": 1,
"project": 1,
"note": {
"tags": [
{
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "JavaScript",
"sortOrder": 0,
"color": "#2196F3",
"type": null,
"space": 1
}
],
"staredUsers": [
{
"id": 1746,
"name": "Reon",
"avatarUrl": "/dummy/avatar1.png",
"extra": null
}
],
"files": [],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"name": "Development environment",
"sortOrder": 2,
"description": "Development environment",
"isWIP": false,
"space": 1,
"parent": null,
"project": 1
}
}
ノートを作成する
POST /api/project/:projectId/note
ノートを作成します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/note
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
Body parameters
| Name | Type | Description |
|---|---|---|
name* | string | 名前 |
| description | nullable string | 内容 |
| tags | nullable array | タグID |
| parent | nullable number | 親ノートID |
| addToBottom | boolean | 一番下に追加するかどうか |
Example responses
{
"requestedBy": 1,
"project": 1,
"note": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"name": "Note name",
"sortOrder": 0,
"description": "Note Description",
"isWIP": false,
"space": 1,
"parent": null,
"project": 1,
"addToBottom": false
}
}
ノートを更新する
PATCH /api/project/:projectId/note/:noteId
指定したノート詳細を更新します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/note/:noteId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
noteId* | string | ノートID |
Body parameters
| Name | Type | Description |
|---|---|---|
name* | string | 名前 |
| description | nullable string | 内容 |
| tags | nullable array | タグID |
| parent | nullable number | 親ノートID |
Example responses
{
"requestedBy": 1,
"project": 1,
"note": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"name": "Note name",
"sortOrder": 1,
"description": "Note Description",
"isWIP": false,
"space": 1,
"parent": 2,
"project": 1
}
}
ノートを削除する
DELETE /api/project/:projectId/note/:noteId
指定したノートを削除します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/note/:noteId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
noteId* | string | ノートID |
Example responses
{
"requestedBy": 1,
"note": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": 1672498800000,
"name": "Note name",
"sortOrder": 0,
"description": "Note Description",
"isWIP": false,
"space": 1,
"parent": null,
"project": 1
}
}
ノートのサブノート一覧を取得する
GET /api/project/:projectId/note/:noteId/children
指定したノートのサブノート一覧を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/note/:noteId/children
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
noteId* | string | ノートID |
Example responses
{
"requestedBy": 1,
"project": 1,
"notes": [
{
"tags": [
{
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "JavaScript",
"sortOrder": 0,
"color": "#2196F3",
"type": null,
"space": 1
}
],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"name": "Note name",
"sortOrder": 1,
"description": "Note Description",
"isWIP": false,
"space": 1,
"parent": 2,
"project": 1
}
]
}
ノートのコメント一覧を取得する
GET /api/project/:projectId/note/:noteId/comment/in_tree
指定したノートのコメント一覧を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/note/:noteId/comment/in_tree
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
noteId* | string | ノートID |
Example responses
{
"requestedBy": 1,
"project": 1,
"noteComments": [
{
"files": [],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"comment": "I'll try.",
"space": 1,
"user": {
"id": 1746,
"name": "Seb",
"fullName": "Seb Osborn",
"avatarUrl": "/dummy/avatar2.png",
"extra": null
},
"parent": null,
"note": 2,
"children": [
{
"files": [],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"comment": "What do you think?",
"space": 1,
"user": {
"id": 1746,
"name": "Rita",
"fullName": "Rita Hurst",
"avatarUrl": "/dummy/avatar5.png",
"extra": null
},
"parent": 5,
"note": 2,
"children": [
{
"files": [],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"comment": "I think it's good.",
"space": 1,
"user": {
"id": 1746,
"name": "Joel",
"fullName": "Joel Blackburn",
"avatarUrl": "/dummy/avatar6.png",
"extra": null
},
"parent": 8,
"note": 2,
"children": []
}
]
}
]
}
]
}
ノートにコメントする
POST /api/project/:projectId/note/:noteId/note_comment
指定したノートにコメントをします。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/note/:noteId/note_comment
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
noteId* | string | ノートID |
Body parameters
| Name | Type | Description |
|---|---|---|
comment* | string | コメント内容 |
| parent | number | 返信先コメントID |
Example responses
{
"requestedBy": 1,
"project": 1,
"noteComment": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"comment": "This is my comment.",
"space": 1,
"user": 1,
"parent": null,
"note": 2
}
}
ノートのコメントを更新する
PATCH /api/project/:projectId/note_comment/:noteCommentId
指定したコメントの内容を更新します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/note_comment/:noteCommentId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
noteCommentId* | string | コメントID |
Body parameters
| Name | Type | Description |
|---|---|---|
comment* | string | コメント内容 |
Example responses
{
"requestedBy": 1,
"project": 1,
"noteComment": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": 1672498800000,
"comment": "This is my comment.",
"space": 1,
"user": 1,
"parent": null,
"note": 1
}
}
ノートのコメントを削除する
DELETE /api/project/:projectId/note_comment/:noteCommentId
指定したコメントを削除します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/note_comment/:noteCommentId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
noteCommentId* | string | コメントID |
Example responses
{
"requestedBy": 1,
"project": 1,
"noteComment": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": 1672498800000,
"comment": "This is my comment.",
"space": 1,
"user": 1,
"parent": null,
"note": 1
}
}
ノートのアクティビティログを取得する
GET /api/activity/project/:projectId/Note/:noteId
指定したノートに関するアクティビティログを返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/activity/project/:projectId/Note/:noteId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
noteId* | string | ノートID |
Query parameters
| Name | Type | Description |
|---|---|---|
| page | number | ページ。1が最初。 |
Example responses
{
"requestedBy": 1,
"project": 1,
"activities": [
{
"id": 1746,
"createdAt": 1672498800000,
"model": "Note",
"modelId": 2,
"property": "name",
"isMultiple": false,
"action": "create",
"user": {
"id": 1746,
"name": "Seb",
"fullName": "Seb Osborn",
"avatarUrl": "/dummy/avatar2.png",
"extra": {}
},
"project": {
"id": 1746,
"name": "elephant-website",
"fullName": "Elephant website development project"
},
"ref": {
"link": {
"text": "Create a design base",
"path": "/project/5B/note/ev"
},
"fromContent": "\"Todo\"",
"toContent": "\"Doing\"",
"content": "Development environment"
}
}
]
}
ノートの履歴を取得する
GET /api/history/project/:projectId/Note/:noteId
指定したノートに関する履歴を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/history/project/:projectId/Note/:noteId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
noteId* | string | ノートID |
Example responses
{
"requestedBy": 1,
"project": 1,
"histories": [
{
"id": 1746,
"createdAt": 1672498800000,
"user": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Seb",
"fullName": "Seb Osborn",
"avatarUrl": "/dummy/avatar2.png",
"billingStatus": "inactive",
"extra": null,
"space": 1,
"language": 1,
"timeZone": 100
},
"to": ""
}
]
}
ファイル
ファイルをダウンロードする
GET /api/file/:hash/download
指定したファイルをダウンロードします。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/file/:hash/download
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
hash* | string | ファイルハッシュ |
Example responses
File
ファイルをアップロードする
POST /api/project/:projectId/file
ファイルをアップロードします。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/file
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
Example responses
{
"requestedBy": 1,
"files": [
{
"id": 1746,
"hash": "d85b09f9-ee1f-411f-addb-efd1a1ee1539",
"size": 11666,
"type": "image/png",
"filename": "space-logo.png"
}
]
}
ファイルを添付する
PUT /api/project/:projectId/:model/:modelId/files/:fileId
指定したファイルをタスクやノートに添付します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/:model/:modelId/files/:fileId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
model* | enum (task, task_comment, note, note_comment) | タスク、タスクコメント、ノート、ノートコメント |
modelId* | string | タスクID、タスクコメントID、ノートID、ノートコメントID |
fileId* | string | ファイルID |
Example responses
{
"requestedBy": 1,
"project": 1,
"task": {
"files": [
{
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"hash": "d85b09f9-ee1f-411f-addb-efd1a1ee1539",
"size": 11666,
"type": "image/png",
"filename": "space-logo.png",
"extra": null,
"space": 1,
"user": 1,
"project": 1
}
],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"name": "Task name",
"sortOrder": 1,
"priority": 2,
"planned": null,
"actual": null,
"description": "Task Description",
"dueDate": 1672498800000,
"startDate": 1672498800000,
"extra": {},
"space": 1,
"status": 1,
"parent": 2,
"project": 1,
"milestone": 1,
"responsibleUser": 1,
"ballHoldingUser": 1
}
}
ファイル添付を外す
DELETE /api/project/:projectId/:model/:modelId/files/:fileId
指定したファイルをタスクやノートから添付を外します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/:model/:modelId/files/:fileId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
model* | enum (task, task_comment, note, note_comment) | タスク、タスクコメント、ノート、ノートコメント |
modelId* | string | タスクID、タスクコメントID、ノートID、ノートコメントID |
fileId* | string | ファイルID |
Example responses
{
"requestedBy": 1,
"project": 1,
"task": {
"files": [],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"name": "Task name",
"sortOrder": 1,
"priority": 2,
"planned": null,
"actual": null,
"description": "Task Description",
"dueDate": 1672498800000,
"startDate": 1672498800000,
"extra": {},
"space": 1,
"status": 1,
"parent": 2,
"project": 1,
"milestone": 1,
"responsibleUser": 1,
"ballHoldingUser": 1
}
}
ファイルを削除する
DELETE /api/file/:hash
指定したファイルを削除します。アップロードしたユーザーのみが削除できます。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/file/:hash
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
hash* | string | ファイルハッシュ |
Example responses
{
"message": "success"
}
自分
自分の情報を取得する
GET /api/me
自分の情報を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/me
Authorization
Owner Admin Member
Example responses
{
"requestedBy": 1,
"user": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"email": "dev+1@repsona.com",
"name": "Reon",
"fullName": "Reon Walls",
"whatAreYouDoing": "I am in charge of project leadership.",
"avatarUrl": "/dummy/avatar1.png",
"backgroundUrl": "/dummy/bg1.png",
"billingStatus": "active",
"role": "owner",
"emailVerified": true,
"emailNotification": "mentions",
"notificationSettings": null,
"wantsUpdateInformation": true,
"wantsReminderEmail": true,
"extra": {
"dateFormat": "M/D",
"firstDay": 1
},
"space": 1,
"language": 2,
"timeZone": 100
}
}
自分の情報を更新する
PATCH /api/me
自分の情報を更新します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/me
Authorization
Owner Admin Member
Body parameters
| Name | Type | Description |
|---|---|---|
| name | string | 名前 |
| fullName | string | フルネーム |
| whatAreYouDoing | string | 何をやっていますか? |
Example responses
{
"requestedBy": 1,
"user": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"email": "dev+1@repsona.com",
"name": "Reon",
"fullName": "Reon Walls",
"avatarUrl": "/dummy/avatar1.png",
"billingStatus": "active",
"extra": null,
"space": 1,
"language": 2,
"timeZone": 100
}
}
自分のタスクを取得する
GET /api/me/task/:type
指定したタイプの自分のタスクを返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/me/task/:type
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
| type | enum (responsible, ballHolding, following) | タイプ。担当、ボール保持、フォロー中を指定できます。 |
Example responses
{
"requestedBy": 1,
"tasks": [
{
"tags": [
{
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Python",
"sortOrder": 0,
"color": "#E91E63",
"type": null,
"space": 1
}
],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"name": "test4",
"sortOrder": 9,
"priority": null,
"planned": null,
"actual": null,
"description": "",
"dueDate": 1672498800000,
"startDate": null,
"extra": null,
"space": 1,
"status": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Todo",
"sortOrder": 0,
"isClosed": false,
"color": null,
"space": 1,
"project": 1
},
"parent": null,
"project": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "elephant-website",
"fullName": "Elephant website development project",
"purpose": "Investigating elephant ecology.",
"avatarUrl": "/dummy/project-icon1.png",
"productImageUrl": "",
"sortOrder": 0,
"free": true,
"isClosed": false,
"isPublic": false,
"extra": {},
"space": 1
},
"milestone": null,
"responsibleUser": 1,
"ballHoldingUser": 1,
"parents": []
}
]
}
自分のタスク数を取得する
GET /api/me/task/:type/count
指定したタイプの自分のタスク数を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/me/task/:type/count
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
| type | enum (responsible, ballHolding, following) | タイプ。担当、ボール保持、フォロー中を指定できます。 |
Example responses
{
"requestedBy": 1,
"count": 18
}
参加しているプロジェクトを取得する
GET /api/me/project
参加しているプロジェクトを返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/me/project
Authorization
Owner Admin Member
Example responses
{
"requestedBy": 1,
"projects": [
{
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "elephant-website",
"fullName": "Elephant website development project",
"purpose": "Investigating elephant ecology.",
"avatarUrl": "/dummy/project-icon1.png",
"productImageUrl": "",
"sortOrder": 0,
"free": true,
"isClosed": false,
"isPublic": false,
"extra": {},
"space": 1
}
]
}
自分のアクティビティを取得する
GET /api/feed
自分のアクティビティを返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/feed
Authorization
Owner Admin Member
Query parameters
| Name | Type | Description |
|---|---|---|
| page | number | ページ。1が最初。 |
Example responses
{
"requestedBy": 1,
"activities": [
{
"id": 1746,
"createdAt": 1672498800000,
"model": "User",
"modelId": 30243,
"property": "name",
"isMultiple": true,
"action": "invite",
"user": {
"id": 1746,
"name": "Reon",
"fullName": "Reon Walls",
"avatarUrl": "/dummy/avatar1.png",
"extra": {}
},
"project": null,
"ref": {
"link": {
"text": "Reon Walls",
"path": "/user/devu7ffl"
},
"fromContent": null,
"toContent": "devu7ffl",
"content": "Reon Walls"
}
}
]
}
ユーザー
ユーザーのロールを更新する
PATCH /api/user/:userId/role
指定したユーザーのロールを更新します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/user/:userId/role
Authorization
Owner Admin
Path parameters
| Name | Type | Description |
|---|---|---|
userId* | string | ユーザーID |
Body parameters
| Name | Type | Description |
|---|---|---|
role* | enum (owner, admin, member, no-login) | ロール |
Example responses
{
"requestedBy": 1,
"user": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Seb",
"fullName": "Seb Osborn",
"avatarUrl": "/dummy/avatar2.png",
"billingStatus": "inactive",
"role": "member",
"extra": null,
"space": 1,
"language": 1,
"timeZone": 100
}
}
ユーザーの支払ステータスを更新する
PATCH /api/user/:userId/billing_status
指定したユーザーの支払ステータスを更新します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/user/:userId/billing_status
Authorization
Owner Admin
Path parameters
| Name | Type | Description |
|---|---|---|
userId* | string | ユーザーID |
Body parameters
| Name | Type | Description |
|---|---|---|
billingStatus* | enum (active, inactive) | 支払ステータス |
Example responses
{
"requestedBy": 1,
"user": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Reon",
"fullName": "Reon Walls",
"avatarUrl": "/dummy/avatar1.png",
"billingStatus": "active",
"extra": null,
"space": 1,
"language": 2,
"timeZone": 100
}
}
ユーザーのアクティビティログを取得する
GET /api/activity/user/:userId
指定したユーザーのアクティビティログを返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/activity/user/:userId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
userId* | string | ユーザーID |
Example responses
{
"requestedBy": 1,
"activities": [
{
"id": 1746,
"createdAt": 1672498800000,
"model": "Task",
"modelId": 1,
"property": "files",
"isMultiple": false,
"action": "update",
"user": {
"id": 1746,
"name": "Reon",
"fullName": "Reon Walls",
"avatarUrl": "/dummy/avatar1.png",
"extra": {}
},
"project": {
"id": 1746,
"name": "elephant-website",
"fullName": "Elephant website development project"
},
"ref": {
"link": {
"text": "Task name",
"path": "/project/5B/task/5B"
},
"fromContent": [
"space-logo.png"
],
"toContent": [],
"content": "space-logo.png removed"
}
}
]
}
プロジェクト
プロジェクトを取得する
GET /api/project/:projectId
プロジェクト情報を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
Example responses
{
"requestedBy": 1,
"project": {
"users": [
{
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Reon",
"fullName": "Reon Walls",
"avatarUrl": "/dummy/avatar1.png",
"backgroundUrl": "/dummy/bg1.png",
"billingStatus": "active",
"extra": null,
"space": 1,
"language": 2,
"timeZone": 100
}
],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "elephant-website",
"fullName": "Elephant website development project",
"purpose": "Investigating elephant ecology.",
"avatarUrl": "/dummy/project-icon1.png",
"backgroundUrl": "/dummy/project-bg1.png",
"productImageUrl": "",
"sortOrder": 0,
"free": true,
"isClosed": false,
"isPublic": false,
"extra": {},
"space": 1
}
}
プロジェクトを作成する
POST /api/project
プロジェクトを作成します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project
Authorization
Owner Admin
Body parameters
| Name | Type | Description |
|---|---|---|
| name | string | プロジェクト名 |
| fullName | string | 正式名称 |
| purpose | string | プロジェクトの目的 |
Example responses
{
"requestedBy": 1,
"project": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "elephant-website-wj5iv",
"fullName": "Elephant website development project",
"purpose": "Investigating elephant ecology.",
"avatarUrl": "",
"productImageUrl": "",
"sortOrder": 0,
"free": false,
"isClosed": false,
"isPublic": false,
"extra": null,
"space": 1
}
}
プロジェクトを更新する
PATCH /api/project/:projectId
指定したプロジェクトを更新します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId
Authorization
Owner Admin
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
Body parameters
| Name | Type | Description |
|---|---|---|
| name | string | プロジェクト名 |
| fullName | string | 正式名称 |
| purpose | string | プロジェクトの目的 |
Example responses
{
"requestedBy": 1,
"project": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "elephant-website",
"fullName": "Elephant website development project",
"purpose": "Investigating elephant ecology.",
"avatarUrl": "/dummy/project-icon1.png",
"backgroundUrl": "/dummy/project-bg1.png",
"productImageUrl": "",
"sortOrder": 0,
"free": true,
"isClosed": false,
"isPublic": false,
"extra": {},
"space": 1
}
}
プロジェクトに参加しているユーザーを取得する
GET /api/project/:projectId/users
指定したプロジェクトに参加しているユーザーを返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/users
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
Example responses
{
"requestedBy": 1,
"users": [
{
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Reon",
"fullName": "Reon Walls",
"avatarUrl": "/dummy/avatar1.png",
"billingStatus": "active",
"extra": null,
"space": 1,
"language": 2,
"timeZone": 100
}
]
}
プロジェクトにユーザーを追加する
PUT /api/project/:projectId/users/:userId
プロジェクトにユーザーを追加します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/users/:userId
Authorization
Owner Admin
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
userId* | string | ユーザーID |
Example responses
{
"requestedBy": 1,
"project": {
"users": [
{
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Reon",
"fullName": "Reon Walls",
"avatarUrl": "/dummy/avatar1.png",
"billingStatus": "active",
"extra": null,
"space": 1,
"language": 2,
"timeZone": 100
}
],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "next-prj",
"fullName": "Next Standard",
"purpose": "",
"avatarUrl": "/dummy/project-icon4.png",
"productImageUrl": "",
"sortOrder": 0,
"free": false,
"isClosed": false,
"isPublic": false,
"extra": null,
"space": 1
}
}
プロジェクトからユーザーを外す
DELETE /api/project/:projectId/users/:userId
プロジェクトからユーザーを外します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/users/:userId
Authorization
Owner Admin
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
userId* | string | ユーザーID |
Example responses
{
"requestedBy": 1,
"project": {
"users": [
{
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Reon",
"fullName": "Reon Walls",
"avatarUrl": "/dummy/avatar1.png",
"billingStatus": "active",
"extra": null,
"space": 1,
"language": 2,
"timeZone": 100
}
],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "next-prj",
"fullName": "Next Standard",
"purpose": "",
"avatarUrl": "/dummy/project-icon4.png",
"productImageUrl": "",
"sortOrder": 0,
"free": false,
"isClosed": false,
"isPublic": false,
"extra": null,
"space": 1
}
}
プロジェクトのアクティビティを取得する
GET /api/activity/project/:projectId
指定したプロジェクトのアクティビティを返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/activity/project/:projectId
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
Query parameters
| Name | Type | Description |
|---|---|---|
| page | number | ページ。1が最初。 |
Example responses
{
"requestedBy": 1,
"project": 1,
"activities": [
{
"id": 1746,
"createdAt": 1672498800000,
"model": "Task",
"modelId": 1,
"property": "files",
"isMultiple": false,
"action": "update",
"user": {
"id": 1746,
"name": "Reon",
"fullName": "Reon Walls",
"avatarUrl": "/dummy/avatar1.png",
"extra": {}
},
"project": {
"id": 1746,
"name": "elephant-website",
"fullName": "Elephant website development project"
},
"ref": {
"link": {
"text": "Task name",
"path": "/project/5B/task/5B"
},
"fromContent": [
"space-logo.png"
],
"toContent": [],
"content": "space-logo.png removed"
}
}
]
}
プロジェクトのステータス一覧を取得する
GET /api/project/:projectId/status
指定したプロジェクトのステータス一覧を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/status
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
Example responses
{
"requestedBy": 1,
"statuses": [
{
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "Todo",
"sortOrder": 0,
"isClosed": false,
"color": null,
"space": 1,
"project": 1
}
]
}
マイルストーンの一覧を取得する
GET /api/project/:projectId/milestone
指定したプロジェクトのマイルストーンの一覧を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/project/:projectId/milestone
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
projectId* | string | プロジェクトID |
Example responses
{
"requestedBy": 1,
"project": 1,
"milestones": [
{
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "v1.37.0",
"dueDate": 1672498800000,
"isClosed": false,
"space": 1,
"project": 1
}
]
}
スペース
スペース情報を取得する
GET /api/space/base
スペース情報を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/space/base
Authorization
Owner
Example responses
{
"requestedBy": 1,
"space": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"archivedAt": null,
"name": "aaa",
"fullName": "ABC Inc.",
"information": "The entire meeting will be held at 10 o'clock on April 3rd.\n",
"avatarUrl": "/dummy/space-logo.png",
"status": "active",
"ipVerification": false,
"twoFactorRequired": false,
"currentPeriodEnd": 2626076079702,
"cancelAtPeriodEnd": false,
"subscriptionStatus": "active",
"paymentSucceeded": true,
"trialed": false,
"language": 1,
"plan": 1
}
}
新しいメンバーを招待する
POST /api/space/invite
新しいメンバーを招待します。宛先メンバーにメールが届きます。メンバーは届いたメールからスペースに参加します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/space/invite
Authorization
Owner Admin
Body parameters
| Name | Type | Description |
|---|---|---|
email* | string | メールアドレス |
name* | string | 名前 |
| fullName | string | フルネーム |
| projects | array | プロジェクトID |
Example responses
{
"message": "success"
}
全てのタグ一覧を取得する
GET /api/tag/all
全てのタグ一覧を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/tag/all
Authorization
Owner Admin Member
Example responses
{
"requestedBy": 1,
"tags": [
{
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"name": "CSS",
"sortOrder": 0,
"color": "#CDDC39",
"type": null,
"space": 1,
"count": 86
}
]
}
受信トレイ
自分の受信トレイを取得する
GET /api/inbox/:status
自分の受信トレイを返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/inbox/:status
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
| status | enum (unread, archived) | ステータス。未読か既読か。 |
Query parameters
| Name | Type | Description |
|---|---|---|
| page | number | ページ。1が最初。 |
Example responses
{
"requestedBy": 1,
"inboxNotifications": [
{
"id": 1746,
"status": "archived",
"activity": {
"id": 1746,
"createdAt": 1672498800000,
"model": "Task",
"modelId": 2,
"property": "status",
"isMultiple": false,
"action": "update",
"user": {
"id": 1746,
"name": "Seb",
"fullName": "Seb Osborn",
"avatarUrl": "/dummy/avatar2.png",
"extra": {}
},
"project": {
"id": 1746,
"name": "elephant-website",
"fullName": "Elephant website development project"
},
"ref": {
"link": {
"text": "Create a design base",
"path": "/project/5B/task/ev"
},
"fromContent": "\"Todo\"",
"toContent": "\"Doing\"",
"content": "\"Todo\" → \"Doing\""
}
}
}
]
}
受信トレイを更新する
PATCH /api/inbox/:id
受信トレイの未読・既読を更新します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/inbox/:id
Authorization
Owner Admin Member
Path parameters
| Name | Type | Description |
|---|---|---|
id* | enum (unread, archived) | 受信トレイID |
Body parameters
| Name | Type | Description |
|---|---|---|
status* | enum (unread, archived) | ステータス。未読か既読か。 |
Example responses
{
"requestedBy": 1,
"inboxNotification": {
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"status": "archived",
"space": 1,
"activity": 1,
"user": 1
}
}
受信トレイを一括既読にする
POST /api/inbox/archive_all
受信トレイを一括既読にします。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/inbox/archive_all
Authorization
Owner Admin Member
Example responses
{
"message": "success"
}
受信トレイの未読件数を取得する
GET /api/inbox/unread_count
受信トレイの未読件数を返します。
Endpoint URL
https://<space_id>.legacy.repsona.com/api/inbox/unread_count
Authorization
Owner Admin Member
Example responses
{
"requestedBy": 1,
"count": 0
}