Skip to content

Commit

Permalink
Follow Hafas' naming for the API version key
Browse files Browse the repository at this point in the history
As per discussion in PR #7.
  • Loading branch information
vkrause committed Jan 24, 2021
1 parent d03e966 commit 05fc965
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/de/db-hafas-mgate.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
88
],
"standardLocationIdentifierType": "ibnr",
"version": "1.18"
"ver": "1.18"
}
}
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ this as well:
},
"ext": "...",
"micMacSalt": "<hex value>",
"version": "1.27"
"ver": "1.27"
}
```

Expand All @@ -169,7 +169,7 @@ The following properties are defined:
* `client`: JSON object with static client information passed verbatim in Hafas requests.
* `ext`: String with the extension version (?) included in Hafas request.
* `micMacSalt`: A string containing a hexadecimal representation the salt to hash the hashed request body with. Mandatory for endpoints using this authentication mechanism.
* `version`: String containing the requested Hafas API version (?), mandatory for all known endpoints.
* `ver`: String containing the requested Hafas API version (?), mandatory for all known endpoints.

## Contributing

Expand Down

0 comments on commit 05fc965

Please sign in to comment.