Skip to content

Commit 21397fa

Browse files
author
github-actions
committed
Update REST API documentation Thu Jul 10 06:46:23 UTC 2025
1 parent 9e3041b commit 21397fa

File tree

1 file changed

+78
-80
lines changed

1 file changed

+78
-80
lines changed

restapi.json

Lines changed: 78 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -2663,14 +2663,89 @@
26632663
}
26642664
}
26652665
},
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+
},
26672742
"post": {
26682743
"tags": [
26692744
"subscriber-attributes"
26702745
],
26712746
"summary": "Create/update a subscriber attribute.",
26722747
"description": "🚧 **Status: Beta** – This method is under development. Avoid using in production. Returns created/updated subscriber attribute.",
2673-
"operationId": "6eaa4d0a145a75d7649c41ec5570d19b",
2748+
"operationId": "2e2e50768570f012a28defd664415385",
26742749
"parameters": [
26752750
{
26762751
"name": "session",
@@ -2756,7 +2831,7 @@
27562831
],
27572832
"summary": "Deletes an attribute.",
27582833
"description": "🚧 **Status: Beta** – This method is under development. Avoid using in production. Deletes a single subscriber attribute.",
2759-
"operationId": "a4cfb41e412cf5edb45654d08bc253b0",
2834+
"operationId": "4942ec0e46932ea1c3d93bc8275b25f1",
27602835
"parameters": [
27612836
{
27622837
"name": "session",
@@ -2899,83 +2974,6 @@
28992974
}
29002975
}
29012976
},
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-
},
29792977
"/subscribers": {
29802978
"post": {
29812979
"tags": [

0 commit comments

Comments
 (0)