home-erp

git clone git://archive.git.mtrnord.blog/MTRNord/home-erp.git
Log | Files | Refs | README

01.yaml (3087B)


      1 ## Autogenerated by Scribe. DO NOT MODIFY.
      2 
      3 name: Rooms
      4 description: ''
      5 endpoints:
      6   -
      7     httpMethods:
      8       - GET
      9     uri: 'api/rooms/{room_id}'
     10     metadata:
     11       groupName: Rooms
     12       groupDescription: ''
     13       subgroup: ''
     14       subgroupDescription: ''
     15       title: ''
     16       description: ''
     17       authenticated: true
     18       custom: []
     19     headers:
     20       Authorization: 'Bearer {YOUR_AUTH_KEY}'
     21       Content-Type: application/json
     22       Accept: application/json
     23     urlParameters:
     24       room_id:
     25         name: room_id
     26         description: 'The UUID of the room.'
     27         required: true
     28         example: 9a6c8f8c-df24-4958-86e1-2fe4bb3a7f28
     29         type: string
     30         enumValues: []
     31         custom: []
     32     cleanUrlParameters:
     33       room_id: 9a6c8f8c-df24-4958-86e1-2fe4bb3a7f28
     34     queryParameters: []
     35     cleanQueryParameters: []
     36     bodyParameters: []
     37     cleanBodyParameters: []
     38     fileParameters: []
     39     responses:
     40       -
     41         status: 200
     42         content: '{"id":"9a6c8f8c-df24-4958-86e1-2fe4bb3a7f28","created_at":"2023-10-21T17:49:15.000000Z","updated_at":"2023-10-21T17:49:15.000000Z","name":"Test","description":"test","cabinet_id":null}'
     43         headers:
     44           cache-control: 'no-cache, private'
     45           content-type: application/json
     46           x-ratelimit-limit: '60'
     47           x-ratelimit-remaining: '55'
     48           access-control-allow-origin: '*'
     49         description: null
     50         custom: []
     51     responseFields: []
     52     auth:
     53       - headers
     54       - Authorization
     55       - 'Bearer 15|cc3PlQdafhg0xhyGUwPQxyc8SOoOxwIyA1TAushU76aa56bc'
     56     controller: null
     57     method: null
     58     route: null
     59     custom: []
     60   -
     61     httpMethods:
     62       - GET
     63     uri: api/rooms
     64     metadata:
     65       groupName: Rooms
     66       groupDescription: ''
     67       subgroup: ''
     68       subgroupDescription: ''
     69       title: ''
     70       description: ''
     71       authenticated: true
     72       custom: []
     73     headers:
     74       Authorization: 'Bearer {YOUR_AUTH_KEY}'
     75       Content-Type: application/json
     76       Accept: application/json
     77     urlParameters: []
     78     cleanUrlParameters: []
     79     queryParameters: []
     80     cleanQueryParameters: []
     81     bodyParameters: []
     82     cleanBodyParameters: []
     83     fileParameters: []
     84     responses:
     85       -
     86         status: 200
     87         content: '[{"id":"9a6c8f8c-df24-4958-86e1-2fe4bb3a7f28","created_at":"2023-10-21T17:49:15.000000Z","updated_at":"2023-10-21T17:49:15.000000Z","name":"Test","description":"test","cabinet_id":null},{"id":"9a6c90b0-b901-4b06-bc63-bc6a576eebd3","created_at":"2023-10-21T17:52:26.000000Z","updated_at":"2023-10-21T17:52:26.000000Z","name":"Test2","description":"test","cabinet_id":null}]'
     88         headers:
     89           cache-control: 'no-cache, private'
     90           content-type: application/json
     91           x-ratelimit-limit: '60'
     92           x-ratelimit-remaining: '54'
     93           access-control-allow-origin: '*'
     94         description: null
     95         custom: []
     96     responseFields: []
     97     auth:
     98       - headers
     99       - Authorization
    100       - 'Bearer 15|cc3PlQdafhg0xhyGUwPQxyc8SOoOxwIyA1TAushU76aa56bc'
    101     controller: null
    102     method: null
    103     route: null
    104     custom: []