|
912 | 912 | }
|
913 | 913 | },
|
914 | 914 | "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}", |
916 | 916 | "schema": {
|
917 | 917 | "$ref": "#/definitions/400_Error"
|
918 | 918 | }
|
919 | 919 | },
|
920 | 920 | "401": {
|
921 |
| - "description": "Invalid API key", |
| 921 | + "description": "{success: 0, msg: Invalid API key, error_code_msg: API_INVALID_KEY}", |
922 | 922 | "schema": {
|
923 | 923 | "$ref": "#/definitions/401_Error"
|
924 | 924 | }
|
925 | 925 | },
|
926 | 926 | "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}", |
928 | 928 | "schema": {
|
929 | 929 | "$ref": "#/definitions/403_Error"
|
930 | 930 | }
|
931 | 931 | },
|
932 | 932 | "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}", |
934 | 934 | "schema": {
|
935 | 935 | "$ref": "#/definitions/500_Error"
|
936 | 936 | }
|
|
960 | 960 | }
|
961 | 961 | },
|
962 | 962 | "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}", |
964 | 964 | "schema": {
|
965 | 965 | "$ref": "#/definitions/400_Error"
|
966 | 966 | }
|
967 | 967 | },
|
968 | 968 | "401": {
|
969 |
| - "description": "Invalid API key", |
| 969 | + "description": "{success: 0, msg: Invalid API key, error_code_msg: API_INVALID_KEY}", |
970 | 970 | "schema": {
|
971 | 971 | "$ref": "#/definitions/401_Error"
|
972 | 972 | }
|
973 | 973 | },
|
974 | 974 | "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}", |
976 | 976 | "schema": {
|
977 | 977 | "$ref": "#/definitions/403_Error"
|
978 | 978 | }
|
979 | 979 | },
|
980 | 980 | "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}", |
982 | 982 | "schema": {
|
983 | 983 | "$ref": "#/definitions/500_Error"
|
984 | 984 | }
|
|
1491 | 1491 | }
|
1492 | 1492 | },
|
1493 | 1493 | "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}", |
1495 | 1495 | "schema": {
|
1496 | 1496 | "$ref": "#/definitions/400_Error"
|
1497 | 1497 | }
|
1498 | 1498 | },
|
1499 | 1499 | "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}", |
1501 | 1501 | "schema": {
|
1502 | 1502 | "$ref": "#/definitions/401_Error"
|
1503 | 1503 | }
|
1504 | 1504 | },
|
1505 | 1505 | "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}", |
1507 | 1507 | "schema": {
|
1508 | 1508 | "$ref": "#/definitions/403_Error"
|
1509 | 1509 | }
|
1510 | 1510 | },
|
1511 | 1511 | "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}", |
1513 | 1513 | "schema": {
|
1514 | 1514 | "$ref": "#/definitions/500_Error"
|
1515 | 1515 | }
|
|
1546 | 1546 | }
|
1547 | 1547 | },
|
1548 | 1548 | "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}", |
1550 | 1550 | "schema": {
|
1551 | 1551 | "$ref": "#/definitions/400_Error"
|
1552 | 1552 | }
|
1553 | 1553 | },
|
1554 | 1554 | "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}", |
1556 | 1556 | "schema": {
|
1557 | 1557 | "$ref": "#/definitions/401_Error"
|
1558 | 1558 | }
|
1559 | 1559 | },
|
1560 | 1560 | "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}", |
1562 | 1562 | "schema": {
|
1563 | 1563 | "$ref": "#/definitions/403_Error"
|
1564 | 1564 | }
|
1565 | 1565 | },
|
1566 | 1566 | "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}", |
1568 | 1568 | "schema": {
|
1569 | 1569 | "$ref": "#/definitions/500_Error"
|
1570 | 1570 | }
|
|
0 commit comments