Skip to content

Commit

Permalink
Update Steam Web API reference
Browse files Browse the repository at this point in the history
  • Loading branch information
SteamDB-Tracker committed Nov 6, 2024
1 parent f84872a commit e6f495b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 70 deletions.
75 changes: 5 additions & 70 deletions api.json
Original file line number Diff line number Diff line change
Expand Up @@ -419,39 +419,7 @@
"GetLinkedAccountInfo": {
"_type": "undocumented",
"version": 1,
"description": "List all my active linked external accounts; may be requested to return the access token",
"parameters": [
{
"name": "key",
"type": "string",
"optional": false,
"description": "Access key"
},
{
"name": "account_type",
"type": "EInternalAccountType",
"optional": true,
"description": ""
},
{
"name": "account_id",
"type": "uint64",
"optional": true,
"description": "Internal account ID"
},
{
"name": "filter",
"type": "EExternalAccountType",
"optional": true,
"description": "if specified then only return this external account type"
},
{
"name": "return_access_token",
"type": "bool",
"optional": true,
"description": "if provided and true, then returns valid access token if available. It may refresh the token."
}
]
"parameters": []
}
},
"IAccountPrivateAppsService": {
Expand Down Expand Up @@ -8328,6 +8296,7 @@
"RespondToRequestedPurchase": {
"_type": "undocumented",
"version": 1,
"httpmethod": "POST",
"description": "Act on a purchase request",
"parameters": [
{
Expand Down Expand Up @@ -19549,43 +19518,6 @@
}
]
},
"SetUserActionData": {
"_type": "undocumented",
"version": 1,
"httpmethod": "POST",
"parameters": [
{
"name": "key",
"type": "string",
"optional": false,
"description": "Access key"
},
{
"name": "steamid",
"type": "fixed64",
"optional": true,
"description": ""
},
{
"name": "gid",
"type": "fixed64",
"optional": true,
"description": ""
},
{
"name": "type",
"type": "int32",
"optional": true,
"description": ""
},
{
"name": "jsondata",
"type": "string",
"optional": true,
"description": ""
}
]
},
"SetUserSharingPermissions": {
"_type": "undocumented",
"version": 1,
Expand Down Expand Up @@ -20307,6 +20239,7 @@
"GetNominationShareLink": {
"_type": "undocumented",
"version": 1,
"httpmethod": "POST",
"parameters": [
{
"name": "key",
Expand Down Expand Up @@ -26180,6 +26113,7 @@
"Train": {
"_type": "undocumented",
"version": 1,
"httpmethod": "POST",
"parameters": [
{
"name": "key",
Expand Down Expand Up @@ -34383,6 +34317,7 @@
"QueryTime": {
"_type": "undocumented",
"version": 1,
"httpmethod": "POST",
"description": "Get server's idea of the current time",
"parameters": [
{
Expand Down
5 changes: 5 additions & 0 deletions generate_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,11 @@ function MergeLists( array &$FinalList, array $Interfaces, ?string $Type = null
$FinalList[ $InterfaceName ][ $MethodName ][ 'description' ] = $Method[ 'description' ];
}

if( !empty( $Method[ 'httpmethod' ] ) && empty( $FinalList[ $InterfaceName ][ $MethodName ][ 'httpmethod' ] ) )
{
$FinalList[ $InterfaceName ][ $MethodName ][ 'httpmethod' ] = $Method[ 'httpmethod' ];
}

if( !empty( $Method[ 'parameters' ] ) )
{
foreach( $Method[ 'parameters' ] as $Parameter )
Expand Down

0 comments on commit e6f495b

Please sign in to comment.