|
2663 | 2663 | }
|
2664 | 2664 | }
|
2665 | 2665 | },
|
2666 |
| - "/subscriber/attribute-values/{subscriberId}/{definitionId}": { |
| 2666 | + "/subscribers/attribute-values/{subscriberId}/{definitionId}": { |
| 2667 | + "get": { |
| 2668 | + "tags": [ |
| 2669 | + "subscriber-attributes" |
| 2670 | + ], |
| 2671 | + "summary": "Gets subscriber attribute.", |
| 2672 | + "description": "🚧 **Status: Beta** – This method is under development. Avoid using in production. Returns a single attribute.", |
| 2673 | + "operationId": "9331775697d9b47dd251648cfb300155", |
| 2674 | + "parameters": [ |
| 2675 | + { |
| 2676 | + "name": "definitionId", |
| 2677 | + "in": "path", |
| 2678 | + "description": "attribute definition id", |
| 2679 | + "required": true, |
| 2680 | + "schema": { |
| 2681 | + "type": "integer" |
| 2682 | + } |
| 2683 | + }, |
| 2684 | + { |
| 2685 | + "name": "subscriberId", |
| 2686 | + "in": "path", |
| 2687 | + "description": "Subscriber id", |
| 2688 | + "required": true, |
| 2689 | + "schema": { |
| 2690 | + "type": "integer" |
| 2691 | + } |
| 2692 | + }, |
| 2693 | + { |
| 2694 | + "name": "session", |
| 2695 | + "in": "header", |
| 2696 | + "description": "Session ID obtained from authentication", |
| 2697 | + "required": true, |
| 2698 | + "schema": { |
| 2699 | + "type": "string" |
| 2700 | + } |
| 2701 | + } |
| 2702 | + ], |
| 2703 | + "responses": { |
| 2704 | + "200": { |
| 2705 | + "description": "Success", |
| 2706 | + "content": { |
| 2707 | + "application/json": { |
| 2708 | + "schema": { |
| 2709 | + "$ref": "#/components/schemas/SubscriberAttributeValue" |
| 2710 | + } |
| 2711 | + } |
| 2712 | + } |
| 2713 | + }, |
| 2714 | + "403": { |
| 2715 | + "description": "Failure", |
| 2716 | + "content": { |
| 2717 | + "application/json": { |
| 2718 | + "schema": { |
| 2719 | + "$ref": "#/components/schemas/UnauthorizedResponse" |
| 2720 | + } |
| 2721 | + } |
| 2722 | + } |
| 2723 | + }, |
| 2724 | + "404": { |
| 2725 | + "description": "Failure", |
| 2726 | + "content": { |
| 2727 | + "application/json": { |
| 2728 | + "schema": { |
| 2729 | + "properties": { |
| 2730 | + "message": { |
| 2731 | + "type": "string", |
| 2732 | + "example": "There is no attribute with that ID." |
| 2733 | + } |
| 2734 | + }, |
| 2735 | + "type": "object" |
| 2736 | + } |
| 2737 | + } |
| 2738 | + } |
| 2739 | + } |
| 2740 | + } |
| 2741 | + }, |
2667 | 2742 | "post": {
|
2668 | 2743 | "tags": [
|
2669 | 2744 | "subscriber-attributes"
|
2670 | 2745 | ],
|
2671 | 2746 | "summary": "Create/update a subscriber attribute.",
|
2672 | 2747 | "description": "🚧 **Status: Beta** – This method is under development. Avoid using in production. Returns created/updated subscriber attribute.",
|
2673 |
| - "operationId": "6eaa4d0a145a75d7649c41ec5570d19b", |
| 2748 | + "operationId": "2e2e50768570f012a28defd664415385", |
2674 | 2749 | "parameters": [
|
2675 | 2750 | {
|
2676 | 2751 | "name": "session",
|
|
2756 | 2831 | ],
|
2757 | 2832 | "summary": "Deletes an attribute.",
|
2758 | 2833 | "description": "🚧 **Status: Beta** – This method is under development. Avoid using in production. Deletes a single subscriber attribute.",
|
2759 |
| - "operationId": "a4cfb41e412cf5edb45654d08bc253b0", |
| 2834 | + "operationId": "4942ec0e46932ea1c3d93bc8275b25f1", |
2760 | 2835 | "parameters": [
|
2761 | 2836 | {
|
2762 | 2837 | "name": "session",
|
|
2899 | 2974 | }
|
2900 | 2975 | }
|
2901 | 2976 | },
|
2902 |
| - "/subscribers/attribute-values/{subscriberId}/{definitionId}": { |
2903 |
| - "get": { |
2904 |
| - "tags": [ |
2905 |
| - "subscriber-attributes" |
2906 |
| - ], |
2907 |
| - "summary": "Gets subscriber attribute.", |
2908 |
| - "description": "🚧 **Status: Beta** – This method is under development. Avoid using in production. Returns a single attribute.", |
2909 |
| - "operationId": "9331775697d9b47dd251648cfb300155", |
2910 |
| - "parameters": [ |
2911 |
| - { |
2912 |
| - "name": "definitionId", |
2913 |
| - "in": "path", |
2914 |
| - "description": "attribute definition id", |
2915 |
| - "required": true, |
2916 |
| - "schema": { |
2917 |
| - "type": "integer" |
2918 |
| - } |
2919 |
| - }, |
2920 |
| - { |
2921 |
| - "name": "subscriberId", |
2922 |
| - "in": "path", |
2923 |
| - "description": "Subscriber id", |
2924 |
| - "required": true, |
2925 |
| - "schema": { |
2926 |
| - "type": "integer" |
2927 |
| - } |
2928 |
| - }, |
2929 |
| - { |
2930 |
| - "name": "session", |
2931 |
| - "in": "header", |
2932 |
| - "description": "Session ID obtained from authentication", |
2933 |
| - "required": true, |
2934 |
| - "schema": { |
2935 |
| - "type": "string" |
2936 |
| - } |
2937 |
| - } |
2938 |
| - ], |
2939 |
| - "responses": { |
2940 |
| - "200": { |
2941 |
| - "description": "Success", |
2942 |
| - "content": { |
2943 |
| - "application/json": { |
2944 |
| - "schema": { |
2945 |
| - "$ref": "#/components/schemas/SubscriberAttributeValue" |
2946 |
| - } |
2947 |
| - } |
2948 |
| - } |
2949 |
| - }, |
2950 |
| - "403": { |
2951 |
| - "description": "Failure", |
2952 |
| - "content": { |
2953 |
| - "application/json": { |
2954 |
| - "schema": { |
2955 |
| - "$ref": "#/components/schemas/UnauthorizedResponse" |
2956 |
| - } |
2957 |
| - } |
2958 |
| - } |
2959 |
| - }, |
2960 |
| - "404": { |
2961 |
| - "description": "Failure", |
2962 |
| - "content": { |
2963 |
| - "application/json": { |
2964 |
| - "schema": { |
2965 |
| - "properties": { |
2966 |
| - "message": { |
2967 |
| - "type": "string", |
2968 |
| - "example": "There is no attribute with that ID." |
2969 |
| - } |
2970 |
| - }, |
2971 |
| - "type": "object" |
2972 |
| - } |
2973 |
| - } |
2974 |
| - } |
2975 |
| - } |
2976 |
| - } |
2977 |
| - } |
2978 |
| - }, |
2979 | 2977 | "/subscribers": {
|
2980 | 2978 | "post": {
|
2981 | 2979 | "tags": [
|
|
0 commit comments