Skip to content
TORNLIFE More

Torn API v2 (Swagger) | Documentation Discrepancy

Started by AfricanChild [3157295] on in Bugs & Issues.

2 replies · 34 views · thread synced · 9 days ago · View on torn.com
About this thread

Posts archived: 3 / 3 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
3
Discussion span
→
People posting
3
Likes on archived posts
1
Posts by staff, officers and moderators
2
Authority score
55 / 100
Historical score
32 / 100
Story score
34 / 100
Engagement score
40 / 100
AfricanChild [3157295]

Discrepancy 1
Endpoint:
/faction/contributors

Parameter name:
stat

Parameter value:
stat = "test"

Return:
{'error': {'code': 25, 'error': 'Invalid stat requested'}}

This error code is not documented in the documentations.

----------------------------------------------

 

Discrepancy 2
Endpoint:
/user/personalstats

Parameter name:
stat
cat

Parameter value:
Any

Return
{'error': {'code': 26, 'error': 'Only category or stats can be requested'}}

This error code is not documented in the documentations.