Skip to content
This repository has been archived by the owner on Aug 16, 2019. It is now read-only.

Commit

Permalink
Merge pull request #430 from manzarul/user-doc-change
Browse files Browse the repository at this point in the history
Issues #SB-2212 fix: changes for documentation
  • Loading branch information
nawabahmadreshi authored Jun 22, 2018
2 parents 006b824 + 266121c commit f782a32
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions apis/userapi/userapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -2052,4 +2045,4 @@ definitions:
items:
type: string
required:
- request
- request

0 comments on commit f782a32

Please sign in to comment.