Skip to content

Commit 891d874

Browse files
committed
Upstream API specs
1 parent 1af1d96 commit 891d874

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

statsocial.com/1.0.0./swagger.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -912,25 +912,25 @@
912912
}
913913
},
914914
"400": {
915-
"description": "Possible reasons include: 'Invalid API parameters', 'Error please include the 'action' parameter'",
915+
"description": "Possible reasons include:<br>{success: 0, msg: Invalid API parameters, error_code_msg: API_INVALID_PARAMS}<br>{success: 0, msg: Error please include the 'action' parameter, error_code_msg: API_MISSING_ACTION_PARAMETER}",
916916
"schema": {
917917
"$ref": "#/definitions/400_Error"
918918
}
919919
},
920920
"401": {
921-
"description": "Invalid API key",
921+
"description": "{success: 0, msg: Invalid API key, error_code_msg: API_INVALID_KEY}",
922922
"schema": {
923923
"$ref": "#/definitions/401_Error"
924924
}
925925
},
926926
"403": {
927-
"description": "Possible reasons include: 'You are going too fast', 'Not enough tokens remaining under your application'",
927+
"description": "Possible reasons include:<br>{success: 0, msg: you are going too fast}<br>{success: 0, msg: Not enough tokens remaining under your application, error_code_msg: API_INSUFFICIENT_TOKENS_REMAINING}",
928928
"schema": {
929929
"$ref": "#/definitions/403_Error"
930930
}
931931
},
932932
"500": {
933-
"description": "Possible reasons include: 'Error getting application's credentials', 'Internal database error'",
933+
"description": "Possible reasons include:<br>{success: 0, msg: Error getting application's credentials, error_code_msg: API_ERROR_GETTING_APPLICATION_INFO}}<br>{success: 0, msg: Internal database error, error_code_msg: API_ERROR_DATABASE_INITIATION_ERROR}",
934934
"schema": {
935935
"$ref": "#/definitions/500_Error"
936936
}
@@ -960,25 +960,25 @@
960960
}
961961
},
962962
"400": {
963-
"description": "Possible reasons include: 'Invalid API parameters', 'Error please include the 'action' parameter'",
963+
"description": "Possible reasons include:<br>{success: 0, msg: Invalid API parameters, error_code_msg: API_INVALID_PARAMS}<br>{success: 0, msg: Error please include the 'action' parameter, error_code_msg: API_MISSING_ACTION_PARAMETER}",
964964
"schema": {
965965
"$ref": "#/definitions/400_Error"
966966
}
967967
},
968968
"401": {
969-
"description": "Invalid API key",
969+
"description": "{success: 0, msg: Invalid API key, error_code_msg: API_INVALID_KEY}",
970970
"schema": {
971971
"$ref": "#/definitions/401_Error"
972972
}
973973
},
974974
"403": {
975-
"description": "Possible reasons include: 'You are going too fast', 'Not enough tokens remaining under your application'",
975+
"description": "Possible reasons include:<br>{success: 0, msg: you are going too fast}<br>{success: 0, msg: Not enough tokens remaining under your application, error_code_msg: API_INSUFFICIENT_TOKENS_REMAINING}",
976976
"schema": {
977977
"$ref": "#/definitions/403_Error"
978978
}
979979
},
980980
"500": {
981-
"description": "Possible reasons include: 'Error getting application's credentials', 'Internal database error'",
981+
"description": "Possible reasons include:<br>{success: 0, msg: Error getting application's credentials, error_code_msg: API_ERROR_GETTING_APPLICATION_INFO}}<br>{success: 0, msg: Internal database error, error_code_msg: API_ERROR_DATABASE_INITIATION_ERROR}",
982982
"schema": {
983983
"$ref": "#/definitions/500_Error"
984984
}
@@ -1491,25 +1491,25 @@
14911491
}
14921492
},
14931493
"400": {
1494-
"description": "Possible reasons include: 'Invalid API parameters', 'Error please include the 'action' parameter', 'The twitter account provided has no audience', 'IDS array is too long or in an incorrect format'",
1494+
"description": "Possible reasons include:<br>{success: 0, msg: Invalid API parameters, error_code_msg: API_INVALID_PARAMS}<br>{success: 0, msg: Error please include the 'action' parameter, error_code_msg: API_MISSING_ACTION_PARAMETER}<br>{success: 0, msg: The twitter account provided has no audience, error_code_msg: API_TWITTER_ERROR_INSUFFICIENT_COUNT}",
14951495
"schema": {
14961496
"$ref": "#/definitions/400_Error"
14971497
}
14981498
},
14991499
"401": {
1500-
"description": "Possible reasons include: 'Invalid API key', 'The twitter account provided is private'",
1500+
"description": "Possible reasons include:<br>{success: 0, msg: Invalid API key, error_code_msg: API_INVALID_KEY}<br>{success: 0, msg: The twitter account provided is private, error_code_msg: API_TWITTER_ERROR_PRIVATE}",
15011501
"schema": {
15021502
"$ref": "#/definitions/401_Error"
15031503
}
15041504
},
15051505
"403": {
1506-
"description": "Possible reasons include: 'You are going too fast', 'Not enough tokens remaining under your application'",
1506+
"description": "Possible reasons include:<br>{success: 0, msg: you are going too fast}<br>{success: 0, msg: Not enough tokens remaining under your application, error_code_msg: API_INSUFFICIENT_TOKENS_REMAINING}",
15071507
"schema": {
15081508
"$ref": "#/definitions/403_Error"
15091509
}
15101510
},
15111511
"500": {
1512-
"description": "Possible reasons include: 'Error requesting twitter info', 'Error inserting new twitter report', 'Error getting application's credentials', 'Internal database error'",
1512+
"description": "Possible reasons include:<br>{success: 0, msg: Error requesting twitter info, error_code_msg: API_TWITTER_ERROR}<br>{success: 0, msg: Error inserting new twitter report, error_code_msg: API_ERROR_CREATING_TWITTER_ACCOUNT}<br>{success: 0, msg: Error getting application's credentials, error_code_msg: API_ERROR_GETTING_APPLICATION_INFO}}<br>{success: 0, msg: Internal database error, error_code_msg: API_ERROR_DATABASE_INITIATION_ERROR}",
15131513
"schema": {
15141514
"$ref": "#/definitions/500_Error"
15151515
}
@@ -1546,25 +1546,25 @@
15461546
}
15471547
},
15481548
"400": {
1549-
"description": "Possible reasons include: 'Invalid API parameters', 'Error please include the 'action' parameter', 'The twitter account provided has no audience', 'IDS array is too long or in an incorrect format'",
1549+
"description": "Possible reasons include:<br>{success: 0, msg: Invalid API parameters, error_code_msg: API_INVALID_PARAMS}<br>{success: 0, msg: Error please include the 'action' parameter, error_code_msg: API_MISSING_ACTION_PARAMETER}<br>{success: 0, msg: The twitter account provided has no audience, error_code_msg: API_TWITTER_ERROR_INSUFFICIENT_COUNT}",
15501550
"schema": {
15511551
"$ref": "#/definitions/400_Error"
15521552
}
15531553
},
15541554
"401": {
1555-
"description": "Possible reasons include: 'Invalid API key', 'The twitter account provided is private'",
1555+
"description": "Possible reasons include:<br>{success: 0, msg: Invalid API key, error_code_msg: API_INVALID_KEY}<br>{success: 0, msg: The twitter account provided is private, error_code_msg: API_TWITTER_ERROR_PRIVATE}",
15561556
"schema": {
15571557
"$ref": "#/definitions/401_Error"
15581558
}
15591559
},
15601560
"403": {
1561-
"description": "Possible reasons include: 'You are going too fast', 'Not enough tokens remaining under your application'",
1561+
"description": "Possible reasons include:<br>{success: 0, msg: you are going too fast}<br>{success: 0, msg: Not enough tokens remaining under your application, error_code_msg: API_INSUFFICIENT_TOKENS_REMAINING}",
15621562
"schema": {
15631563
"$ref": "#/definitions/403_Error"
15641564
}
15651565
},
15661566
"500": {
1567-
"description": "Possible reasons include: 'Error requesting twitter info', 'Error inserting new twitter report', 'Error getting application's credentials', 'Internal database error'",
1567+
"description": "Possible reasons include:<br>{success: 0, msg: Error requesting twitter info, error_code_msg: API_TWITTER_ERROR}<br>{success: 0, msg: Error inserting new twitter report, error_code_msg: API_ERROR_CREATING_TWITTER_ACCOUNT}<br>{success: 0, msg: Error getting application's credentials, error_code_msg: API_ERROR_GETTING_APPLICATION_INFO}}<br>{success: 0, msg: Internal database error, error_code_msg: API_ERROR_DATABASE_INITIATION_ERROR}",
15681568
"schema": {
15691569
"$ref": "#/definitions/500_Error"
15701570
}

0 commit comments

Comments
 (0)