diff --git a/apis/userapi/userapi.yaml b/apis/userapi/userapi.yaml index afa6c872b..612fd0532 100644 --- a/apis/userapi/userapi.yaml +++ b/apis/userapi/userapi.yaml @@ -244,7 +244,9 @@ paths: - The login ID is ideally in the following format: username@provider - While creating the user if you haven't specified the provider name then your login ID would be same as username schema: - $ref: '#/definitions/GetUserByLoginIdrequest' + allOf: + - $ref: 'https://raw.githubusercontent.com/project-sunbird/project-sunbird.github.io/dev/apis/definitions/envelope.yaml#/ApiRequest' + - $ref: '#/definitions/GetUserByLoginIdrequest' - name: Content-Type in: header required: true @@ -254,12 +256,6 @@ paths: - Application/json - Multipart/form-data - Application/x-www-form-urlencoded - - name: x-authenticated-user-token - in: header - required: true - type: string - description: >- - It a unique token/key to authenticate the user each time an API is called. For corresponsing sessions, this token is exchanged, not the username/password of the user - name: ts in: header required: true @@ -1741,17 +1737,14 @@ definitions: GetUserByLoginIdrequest: title: Get User by Login IdRequest - type: object properties: - request: - allOf: - - $ref: 'https://raw.githubusercontent.com/project-sunbird/project-sunbird.github.io/dev/apis/definitions/envelope.yaml#/ApiRequest' - - $ref: '#/definitions/Request50' + request: + $ref: '#/definitions/userLoginIdRequest' required: - request - Request50: - title: Request50 + userLoginIdRequest: + title: request structure for user login id type: object properties: loginId: @@ -2052,4 +2045,4 @@ definitions: items: type: string required: - - request + - request \ No newline at end of file