Skip to content

[CORE-353] Filter API#145

Merged
dytsou merged 6 commits into
mainfrom
feat/CORE-353-filter
Jun 26, 2026
Merged

[CORE-353] Filter API#145
dytsou merged 6 commits into
mainfrom
feat/CORE-353-filter

Conversation

@S-h-u-a-n

@S-h-u-a-n S-h-u-a-n commented May 27, 2026

Copy link
Copy Markdown
Contributor

Type of changes

  • Feature

Purpose

  • Add GET /api/forms/{formId}/views/{viewId}/questions/{questionId}/filters
  • Add POST /api/forms/{formId}/responses/query
  • Adjust GET /api/forms/{formId}/views/{viewId}

Additional Information

Change the response of GET /api/forms/{formId}/views/{viewId} into :
{
"id": "f1a2b3c4-5d6e-7f8a-9b0c-1d2e3f4a5b6c",
"title": "Core System",
"locked": false,
"order": 0,
"createdAt": "2025-01-15T10:00:00Z",
"updatedAt": "2025-02-10T14:30:00Z",
"columns": [
{
"questionId": "a1b2c3d4-...",
"questionTitle": "部門",
},
{
"questionId": "e5f6g7h8-...",
"questionTitle": "姓名",
},
]
}

( Add "columns" )

@github-actions

github-actions Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

🧹 PR is closed. Preview docs removed.

🔗 https://NYCU-SDC.github.io/core-system-api/preview-145/

@S-h-u-a-n S-h-u-a-n changed the title feat: filter api [CORE-353] Filter API May 27, 2026
@dytsou dytsou requested review from dytsou and linoil May 30, 2026 08:38
Comment thread src/form/question/models.tsp
Comment thread src/form/response/models.tsp Outdated
Comment thread src/form/response/models.tsp Outdated
Comment thread src/form/response/models.tsp Outdated
Comment thread src/form/response/models.tsp Outdated
@S-h-u-a-n S-h-u-a-n requested review from dytsou and linoil June 22, 2026 05:38
Comment thread src/form/response/operations.tsp
Comment thread src/form/question/operations.tsp
@S-h-u-a-n S-h-u-a-n requested a review from dytsou June 26, 2026 14:50
@dytsou dytsou merged commit fd09623 into main Jun 26, 2026
4 checks passed
github-actions Bot added a commit that referenced this pull request Jun 26, 2026
@dytsou dytsou deleted the feat/CORE-353-filter branch June 28, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants