openapi: 3.0.3 info: title: 'QuickBlog Api' description: '' version: 1.0.0 servers: - url: 'https://development.brstdev.com/Quickblog' paths: /api/v1/userlogin: post: summary: 'User Login' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: email: type: string description: '' example: corrupti password: type: string description: '' example: assumenda required: - email - password security: [] /api/v1/updateprofile: post: summary: 'Update Profile' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: firstName: type: string description: '' example: ad lastName: type: string description: '' example: nihil required: - firstName - lastName security: [] /api/v1/addpost: post: summary: 'Add Post' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: postImage: type: string description: '' example: a postTitle: type: string description: '' example: nesciunt postSlug: type: string description: '' example: consequuntur postContent: type: string description: '' example: null postAuthorId: type: integer description: '' example: 9 postCategoriesId: type: string description: '' example: null postRelatedPostId: type: string description: '' example: null postStatus: type: string description: '' example: autem postPublishAt: type: string description: 'Must be a valid date.' example: '2022-07-28T05:20:50' postButtonText: type: string description: '' example: labore postSeoPrimaryKeyword: type: string description: '' example: praesentium postSeoOtherKeyword: type: string description: '' example: possimus postSeoPostTitle: type: string description: '' example: quia postSEOMetaDescription: type: string description: '' example: voluptatum accountId: type: integer description: 'Must be at least 1.' example: 0 required: - postTitle - accountId security: [] /api/v1/updatepost: post: summary: 'Update Post' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: postImage: type: string description: '' example: maiores postTitle: type: string description: '' example: id postSlug: type: string description: '' example: eius postContent: type: string description: '' example: null postAuthorId: type: integer description: '' example: 16 postCategoriesId: type: string description: '' example: null postRelatedPostId: type: string description: '' example: null postStatus: type: string description: '' example: ullam postPublishAt: type: string description: 'Must be a valid date.' example: '2022-07-28T05:20:50' postButtonText: type: string description: '' example: ut postCanonicalUrl: type: string description: 'Must be a valid URL.' example: 'http://www.morissette.com/doloremque-a-cum-laborum-magnam-doloribus-unde-et' postEnableCommenting: type: string description: '' example: et postEnableSharing: type: string description: '' example: illum postHidePostFromBlog: type: string description: '' example: sit postSeoPrimaryKeyword: type: string description: '' example: quas postSeoOtherKeyword: type: string description: '' example: tempore postSeoPostTitle: type: string description: '' example: expedita postSEOMetaDescription: type: string description: '' example: error accountId: type: integer description: 'Must be at least 1.' example: 0 postId: type: integer description: '' example: 1 required: - postTitle - accountId - postId security: [] /api/v1/deletepost: post: summary: 'Delete Post' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: postId: type: integer description: 'Must be at least 1.' example: 0 accountId: type: integer description: 'Must be at least 1.' example: 1 required: - postId - accountId security: [] /api/v1/listcategories: post: summary: 'List Categories' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: accountId: type: integer description: 'Must be at least 1.' example: 1 required: - accountId security: [] /api/v1/addcategory: post: summary: 'Add Category' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: false content: application/json: schema: type: object properties: catName: type: string description: '' example: consectetur catLabelColor: type: string description: '' example: omnis catLabelFontSize: type: integer description: '' example: 16 catLabelTextColor: type: string description: '' example: officiis subAccountId: type: integer description: '' example: 17 security: [] /api/v1/updatecategory: post: summary: 'Update Category' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: catName: type: string description: '' example: et catLabelColor: type: string description: '' example: laborum catLabelFontSize: type: string description: '' example: et catLabelTextColor: type: string description: '' example: adipisci catId: type: integer description: 'Must be at least 1.' example: 1 required: - catId security: [] /api/v1/deletecategory: post: summary: 'Delete Category' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: catId: type: integer description: 'Must be at least 1.' example: 1 required: - catId security: [] /api/v1/listauthors: post: summary: 'List Authors' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: accountId: type: integer description: 'Must be at least 1.' example: 0 required: - accountId security: [] /api/v1/addauthor: post: summary: 'Add Author' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: authorImg: type: string description: '' example: aperiam authorName: type: string description: '' example: consequatur authorBio: type: string description: '' example: est subAccountId: type: integer description: '' example: 2 required: - authorName - subAccountId security: [] /api/v1/updateauthor: post: summary: 'Update Author' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: authorImg: type: string description: '' example: autem authorName: type: string description: '' example: non authorBio: type: string description: '' example: explicabo subAccountId: type: integer description: '' example: 12 authorId: type: integer description: '' example: 16 required: - authorName - subAccountId security: [] /api/v1/deleteauthor: post: summary: 'Delete Author' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: authorId: type: integer description: 'Must be at least 1.' example: 1 required: - authorId security: [] /api/v1/createteam: post: summary: 'Create Team' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: teamName: type: string description: '' example: enim assignAccountId: type: string description: '' example: quas required: - teamName - assignAccountId security: [] /api/v1/updateteam: post: summary: 'Update Team' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: teamName: type: string description: '' example: id assignAccountId: type: string description: '' example: error teamId: type: integer description: '' example: 3 required: - teamName - assignAccountId - teamId security: [] /api/v1/deleteteam: post: summary: 'Delete Team' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: teamId: type: integer description: '' example: 12 required: - teamId security: [] /api/v1/addusertoteam: post: summary: 'Add User To Team' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: userEmail: type: string description: '' example: voluptatem userRoleName: type: string description: '' example: sed teamId: type: integer description: '' example: 12 required: - userEmail - userRoleName - teamId security: [] /api/v1/updateteamuserrole: post: summary: 'Update Team User Role' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: userEmail: type: string description: '' example: perspiciatis userRoleName: type: string description: '' example: facere teamId: type: integer description: '' example: 9 required: - userEmail - userRoleName - teamId security: [] /api/v1/deleteteamuser: post: summary: 'Delete Team User' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: teamId: type: integer description: '' example: 1 userEmail: type: string description: '' example: consequatur required: - teamId - userEmail security: [] /api/v1/createsubaccount: post: summary: 'Create Sub-Account' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: '' example: fugiat parentAccountId: type: integer description: '' example: 19 required: - name - parentAccountId security: [] /api/v1/updatesubaccount: post: summary: 'Update Sub-Account' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: updatedSubAccountName: type: string description: '' example: recusandae subAccountId: type: integer description: 'Must be at least 1.' example: 0 required: - updatedSubAccountName - subAccountId security: [] /api/v1/deletesubaccount: post: summary: 'Delete Sub-Account' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: subAccountId: type: integer description: 'Must be at least 1.' example: 0 required: - subAccountId security: [] /api/v1/listsubaccounts: get: summary: 'List Sub-Accounts' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints security: [] /api/v1/postembedcode: post: summary: 'Post Embed Code' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string - in: header name: token description: '' example: 'Your login token here' schema: type: string - in: header name: apikey description: '' example: 'Your API key here' schema: type: string - in: header name: apisecretkey description: '' example: 'Your API Secret key here' schema: type: string responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: accountId: type: integer description: 'Must be at least 1.' example: 0 required: - accountId security: [] tags: - name: Endpoints description: '' components: securitySchemes: default: type: apiKey name: token in: header description: '' security: - default: []