@@ -78,7 +78,7 @@ class MeController extends ApiController
* @bodyParam password string The user's new password. Minimum of 20 characters. Example: My Super Secret P455w0rd
* @bodyParam doorcode string The user's new doorcode, minimum of 4 digits. Users 'emplid' is prepended. Example: 292889311069
*
* @response 422 {"message":"The given data was invalid.","errors":{"display_name":["The display name must be a string."],"password":["The password must be a string.","The password must be at least 20 characters."],"doorcode":["The doorcode must be a string.","The doorcode must be a number.","The doorcode must be between 11 and 255 digits."]}}
* @response 422 {"message":"The given data was invalid.","errors":{"display_name":["The display name must be a string."],"password":["The password must be a string.","The password must be at least 20 characters."],"doorcode":["The doorcode must be a string.","The doorcode must be a number.","The doorcode must be between 4 and 248 digits."]}}
* The name of the parameter (eg token, key, apiKey) or header (eg Authorization, Api-Key).
...
...
@@ -106,7 +106,7 @@ return [
* Text to place in the "Introduction" section, right after the `description`. Markdown and HTML are supported.
*/
'intro_text'=><<<INTRO
This documentation aims to provide all the information you need to work with our API.
This documentation aims to provide all the information you need to work with our API. But let's be honest, it probably won't and you'll end up having more questions than answers.
<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile).
You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside>