{"openapi":"3.1.0","info":{"title":"CMUBS API Gateway \u2014 Unified Upstream API","version":"1.0.0","description":"\u0e23\u0e30\u0e1a\u0e1a\u0e15\u0e31\u0e27\u0e01\u0e25\u0e32\u0e07\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23 API \u0e08\u0e32\u0e01\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e41\u0e25\u0e30\u0e2b\u0e19\u0e48\u0e27\u0e22\u0e07\u0e32\u0e19\u0e15\u0e48\u0e32\u0e07\u0e46 \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e23\u0e30\u0e1a\u0e1a\u0e20\u0e32\u0e22\u0e43\u0e19\u0e04\u0e13\u0e30\u0e1a\u0e23\u0e34\u0e2b\u0e32\u0e23\u0e18\u0e38\u0e23\u0e01\u0e34\u0e08 \u0e21\u0e2b\u0e32\u0e27\u0e34\u0e17\u0e22\u0e32\u0e25\u0e31\u0e22\u0e40\u0e0a\u0e35\u0e22\u0e07\u0e43\u0e2b\u0e21\u0e48 (CMUBS) \u0e1e\u0e23\u0e49\u0e2d\u0e21 PDPA Data Blinding \u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34","contact":{"name":"CMUBS IT Unit","email":"it@cmubs.cmu.ac.th"}},"servers":[{"url":"https:\/\/api.cmubs.cmu.ac.th","description":"CMUBS API Gateway Server"}],"security":[{"ApiKeyAuth":[]}],"tags":[{"name":"CMU ITSC Account & HR Me (Delegated User)","description":"\u0e0a\u0e38\u0e14\u0e15\u0e49\u0e19\u0e41\u0e1a\u0e1a\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a API \u0e01\u0e25\u0e38\u0e48\u0e21 *.Read.Me.* \u0e02\u0e2d\u0e07 \u0e21\u0e0a. \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49 Token \u0e02\u0e2d\u0e07\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e17\u0e35\u0e48\u0e25\u0e47\u0e2d\u0e01\u0e2d\u0e34\u0e19\u0e2d\u0e22\u0e39\u0e48 (\u0e01\u0e23\u0e38\u0e13\u0e32\u0e41\u0e17\u0e19\u0e17\u0e35\u0e48 Client ID, Client Secret \u0e41\u0e25\u0e30 Base URL \u0e08\u0e23\u0e34\u0e07\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e1b\u0e34\u0e14\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19)"}],"paths":{"\/api\/v1\/gw\/cmu-itsc-account-me\/profile\/bundle":{"get":{"tags":["CMU ITSC Account & HR Me (Delegated User)"],"summary":"Composite: \u0e42\u0e1b\u0e23\u0e44\u0e1f\u0e25\u0e4c\u0e1a\u0e38\u0e04\u0e25\u0e32\u0e01\u0e23 CMUBS \u0e04\u0e23\u0e1a\u0e0a\u0e38\u0e14 (4 API \u0e43\u0e19\u0e04\u0e33\u0e02\u0e2d\u0e40\u0e14\u0e35\u0e22\u0e27)","description":"\u0e23\u0e27\u0e21 Account + HR Personal + HR Basic + HR Image (Base64) \u0e43\u0e19 1 Request \u0e41\u0e1a\u0e1a Parallel \u0e42\u0e14\u0e22\u0e14\u0e36\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 HR \u0e40\u0e09\u0e1e\u0e32\u0e30\u0e1a\u0e38\u0e04\u0e25\u0e32\u0e01\u0e23\u0e2a\u0e31\u0e07\u0e01\u0e31\u0e14\u0e04\u0e13\u0e30\u0e1a\u0e23\u0e34\u0e2b\u0e32\u0e23\u0e18\u0e38\u0e23\u0e01\u0e34\u0e08 (organization_code = 15)\n\n**Execution Mode:** Composite Aggregator (4 steps) + Dynamic Proxy\n\n**Default PDPA Blinding (denylist):** `personal.personalID` \u2192 mask (thai_citizen_id), `personal.birthDate` \u2192 remove","operationId":"get_cmu-itsc-account-me_profile_bundle","security":[{"ApiKeyAuth":[]}],"responses":{"200":{"description":"Successful response (with PDPA data blinding applied according to consumer policy)","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"X-Gateway-Mode":{"schema":{"type":"string","enum":["proxy","adapter"]}},"X-Gateway-Blinding-Applied":{"schema":{"type":"string","enum":["true","false"]}}},"content":{"application\/json":{"schema":{"type":"object"}}}},"401":{"description":"Missing or invalid API key"},"403":{"description":"Consumer not authorized for this route or IP not allowed"},"429":{"description":"Consumer rate limit exceeded"},"502":{"description":"Upstream service error or authentication failure"}},"parameters":[{"name":"X-Upstream-Authorization","in":"header","required":true,"description":"Delegated User OAuth2 Access Token (Bearer <access_token>) \u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01 \/oauth\/exchange","schema":{"type":"string"}}]}},"\/api\/v1\/gw\/cmu-itsc-account-me\/account\/basicinfo":{"get":{"tags":["CMU ITSC Account & HR Me (Delegated User)"],"summary":"ACC01-1-01 \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1a\u0e31\u0e0d\u0e0a\u0e35\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 (Me)","description":"\u0e14\u0e36\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1a\u0e31\u0e0d\u0e0a\u0e35 CMU IT Account \u0e02\u0e2d\u0e07\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e17\u0e35\u0e48\u0e25\u0e47\u0e2d\u0e01\u0e2d\u0e34\u0e19\u0e2d\u0e22\u0e39\u0e48\n\n**Execution Mode:** Dynamic Proxy\n\n**Default PDPA Blinding:** None","operationId":"get_cmu-itsc-account-me_account_basicinfo","security":[{"ApiKeyAuth":[]}],"responses":{"200":{"description":"Successful response (with PDPA data blinding applied according to consumer policy)","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"X-Gateway-Mode":{"schema":{"type":"string","enum":["proxy","adapter"]}},"X-Gateway-Blinding-Applied":{"schema":{"type":"string","enum":["true","false"]}}},"content":{"application\/json":{"schema":{"type":"object"}}}},"401":{"description":"Missing or invalid API key"},"403":{"description":"Consumer not authorized for this route or IP not allowed"},"429":{"description":"Consumer rate limit exceeded"},"502":{"description":"Upstream service error or authentication failure"}},"parameters":[{"name":"X-Upstream-Authorization","in":"header","required":true,"description":"Delegated User OAuth2 Access Token (Bearer <access_token>) \u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01 \/oauth\/exchange","schema":{"type":"string"}}]}},"\/api\/v1\/gw\/cmu-itsc-account-me\/hr\/personalinfo":{"get":{"tags":["CMU ITSC Account & HR Me (Delegated User)"],"summary":"EMP01-1-01 \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e2a\u0e48\u0e27\u0e19\u0e15\u0e31\u0e27\u0e1a\u0e38\u0e04\u0e25\u0e32\u0e01\u0e23 (Me)","description":"\u0e14\u0e36\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e2a\u0e48\u0e27\u0e19\u0e15\u0e31\u0e27\u0e1a\u0e38\u0e04\u0e25\u0e32\u0e01\u0e23\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e1b\u0e01\u0e1b\u0e34\u0e14\u0e40\u0e25\u0e02\u0e1a\u0e31\u0e15\u0e23\u0e1b\u0e23\u0e30\u0e0a\u0e32\u0e0a\u0e19 \u0e27\u0e31\u0e19\u0e40\u0e01\u0e34\u0e14 \u0e41\u0e25\u0e30\u0e40\u0e1a\u0e2d\u0e23\u0e4c\u0e42\u0e17\u0e23\u0e15\u0e32\u0e21 PDPA\n\n**Execution Mode:** Dynamic Proxy\n\n**Default PDPA Blinding (denylist):** `personalID` \u2192 mask (thai_citizen_id), `birthDate` \u2192 remove, `officePhone` \u2192 mask (phone)","operationId":"get_cmu-itsc-account-me_hr_personalinfo","security":[{"ApiKeyAuth":[]}],"responses":{"200":{"description":"Successful response (with PDPA data blinding applied according to consumer policy)","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"X-Gateway-Mode":{"schema":{"type":"string","enum":["proxy","adapter"]}},"X-Gateway-Blinding-Applied":{"schema":{"type":"string","enum":["true","false"]}}},"content":{"application\/json":{"schema":{"type":"object"}}}},"401":{"description":"Missing or invalid API key"},"403":{"description":"Consumer not authorized for this route or IP not allowed"},"429":{"description":"Consumer rate limit exceeded"},"502":{"description":"Upstream service error or authentication failure"}},"parameters":[{"name":"X-Upstream-Authorization","in":"header","required":true,"description":"Delegated User OAuth2 Access Token (Bearer <access_token>) \u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01 \/oauth\/exchange","schema":{"type":"string"}}]}},"\/api\/v1\/gw\/cmu-itsc-account-me\/hr\/basicinfo":{"get":{"tags":["CMU ITSC Account & HR Me (Delegated User)"],"summary":"EMP01-1-03 \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1e\u0e37\u0e49\u0e19\u0e10\u0e32\u0e19\u0e1a\u0e38\u0e04\u0e25\u0e32\u0e01\u0e23\u0e41\u0e25\u0e30\u0e2a\u0e31\u0e07\u0e01\u0e31\u0e14 (Me)","description":"\u0e14\u0e36\u0e07\u0e15\u0e33\u0e41\u0e2b\u0e19\u0e48\u0e07\u0e07\u0e32\u0e19 \u0e2a\u0e16\u0e32\u0e19\u0e30\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19 \u0e41\u0e25\u0e30\u0e42\u0e04\u0e23\u0e07\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e2b\u0e19\u0e48\u0e27\u0e22\u0e07\u0e32\u0e19 4 \u0e23\u0e30\u0e14\u0e31\u0e1a\n\n**Execution Mode:** Dynamic Proxy\n\n**Default PDPA Blinding:** None","operationId":"get_cmu-itsc-account-me_hr_basicinfo","security":[{"ApiKeyAuth":[]}],"responses":{"200":{"description":"Successful response (with PDPA data blinding applied according to consumer policy)","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"X-Gateway-Mode":{"schema":{"type":"string","enum":["proxy","adapter"]}},"X-Gateway-Blinding-Applied":{"schema":{"type":"string","enum":["true","false"]}}},"content":{"application\/json":{"schema":{"type":"object"}}}},"401":{"description":"Missing or invalid API key"},"403":{"description":"Consumer not authorized for this route or IP not allowed"},"429":{"description":"Consumer rate limit exceeded"},"502":{"description":"Upstream service error or authentication failure"}},"parameters":[{"name":"X-Upstream-Authorization","in":"header","required":true,"description":"Delegated User OAuth2 Access Token (Bearer <access_token>) \u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01 \/oauth\/exchange","schema":{"type":"string"}}]}},"\/api\/v1\/gw\/cmu-itsc-account-me\/hr\/image":{"get":{"tags":["CMU ITSC Account & HR Me (Delegated User)"],"summary":"EMP01-1-05 \u0e23\u0e39\u0e1b\u0e20\u0e32\u0e1e\u0e42\u0e1b\u0e23\u0e44\u0e1f\u0e25\u0e4c\u0e1a\u0e38\u0e04\u0e25\u0e32\u0e01\u0e23 (Binary Image)","description":"\u0e2a\u0e48\u0e07\u0e15\u0e48\u0e2d\u0e23\u0e39\u0e1b\u0e20\u0e32\u0e1e\u0e1a\u0e38\u0e04\u0e25\u0e32\u0e01\u0e23\u0e41\u0e1a\u0e1a Binary-Safe \u0e1e\u0e23\u0e49\u0e2d\u0e21 Cache \u0e41\u0e22\u0e01\u0e23\u0e32\u0e22\u0e1a\u0e38\u0e04\u0e04\u0e25\n\n**Execution Mode:** Dynamic Proxy\n\n**Default PDPA Blinding:** None","operationId":"get_cmu-itsc-account-me_hr_image","security":[{"ApiKeyAuth":[]}],"responses":{"200":{"description":"Successful response (with PDPA data blinding applied according to consumer policy)","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"X-Gateway-Mode":{"schema":{"type":"string","enum":["proxy","adapter"]}},"X-Gateway-Blinding-Applied":{"schema":{"type":"string","enum":["true","false"]}}},"content":{"application\/json":{"schema":{"type":"object"}}}},"401":{"description":"Missing or invalid API key"},"403":{"description":"Consumer not authorized for this route or IP not allowed"},"429":{"description":"Consumer rate limit exceeded"},"502":{"description":"Upstream service error or authentication failure"}},"parameters":[{"name":"X-Upstream-Authorization","in":"header","required":true,"description":"Delegated User OAuth2 Access Token (Bearer <access_token>) \u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01 \/oauth\/exchange","schema":{"type":"string"}}]}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API Key \u0e1b\u0e23\u0e30\u0e08\u0e33\u0e23\u0e30\u0e1a\u0e1a\u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e23\u0e31\u0e1a\u0e08\u0e32\u0e01\u0e2b\u0e19\u0e49\u0e32 Admin Dashboard (\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e2a\u0e48\u0e07\u0e40\u0e1b\u0e47\u0e19 Authorization: Bearer <key> \u0e44\u0e14\u0e49\u0e40\u0e0a\u0e48\u0e19\u0e01\u0e31\u0e19)"}}}}