|
2957 | 2957 | ] |
2958 | 2958 | } |
2959 | 2959 | }, |
| 2960 | + "/api/v1/members/external/{external_id}": { |
| 2961 | + "get": { |
| 2962 | + "tags": [ |
| 2963 | + "Members" |
| 2964 | + ], |
| 2965 | + "summary": "Get member by external Id", |
| 2966 | + "description": "Returns a member profile by External Id", |
| 2967 | + "operationId": "getMemberByIdExternalId", |
| 2968 | + "parameters": [ |
| 2969 | + { |
| 2970 | + "name": "external_id", |
| 2971 | + "in": "path", |
| 2972 | + "description": "Member External ID", |
| 2973 | + "required": true, |
| 2974 | + "schema": { |
| 2975 | + "type": "integer" |
| 2976 | + } |
| 2977 | + }, |
| 2978 | + { |
| 2979 | + "name": "expand", |
| 2980 | + "in": "query", |
| 2981 | + "description": "Expand relationships", |
| 2982 | + "required": false, |
| 2983 | + "schema": { |
| 2984 | + "type": "string" |
| 2985 | + } |
| 2986 | + } |
| 2987 | + ], |
| 2988 | + "responses": { |
| 2989 | + "200": { |
| 2990 | + "description": "Successful operation", |
| 2991 | + "content": { |
| 2992 | + "application/json": { |
| 2993 | + "schema": { |
| 2994 | + "$ref": "#/components/schemas/Member" |
| 2995 | + } |
| 2996 | + } |
| 2997 | + } |
| 2998 | + }, |
| 2999 | + "401": { |
| 3000 | + "description": "Unauthorized" |
| 3001 | + }, |
| 3002 | + "404": { |
| 3003 | + "description": "Member not found" |
| 3004 | + } |
| 3005 | + }, |
| 3006 | + "security": [ |
| 3007 | + { |
| 3008 | + "members_oauth2": [ |
| 3009 | + "http://localhost/members/read" |
| 3010 | + ] |
| 3011 | + } |
| 3012 | + ], |
| 3013 | + "x-required-groups": [ |
| 3014 | + "super-admins", |
| 3015 | + "administrators", |
| 3016 | + "summit-front-end-administrators" |
| 3017 | + ] |
| 3018 | + } |
| 3019 | + }, |
2960 | 3020 | "/api/v1/members/me/affiliations/{affiliation_id}": { |
2961 | 3021 | "put": { |
2962 | 3022 | "tags": [ |
|
40435 | 40495 | ] |
40436 | 40496 | } |
40437 | 40497 | }, |
| 40498 | + "/api/v1/summits/{id}/promo-codes/all/discover": { |
| 40499 | + "get": { |
| 40500 | + "tags": [ |
| 40501 | + "Promo Codes" |
| 40502 | + ], |
| 40503 | + "summary": "Discover qualifying promo codes for the current user", |
| 40504 | + "description": "Returns domain-authorized promo codes (matched by email domain) and existing email-linked promo codes (member/speaker, matched by associated email) for the current user", |
| 40505 | + "operationId": "discoverPromoCodesBySummit", |
| 40506 | + "parameters": [ |
| 40507 | + { |
| 40508 | + "name": "id", |
| 40509 | + "in": "path", |
| 40510 | + "required": true, |
| 40511 | + "schema": { |
| 40512 | + "type": "integer" |
| 40513 | + } |
| 40514 | + }, |
| 40515 | + { |
| 40516 | + "name": "expand", |
| 40517 | + "in": "query", |
| 40518 | + "required": false, |
| 40519 | + "schema": { |
| 40520 | + "type": "string" |
| 40521 | + } |
| 40522 | + } |
| 40523 | + ], |
| 40524 | + "responses": { |
| 40525 | + "200": { |
| 40526 | + "description": "OK" |
| 40527 | + }, |
| 40528 | + "401": { |
| 40529 | + "description": "Unauthorized" |
| 40530 | + }, |
| 40531 | + "403": { |
| 40532 | + "description": "Forbidden" |
| 40533 | + }, |
| 40534 | + "404": { |
| 40535 | + "description": "Summit not found" |
| 40536 | + } |
| 40537 | + }, |
| 40538 | + "security": [ |
| 40539 | + { |
| 40540 | + "summit_promo_codes_oauth2": [ |
| 40541 | + "http://localhost/summits/read", |
| 40542 | + "http://localhost/summits/read/all" |
| 40543 | + ] |
| 40544 | + } |
| 40545 | + ] |
| 40546 | + } |
| 40547 | + }, |
40438 | 40548 | "/api/v1/summits/{id}/tracks/{track_id}/proposed-schedule-allowed-locations": { |
40439 | 40549 | "get": { |
40440 | 40550 | "tags": [ |
|
78762 | 78872 | "description": "Attendee QR code", |
78763 | 78873 | "type": "string" |
78764 | 78874 | }, |
| 78875 | + "sponsor_id": { |
| 78876 | + "description": "Current Summit Sponsor ID (Multiple sponsors per summit)", |
| 78877 | + "type": "integer" |
| 78878 | + }, |
78765 | 78879 | "scan_date": { |
78766 | 78880 | "description": "Scan date (Unix timestamp)", |
78767 | 78881 | "type": "integer" |
|
83055 | 83169 | "enum": [ |
83056 | 83170 | "All", |
83057 | 83171 | "WithInvitation", |
83058 | | - "WithoutInvitation" |
| 83172 | + "WithoutInvitation", |
| 83173 | + "WithPromoCode" |
83059 | 83174 | ], |
83060 | 83175 | "example": "All" |
83061 | 83176 | }, |
|
83127 | 83242 | "enum": [ |
83128 | 83243 | "All", |
83129 | 83244 | "WithInvitation", |
83130 | | - "WithoutInvitation" |
| 83245 | + "WithoutInvitation", |
| 83246 | + "WithPromoCode" |
83131 | 83247 | ], |
83132 | 83248 | "example": "All" |
83133 | 83249 | }, |
|
0 commit comments