2.0info: 3.39.6 social x-senior-domain: platform x-senior-domain-path: platform x-senior-service-path: social contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: platform.senior.com.br /t/senior.com.br/bridge/1.0/rest/platformsecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /social/queries/healthcheck: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/upDown description: Status geral do serviço checks: type: array items: type: object allOf: – #/definitions/checkData minimum: 1 description: Verificações para assegurar o status default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/upDown description: Status geral do serviço checks: type: array items: type: object allOf: – #/definitions/checkData minimum: 1 description: Verificações para assegurar o status default: description: Error response schema: #/definitions/genericError /social/queries/requestFileUpload: post: description: Requisita as URLs para upload no blob service tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – fileName – fileSize – fileType properties: id: type: string description: Identificador do Arquivo fileName: type: string description: Nome do Arquivo fileSize: type: integer format: int64 description: Tamanho do arquivo em bytes fileType: type: string description: Tipo do arquivo responses: 200: description: Ok schema: type: object allOf: – #/definitions/fileUploadInfo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Requisita as URLs para upload no blob service tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: Identificador do Arquivo in: query required: true type: string – name: fileName description: Nome do Arquivo in: query required: true type: string – name: fileSize description: Tamanho do arquivo em bytes in: query required: true type: integer format: int64 – name: fileType description: Tipo do arquivo in: query required: true type: string responses: 200: description: Ok schema: type: object allOf: – #/definitions/fileUploadInfo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/getVersion: post: description: tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – version properties: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – version properties: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/readOption: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – key properties: key: type: string description: responses: 200: description: Ok schema: type: object required: – key – value properties: key: type: string description: value: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: key description: in: query required: true type: string responses: 200: description: Ok schema: type: object required: – key – value properties: key: type: string description: value: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/readOptions: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – keys properties: keys: type: array items: type: string minimum: 1 description: responses: 200: description: Ok schema: type: object required: – options properties: options: type: array items: type: object allOf: – #/definitions/mapKeyValue minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: keys description: in: query required: true type: array items: type: string minimum: 1 responses: 200: description: Ok schema: type: object required: – options properties: options: type: array items: type: object allOf: – #/definitions/mapKeyValue minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/readOptionFile: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – key properties: key: type: string description: responses: 200: description: Ok schema: type: object required: – key – url properties: key: type: string description: url: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: key description: in: query required: true type: string responses: 200: description: Ok schema: type: object required: – key – url properties: key: type: string description: url: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/searchGroups: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – name – space properties: name: type: string description: space: type: string description: ID do Space para verificar se o grupo é membro responses: 200: description: Ok schema: type: object properties: groups: type: array items: type: object allOf: – #/definitions/groupDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: name description: in: query required: true type: string – name: space description: ID do Space para verificar se o grupo é membro in: query required: true type: string responses: 200: description: Ok schema: type: object properties: groups: type: array items: type: object allOf: – #/definitions/groupDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/readAttachmentDownloadURL: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: thumbnail: type: boolean description: responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: in: query required: true type: string – name: thumbnail description: in: query type: boolean responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/permanameExists: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – name properties: name: type: string description: responses: 200: description: Ok schema: type: object required: – value properties: value: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: name description: in: query required: true type: string responses: 200: description: Ok schema: type: object required: – value properties: value: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/spaceNameExists: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – name properties: name: type: string description: responses: 200: description: Ok schema: type: object required: – value properties: value: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: name description: in: query required: true type: string responses: 200: description: Ok schema: type: object required: – value properties: value: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/readSpace: post: description: Busca um Space através do ID ou permaname. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: id: type: string description: ID do Space permaname: type: string description: Permaname do Space responses: 200: description: Ok schema: type: object required: – space properties: space: type: object allOf: – #/definitions/spaceResponse description: DTO contendo as informações básicas do Space 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca um Space através do ID ou permaname. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: ID do Space in: query type: string – name: permaname description: Permaname do Space in: query type: string responses: 200: description: Ok schema: type: object required: – space properties: space: type: object allOf: – #/definitions/spaceResponse description: DTO contendo as informações básicas do Space 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/readSpaceBannerURL: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: in: query required: true type: string responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listMySpaces: post: description: Retorna lista com informações básicas de todos os espaços relacionados ao usuário logado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: offset: type: integer format: int64 description: Faixa inicial da consulta default: 0 size: type: integer format: int64 description: Quantidade máxima de registros retornados maximum: 20 responses: 200: description: Ok schema: type: object required: – spaces properties: spaces: type: array items: type: object allOf: – #/definitions/basicSpaceDTO minimum: 1 description: lista contendo os espaços relacionados ao usuário 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna lista com informações básicas de todos os espaços relacionados ao usuário logado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: offset description: Faixa inicial da consulta in: query type: integer format: int64 – name: size description: Quantidade máxima de registros retornados in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – spaces properties: spaces: type: array items: type: object allOf: – #/definitions/basicSpaceDTO minimum: 1 description: lista contendo os espaços relacionados ao usuário 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/querySpaces: post: description: Retorna uma lista com informações básicas de todos os espaços tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: offset: type: integer format: int64 description: Faixa inicial da consulta size: type: integer format: int64 description: Quantidade de linhas da consulta maximum: 20 responses: 200: description: Ok schema: type: object required: – spaces properties: spaces: type: array items: type: object allOf: – #/definitions/basicSpaceDTO minimum: 1 description: Lista contendo as informações basicas de um espaço 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna uma lista com informações básicas de todos os espaços tags: – Queries x-senior-visibility: PRIVATE parameters: – name: offset description: Faixa inicial da consulta in: query type: integer format: int64 – name: size description: Quantidade de linhas da consulta in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – spaces properties: spaces: type: array items: type: object allOf: – #/definitions/basicSpaceDTO minimum: 1 description: Lista contendo as informações basicas de um espaço 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listSpaceMembershipRequests: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – spacePermaname properties: spacePermaname: type: string description: responses: 200: description: Ok schema: type: object required: – spacePermaname – membershipRequests properties: spacePermaname: type: string description: membershipRequests: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: spacePermaname description: in: query required: true type: string responses: 200: description: Ok schema: type: object required: – spacePermaname – membershipRequests properties: spacePermaname: type: string description: membershipRequests: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/searchSpaces: post: description: Retorna os espaços filtrados por um termo de busca tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – query properties: query: type: string description: Termo de busca responses: 200: description: Ok schema: type: object required: – query – spaces properties: query: type: string description: Termo de busca spaces: type: array items: type: object allOf: – #/definitions/basicSpaceDTO minimum: 1 description: Lista de espaços 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna os espaços filtrados por um termo de busca tags: – Queries x-senior-visibility: PRIVATE parameters: – name: query description: Termo de busca in: query required: true type: string responses: 200: description: Ok schema: type: object required: – query – spaces properties: query: type: string description: Termo de busca spaces: type: array items: type: object allOf: – #/definitions/basicSpaceDTO minimum: 1 description: Lista de espaços 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listMembers: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: space: type: string description: from: type: integer format: int64 description: size: type: integer format: int64 description: query: type: string description: responses: 200: description: Ok schema: type: object required: – members – size properties: space: type: string description: members: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: size: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: space description: in: query type: string – name: from description: in: query type: integer format: int64 – name: size description: in: query type: integer format: int64 – name: query description: in: query type: string responses: 200: description: Ok schema: type: object required: – members – size properties: space: type: string description: members: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: size: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listDocuments: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: space: type: string description: lastSeenId: type: string description: size: type: integer format: int64 description: minimum: 1 maximum: 50 default: 50 responses: 200: description: Ok schema: type: object required: – documents properties: space: type: string description: documents: type: array items: type: object allOf: – #/definitions/attachmentDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: space description: in: query type: string – name: lastSeenId description: in: query type: string – name: size description: in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – documents properties: space: type: string description: documents: type: array items: type: object allOf: – #/definitions/attachmentDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/searchProfiles: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – name properties: name: type: string description: responses: 200: description: Ok schema: type: object properties: profiles: type: array items: type: object allOf: – #/definitions/basicProfileDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: name description: in: query required: true type: string responses: 200: description: Ok schema: type: object properties: profiles: type: array items: type: object allOf: – #/definitions/basicProfileDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/readBasicProfileByUsername: post: description: Busca perfil por username tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – username properties: username: type: string description: responses: 200: description: Ok schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/basicProfileDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca perfil por username tags: – Queries x-senior-visibility: PRIVATE parameters: – name: username description: in: query required: true type: string responses: 200: description: Ok schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/basicProfileDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/searchProfilesToAddSpace: post: description: Busca Profiles através do name e verifica se o mesmo participa do space tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – name – space properties: name: type: string description: Termo de busca de nome do Profile space: type: string description: ID do Space para verificar se o perfil é membro responses: 200: description: Ok schema: type: object required: – profiles properties: profiles: type: array items: type: object allOf: – #/definitions/basicProfileToSpace minimum: 1 description: Lista com os Profiles 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca Profiles através do name e verifica se o mesmo participa do space tags: – Queries x-senior-visibility: PRIVATE parameters: – name: name description: Termo de busca de nome do Profile in: query required: true type: string – name: space description: ID do Space para verificar se o perfil é membro in: query required: true type: string responses: 200: description: Ok schema: type: object required: – profiles properties: profiles: type: array items: type: object allOf: – #/definitions/basicProfileToSpace minimum: 1 description: Lista com os Profiles 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/readPost: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: responses: 200: description: Ok schema: type: object required: – post properties: post: type: object allOf: – #/definitions/postDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: in: query required: true type: string responses: 200: description: Ok schema: type: object required: – post properties: post: type: object allOf: – #/definitions/postDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/search: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – query properties: query: type: string description: from: type: integer format: int64 description: size: type: integer format: int64 description: spacePermaname: type: string description: responses: 200: description: Ok schema: type: object required: – query – posts – tags – profiles – documents – size properties: query: type: string description: posts: type: array items: type: object allOf: – #/definitions/feedPostResponse minimum: 1 description: tags: type: array items: type: string minimum: 1 description: profiles: type: array items: type: object allOf: – #/definitions/basicProfileDTO minimum: 1 description: documents: type: array items: type: object allOf: – #/definitions/attachmentDTO minimum: 1 description: size: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: query description: in: query required: true type: string – name: from description: in: query type: integer format: int64 – name: size description: in: query type: integer format: int64 – name: spacePermaname description: in: query type: string responses: 200: description: Ok schema: type: object required: – query – posts – tags – profiles – documents – size properties: query: type: string description: posts: type: array items: type: object allOf: – #/definitions/feedPostResponse minimum: 1 description: tags: type: array items: type: string minimum: 1 description: profiles: type: array items: type: object allOf: – #/definitions/basicProfileDTO minimum: 1 description: documents: type: array items: type: object allOf: – #/definitions/attachmentDTO minimum: 1 description: size: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listPostsModeration: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: space: type: string description: lastSeenId: type: string description: size: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – posts properties: space: type: string description: posts: type: array items: type: object allOf: – #/definitions/postDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: space description: in: query type: string – name: lastSeenId description: in: query type: string – name: size description: in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – posts properties: space: type: string description: posts: type: array items: type: object allOf: – #/definitions/postDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/countListPostModeration: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: space: type: string description: responses: 200: description: Ok schema: type: object required: – size properties: size: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: space description: in: query type: string responses: 200: description: Ok schema: type: object required: – size properties: size: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/countPostSchudeled: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – since properties: since: type: string format: date-time description: responses: 200: description: Ok schema: type: object required: – size properties: size: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: since description: in: query required: true type: string format: date-time responses: 200: description: Ok schema: type: object required: – size properties: size: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/countCommentDenounced: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – size properties: size: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – size properties: size: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/currentProfile: post: description: tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/profileDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/profileDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/readProfile: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – profile properties: profile: type: string description: responses: 200: description: Ok schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/profileDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: profile description: in: query required: true type: string responses: 200: description: Ok schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/profileDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/readProfilePhotoURL: post: description: Retorna a URL da foto de um determinado perfil do social tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Id do perfil responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: Url da foto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna a URL da foto de um determinado perfil do social tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: Id do perfil in: query required: true type: string responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: Url da foto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listPostsOfProfile: post: description: Retorna as publicações criadas por determinado Profile do social tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – profile properties: profile: type: string description: Profile permaname lastSeenId: type: string description: Ultima publicação listada size: type: integer format: int64 description: Número de registros a serem retornados minimum: 1 maximum: 10 default: 10 responses: 200: description: Ok schema: type: object required: – posts properties: posts: type: array items: type: object allOf: – #/definitions/feedPostResponse minimum: 1 description: Lista com as publicações do perfil 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna as publicações criadas por determinado Profile do social tags: – Queries x-senior-visibility: PRIVATE parameters: – name: profile description: Profile permaname in: query required: true type: string – name: lastSeenId description: Ultima publicação listada in: query type: string – name: size description: Número de registros a serem retornados in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – posts properties: posts: type: array items: type: object allOf: – #/definitions/feedPostResponse minimum: 1 description: Lista com as publicações do perfil 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listPostsScheduled: post: description: Lista as publicações que estão agendadas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – since properties: since: type: string format: date-time description: Data de inicio da busca responses: 200: description: Ok schema: type: object required: – posts properties: posts: type: array items: type: object allOf: – #/definitions/postDTO minimum: 1 description: Lista contendo as publicações agendadas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista as publicações que estão agendadas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: since description: Data de inicio da busca in: query required: true type: string format: date-time responses: 200: description: Ok schema: type: object required: – posts properties: posts: type: array items: type: object allOf: – #/definitions/postDTO minimum: 1 description: Lista contendo as publicações agendadas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listPostsCommentComplaint: post: description: Lista as publicações com comentários denunciados tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – posts properties: posts: type: array items: type: object allOf: – #/definitions/postDTO minimum: 1 description: Lista contendo as publicações com comentários denunciados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista as publicações com comentários denunciados tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – posts properties: posts: type: array items: type: object allOf: – #/definitions/postDTO minimum: 1 description: Lista contendo as publicações com comentários denunciados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listDocumentsOfProfile: post: description: Lista todos os arquivos que foram publicados por determinado profile tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – profile properties: profile: type: string description: ID do profile que publicou os documentos lastSeenId: type: string description: ID do último documento listado, utilizado para paginação size: type: integer format: int64 description: Número máximo de registros a serem retornados responses: 200: description: Ok schema: type: object required: – documents properties: documents: type: array items: type: object allOf: – #/definitions/attachmentDTO minimum: 1 description: Lista com os documentos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista todos os arquivos que foram publicados por determinado profile tags: – Queries x-senior-visibility: PRIVATE parameters: – name: profile description: ID do profile que publicou os documentos in: query required: true type: string – name: lastSeenId description: ID do último documento listado, utilizado para paginação in: query type: string – name: size description: Número máximo de registros a serem retornados in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – documents properties: documents: type: array items: type: object allOf: – #/definitions/attachmentDTO minimum: 1 description: Lista com os documentos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/autocompleteProfile: post: description: Busca profiles compatives com permaname compativel com o termo de busca tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – permaname properties: permaname: type: string description: Termo de busca, permaname do profile includeSelf: type: boolean description: Se deve considerar o perfil do usuário logado no retorno default: true responses: 200: description: Ok schema: type: object required: – profiles properties: profiles: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: Lista de profiles encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca profiles compatives com permaname compativel com o termo de busca tags: – Queries x-senior-visibility: PRIVATE parameters: – name: permaname description: Termo de busca, permaname do profile in: query required: true type: string – name: includeSelf description: Se deve considerar o perfil do usuário logado no retorno in: query type: boolean responses: 200: description: Ok schema: type: object required: – profiles properties: profiles: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: Lista de profiles encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/availableSmartAppIcons: post: description: Lista os icones para o cadastro de SmartApps tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – icons properties: icons: type: array items: type: string allOf: – #/definitions/smartAppIcon minimum: 1 description: Lista com todos os icones 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista os icones para o cadastro de SmartApps tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – icons properties: icons: type: array items: type: string allOf: – #/definitions/smartAppIcon minimum: 1 description: Lista com todos os icones 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listSmartApps: post: description: Lista os smartApps cadastrados tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: size: type: integer format: int64 description: Número máximo de registros a serem retornados responses: 200: description: Ok schema: type: object required: – smartApps properties: smartApps: type: array items: type: object allOf: – #/definitions/smartAppDTO minimum: 1 description: Lista de smartApps encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista os smartApps cadastrados tags: – Queries x-senior-visibility: PRIVATE parameters: – name: size description: Número máximo de registros a serem retornados in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – smartApps properties: smartApps: type: array items: type: object allOf: – #/definitions/smartAppDTO minimum: 1 description: Lista de smartApps encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/readSmartApp: post: description: Lista as informações de um smartApp em específico tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: ID do smartApp a ser listado responses: 200: description: Ok schema: type: object required: – smartApp properties: smartApp: type: object allOf: – #/definitions/smartAppDTO description: Informações do smartApp se encontrado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista as informações de um smartApp em específico tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: ID do smartApp a ser listado in: query required: true type: string responses: 200: description: Ok schema: type: object required: – smartApp properties: smartApp: type: object allOf: – #/definitions/smartAppDTO description: Informações do smartApp se encontrado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listMyNotifications: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: since: type: string format: date-time description: to: type: string format: date-time description: lastSeenId: type: string description: size: type: integer format: int64 description: minimum: 1 maximum: 50 default: 50 responses: 200: description: Ok schema: type: object required: – notifications properties: notifications: type: array items: type: object allOf: – #/definitions/notificationDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: since description: in: query type: string format: date-time – name: to description: in: query type: string format: date-time – name: lastSeenId description: in: query type: string – name: size description: in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – notifications properties: notifications: type: array items: type: object allOf: – #/definitions/notificationDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/autocompleteTag: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – tag properties: tag: type: string description: responses: 200: description: Ok schema: type: object required: – tags properties: tags: type: array items: type: string minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: tag description: in: query required: true type: string responses: 200: description: Ok schema: type: object required: – tags properties: tags: type: array items: type: string minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listGroups: post: description: tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – groups properties: groups: type: array items: type: object allOf: – #/definitions/groupDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – groups properties: groups: type: array items: type: object allOf: – #/definitions/groupDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listMembersInGroup: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – groupId properties: groupId: type: string description: from: type: integer format: int64 description: size: type: integer format: int64 description: query: type: string description: responses: 200: description: Ok schema: type: object required: – members – nonMembers properties: members: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: nonMembers: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: groupId description: in: query required: true type: string – name: from description: in: query type: integer format: int64 – name: size description: in: query type: integer format: int64 – name: query description: in: query type: string responses: 200: description: Ok schema: type: object required: – members – nonMembers properties: members: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: nonMembers: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listAllProfiles: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – profiles properties: profiles: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – profiles properties: profiles: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listMyProfiles: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – profiles properties: profiles: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – profiles properties: profiles: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/getFeed: post: description: Lista as publicações da timeline principal e por filtros de tag ou espaços tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: space: type: string description: Permaname do espaço nextCursor: type: string description: Cursores de paginação tag: type: string description: Filtrar por tag limit: type: integer format: int64 description: Número de itens a serem listados minimum: 1 maximum: 10 default: 10 since: type: string format: date-time description: Data inicial da busca responses: 200: description: Ok schema: type: object required: – nextCursor – posts properties: nextCursor: type: string description: Cursores utilizado na paginação dos dados postFixed: type: object allOf: – #/definitions/feedPostResponse description: Publicação fixada na timeline posts: type: array items: type: object allOf: – #/definitions/feedPostResponse minimum: 1 description: Publicações retornadas do BD baseadas nos filtros recebidos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista as publicações da timeline principal e por filtros de tag ou espaços tags: – Queries x-senior-visibility: PRIVATE parameters: – name: space description: Permaname do espaço in: query type: string – name: nextCursor description: Cursores de paginação in: query type: string – name: tag description: Filtrar por tag in: query type: string – name: limit description: Número de itens a serem listados in: query type: integer format: int64 – name: since description: Data inicial da busca in: query type: string format: date-time responses: 200: description: Ok schema: type: object required: – nextCursor – posts properties: nextCursor: type: string description: Cursores utilizado na paginação dos dados postFixed: type: object allOf: – #/definitions/feedPostResponse description: Publicação fixada na timeline posts: type: array items: type: object allOf: – #/definitions/feedPostResponse minimum: 1 description: Publicações retornadas do BD baseadas nos filtros recebidos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/getPostComments: post: description: Lista todos os comentários e respostas de um Post tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – postId properties: postId: type: string description: ID do Post responses: 200: description: Ok schema: type: object required: – comments properties: comments: type: array items: type: object allOf: – #/definitions/commentDTO minimum: 1 description: Lista contendo os comentários do Post 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista todos os comentários e respostas de um Post tags: – Queries x-senior-visibility: PRIVATE parameters: – name: postId description: ID do Post in: query required: true type: string responses: 200: description: Ok schema: type: object required: – comments properties: comments: type: array items: type: object allOf: – #/definitions/commentDTO minimum: 1 description: Lista contendo os comentários do Post 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/getViewIconBotfactory: post: description: Obtém a configuração para mostrar icone do botfactory tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – view properties: view: type: boolean description: Configuração boolean 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém a configuração para mostrar icone do botfactory tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – view properties: view: type: boolean description: Configuração boolean 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listUserLikedPost: post: description: Lista todos os usuários que curtiram o Post tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – postId properties: postId: type: string description: ID do Post offset: type: integer format: int64 description: Faixa inicial da consulta size: type: integer format: int64 description: Quantidade de linhas da consulta minimum: 1 maximum: 40 default: 10 responses: 200: description: Ok schema: type: object required: – profilesThatLiked properties: profilesThatLiked: type: string format: byte description: Lista contendo as pessoas que curtiram o post 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista todos os usuários que curtiram o Post tags: – Queries x-senior-visibility: PRIVATE parameters: – name: postId description: ID do Post in: query required: true type: string – name: offset description: Faixa inicial da consulta in: query type: integer format: int64 – name: size description: Quantidade de linhas da consulta in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – profilesThatLiked properties: profilesThatLiked: type: string format: byte description: Lista contendo as pessoas que curtiram o post 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/getUrlPost: post: description: Busca URl do post através do id tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – postId properties: postId: type: string description: Id da publicação responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: Url da publicação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca URl do post através do id tags: – Queries x-senior-visibility: PRIVATE parameters: – name: postId description: Id da publicação in: query required: true type: string responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: Url da publicação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/listUsersPlatform: post: description: Retorna lista de Usuários da plataforma integrados ou não tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – users properties: users: type: array items: type: string minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna lista de Usuários da plataforma integrados ou não tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – users properties: users: type: array items: type: string minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/searchPost: post: description: Busca publicação através do id tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – postId properties: postId: type: string description: ID da publicação a ser buscada responses: 200: description: Ok schema: type: object required: – post properties: post: type: object allOf: – #/definitions/postDTO description: Publicação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca publicação através do id tags: – Queries x-senior-visibility: PRIVATE parameters: – name: postId description: ID da publicação a ser buscada in: query required: true type: string responses: 200: description: Ok schema: type: object required: – post properties: post: type: object allOf: – #/definitions/postDTO description: Publicação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/getMetadata: post: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: metadataFormat: type: string description: responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: metadataFormat description: in: query type: string responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/abortMigration: post: description: Aborta o processo de migração tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/setOption: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – key properties: key: type: string description: value: type: string description: responses: 200: description: Ok schema: type: object required: – key properties: key: type: string description: value: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/setOptionFile: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – key properties: key: type: string description: objectId: type: string description: type: string description: fileName: type: string description: responses: 200: description: Ok schema: type: object required: – key properties: key: type: string description: objectId: type: string description: fileName: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/updateSpacesOrder: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – ids properties: ids: type: array items: type: string minimum: 1 description: responses: 200: description: Ok schema: type: object required: – ids properties: ids: type: array items: type: string minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/createSpace: post: description: Utilizada para criar um novo espaço tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – name properties: name: type: string description: Nome do espaço permaname: type: string description: Nome para URL amigável e único banner: type: object allOf: – #/definitions/blobObjectDTO description: Objeto da imagem banner bannerLink: type: string description: Link de redirecionamento ao clicar sobre o banner moderatorIds: type: array items: type: string description: IDs dos moderadores do espaço privacy: type: string allOf: – #/definitions/spacePrivacySettingDTO description: Privacidade, público ou privado needModeration: type: boolean description: Exige moderação na timeline priorityOrder: type: integer format: int64 description: Ordem de prioridade ordenação das listagens minimum: 0 maximum: 5 default: 0 responses: 200: description: Ok schema: type: object required: – space properties: space: type: object allOf: – #/definitions/spaceDTO description: Espaço cadastrado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/addMemberToSpace: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – spaceId – memberId properties: spaceId: type: string description: memberId: type: string description: responses: 200: description: Ok schema: type: object required: – space properties: space: type: object allOf: – #/definitions/spaceDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/addGroupToSpace: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – spaceId – groupId properties: spaceId: type: string description: groupId: type: string description: responses: 200: description: Ok schema: type: object required: – space properties: space: type: object allOf: – #/definitions/spaceDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/updateSpace: post: description: Atualiza as informações de um espaço tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: ID do espaço name: type: string description: Nome do espaço permaname: type: string description: Nome para URL amigável e único do espaço banner: type: object allOf: – #/definitions/blobUpdateDTO description: Objeto da imagem banner do espaço bannerLink: type: string description: Link de redirecionamento ao clicar sobre o banner moderatorIds: type: array items: type: string description: IDs dos moderadores do espaço privacy: type: string allOf: – #/definitions/spacePrivacySettingDTO description: Privacidade, público ou privado needModeration: type: boolean description: Exige moderação na timeline priorityOrder: type: integer format: int64 description: Ordem de prioridade ordenação das listagens minimum: 0 maximum: 5 default: 0 newAdmId: type: string description: Id do novo administrador para o espaço responses: 200: description: Ok schema: type: object required: – space properties: space: type: object allOf: – #/definitions/spaceDTO description: Espaço atualizado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/deleteSpace: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: responses: 200: description: Ok schema: type: object required: – id properties: id: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/deleteSpaceMember: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – spaceId – profileId properties: spaceId: type: string description: profileId: type: string description: responses: 200: description: Ok schema: type: object required: – deleted properties: deleted: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/setSpaceMembership: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – member properties: id: type: string description: member: type: boolean description: responses: 200: description: Ok schema: type: object required: – id – member properties: id: type: string description: member: type: string allOf: – #/definitions/spaceMembershipStatus description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/handleMembershipRequest: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – spacePermaname – profileId – accept properties: spacePermaname: type: string description: profileId: type: string description: accept: type: boolean description: responses: 200: description: Ok schema: type: object required: – spacePermaname – profileId – member properties: spacePermaname: type: string description: profileId: type: string description: member: type: string allOf: – #/definitions/spaceMembershipStatus description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/deleteComment: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – commentId properties: commentId: type: string description: responses: 200: description: Ok schema: type: object required: – commentId properties: commentId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/createPost: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – text properties: space: type: string description: text: type: string description: attachment: type: object allOf: – #/definitions/createPostAttachmentDTO description: attachments: type: array items: type: object allOf: – #/definitions/createPostAttachmentDTO description: groups: type: array items: type: string description: when: type: string format: date-time description: profileId: type: string description: blockedComment: type: boolean description: responses: 200: description: Ok schema: type: object required: – post properties: post: type: object allOf: – #/definitions/postDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/editPost: post: description: Edita um post tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – postId – text – isMarkedForDelete properties: postId: type: string description: ID da publicação a ser editada text: type: string description: Novo texto da publicação attachment: type: object allOf: – #/definitions/createPostAttachmentDTO description: Novo anexo attachments: type: array items: type: object allOf: – #/definitions/createPostAttachmentDTO description: Lista de anexos isMarkedForDelete: type: boolean description: Marca anexo para exclusão listDeleted: type: array items: type: object allOf: – #/definitions/attachmentDTO description: Recebe lista a ser deletada blockedComment: type: boolean description: Controla exibição de comentários responses: 200: description: Ok schema: type: object required: – post properties: post: type: object allOf: – #/definitions/postDTO description: Publicação atualizada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/createComment: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – postId – text properties: postId: type: string description: text: type: string description: parentId: type: string description: attachment: type: object allOf: – #/definitions/createCommentAttachmentDTO description: responses: 200: description: Ok schema: type: object required: – comment properties: comment: type: object allOf: – #/definitions/commentDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/deletePost: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – postId properties: postId: type: string description: responses: 200: description: Ok schema: type: object required: – postId properties: postId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/setPostSticky: post: description: Marca a publicação como destaque tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – postId properties: postId: type: string description: ID da publicação a ser marcada como destaque sticky: type: string format: date-time description: Data em que a publicação deixa de ser listada como destaque responses: 200: description: Ok schema: type: object required: – post properties: post: type: object allOf: – #/definitions/postDTO description: Post atualizado como destaque 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/setPostLike: post: description: Marca / desmarca uma publicação como curtida pelo usuário logado tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – postId – like properties: postId: type: string description: ID da publicação like: type: boolean description: Boolean representando se o usuário esta marcando ou desmarcando a publicação como curtida responses: 200: description: Ok schema: type: object required: – postId – gotMyLike – likeCount properties: postId: type: string description: ID da publicação gotMyLike: type: boolean description: Publicação foi marcada como curtida pelo usuário logado likeCount: type: integer format: int64 description: Número total de likes da publicação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/markPostAsRead: post: description: Marca uma publicação destaque como lida para o usuário logado tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: ID da publicação a ser marcada como lida responses: 200: description: Ok schema: type: object required: – id properties: id: type: string description: ID da publicação marcada como lida 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/approvePost: post: description: Aprova uma publicação pendente na timeline tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – postId properties: postId: type: string description: ID da publicação a ser aprovada responses: 200: description: Ok schema: type: object required: – post properties: post: type: object allOf: – #/definitions/postDTO description: Publicação atualizada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/rejectPost: post: description: Rejeita uma publicação pendente na timeline tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – postId properties: postId: type: string description: ID da publicação a ser rejeitada responses: 200: description: Ok schema: type: object required: – post properties: post: type: object allOf: – #/definitions/postDTO description: Publicação atualizada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/createSmartApp: post: description: Cria um novo smartApp tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – smartApp properties: smartApp: type: object allOf: – #/definitions/createSmartAppDTO description: Informações do smartApp a ser cadastrado responses: 200: description: Ok schema: type: object required: – smartApp properties: smartApp: type: object allOf: – #/definitions/smartAppDTO description: SmartApp criado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/updateSmartApp: post: description: Atualiza informações de um smartApp tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – smartApp properties: id: type: string description: ID do smartApp a ser atualizado smartApp: type: object allOf: – #/definitions/updateSmartAppDTO description: Informações do smartApp a serem atualizadas responses: 200: description: Ok schema: type: object required: – smartApp properties: smartApp: type: object allOf: – #/definitions/smartAppDTO description: SmartApp atualizado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/deleteSmartApp: post: description: Realiza o delete de um smartApp tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: ID do smartApp a ser deletado responses: 200: description: Ok schema: type: object required: – id properties: id: type: string description: ID do smartApp deletado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/markNotificationAsRead: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – ids properties: ids: type: array items: type: string minimum: 1 description: responses: 200: description: Ok schema: type: object required: – ids properties: ids: type: array items: type: string minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/createGroup: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – name properties: name: type: string description: responses: 200: description: Ok schema: type: object required: – group properties: group: type: object allOf: – #/definitions/groupDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/updateGroup: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – name properties: id: type: string description: name: type: string description: responses: 200: description: Ok schema: type: object required: – group properties: group: type: object allOf: – #/definitions/groupDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/deleteGroup: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: responses: 200: description: Ok schema: type: object required: – id properties: id: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/addMemberGroup: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – groupId – profileId properties: groupId: type: string description: profileId: type: string description: responses: 200: description: Ok schema: type: object required: – added properties: added: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/delMemberGroup: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – groupId – profileId properties: groupId: type: string description: profileId: type: string description: responses: 200: description: Ok schema: type: object required: – deleted properties: deleted: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/likeComment: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – commentId – like properties: commentId: type: string description: like: type: boolean description: responses: 200: description: Ok schema: type: object required: – commentId – gotMyLike – likeCount properties: commentId: type: string description: gotMyLike: type: boolean description: likeCount: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/complaintPost: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – postId – motive properties: postId: type: string description: motive: type: string description: responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/complaintComment: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – commentId – motive properties: commentId: type: string description: motive: type: string description: responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/editComment: post: description: Utilizada para atualizar o texto de um comentário tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – commentId – text properties: commentId: type: string description: ID do comentário text: type: string description: Texto atualizado responses: 200: description: Ok schema: type: object required: – comment properties: comment: type: object allOf: – #/definitions/commentDTO description: Comentario atualizado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/setFixedPost: post: description: Define que a publicação será fixada na timeline tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – postId – expirationDate properties: postId: type: string description: ID da postagem a ser fixada expirationDate: type: string format: date-time description: Data em que a publicação deixa de ser fixada responses: 200: description: Ok schema: type: object properties: post: type: object allOf: – #/definitions/feedPostResponse description: Publicação atualizada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/removeFixedPost: post: description: Remove o status de fixada da publicação tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – postId properties: postId: type: string description: ID da postagem responses: 200: description: Ok schema: type: object properties: post: type: object allOf: – #/definitions/feedPostResponse description: Publicação atualizada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/commitFileUpload: post: description: Realiza o commit do arquivo no blob service tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – file properties: file: type: object allOf: – #/definitions/blobObjectDTO description: responses: 200: description: Ok schema: type: object required: – accessUrl properties: accessUrl: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/createProfile: post: description: Criar perfil corporativo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/basicProfileDTO description: photo: type: object allOf: – #/definitions/blobObjectDTO description: responses: 200: description: Ok schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/basicProfileDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/deleteProfile: post: description: Deletar perfil tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – profileId properties: profileId: type: string description: responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/updateProfile: post: description: Atualizar perfil corporativo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/basicProfileDTO description: photo: type: object allOf: – #/definitions/blobObjectDTO description: responses: 200: description: Ok schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/basicProfileDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/sharePostForMember: post: description: Compartilha post com membro selecionado tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – postId – memberId properties: postId: type: string description: memberId: type: string description: responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/getShortUrl: post: description: Retorna Url encurtada presente no texto tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – textIn properties: textIn: type: string description: responses: 200: description: Ok schema: type: object required: – textOut properties: textOut: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/integrateUser: post: description: Insere o user na tabela do profile no social tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – username properties: username: type: string description: responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/askChatGPT: post: description: Ask for ChatGPT tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – textIn properties: textIn: type: string description: responses: 200: description: Ok schema: type: object required: – comments properties: comments: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/integrateAutomaticUsers: post: description: Insere o users em lote na tabela do profile no social tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/activeProfilesDeleted: post: description: Active Profiles Deleted tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – message properties: message: type: string description: profiles: type: array items: type: object allOf: – #/definitions/profileDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/actions/clearStructures: post: description: Remove todas as estruturas de dados, menos os tipos explicitamente marcados como false tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: dataset: type: boolean description: Remover datasets default: true analytics: type: boolean description: Remover analytics default: true page: type: boolean description: Remover páginas default: true landingpage: type: boolean description: Remover landing pages default: true responses: 200: description: Ok schema: type: object required: – datasetCount – analyticsCount – pageCount – landingpageCount properties: datasetCount: type: integer format: int64 description: Datasets removidos analyticsCount: type: integer format: int64 description: Analytics removidos pageCount: type: integer format: int64 description: Páginas removidas landingpageCount: type: integer format: int64 description: Landing pages removidas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /social/signals/executeMigration: post: description: Executa processo para migrar os dados do socialbase para o social tags: – Signals parameters: – name: input in: body required: true schema: type: object responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /social/signals/reloadComments: post: description: tags: – Signals parameters: – name: input in: body required: true schema: type: object responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /social/signals/recreateStructures: post: description: Recria todas as estruturas de dados tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – tenant properties: removeBefore: type: boolean description: Remover estruturas antes default: true recreateShared: type: boolean description: Remover estruturas antes default: true recreateAnonymous: type: boolean description: Remover estruturas antes default: true tenant: type: string description: Tenant para recriar a esrutura filter: type: array items: type: string description: Filtra quais datasets criar responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /social/events/membershipRequestCreated: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – spaceId – profileId properties: spaceId: type: string description: profileId: type: string description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /social/events/postApprovalRequestCreated: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – post properties: post: type: object allOf: – #/definitions/postEventDTO description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /social/events/membershipApproved: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – profileId – spaceId – moderatorProfileId properties: profileId: type: string description: spaceId: type: string description: moderatorProfileId: type: string description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /social/events/membershipRejected: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – profileId – spaceId – moderatorProfileId properties: profileId: type: string description: spaceId: type: string description: moderatorProfileId: type: string description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /social/events/membershipRemoved: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – profileId – spaceId – moderatorProfileId properties: profileId: type: string description: spaceId: type: string description: moderatorProfileId: type: string description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /social/events/addedMemberToSpace: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – space – from – to properties: space: type: string description: from: type: string description: to: type: string description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /social/events/postCreated: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – post properties: post: type: object allOf: – #/definitions/postEventDTO description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /social/events/postLiked: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – post – profile properties: post: type: object allOf: – #/definitions/postEventDTO description: profile: type: object allOf: – #/definitions/profileEventDTO description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /social/events/commentCreated: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – comment properties: comment: type: object allOf: – #/definitions/commentEventDTO description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /social/events/commentLiked: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – commentId – profileId properties: commentId: type: string description: profileId: type: string description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /social/events/postApproved: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – post – profile properties: post: type: object allOf: – #/definitions/postEventDTO description: profile: type: object allOf: – #/definitions/profileEventDTO description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /social/events/postRejected: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – post – profile properties: post: type: object allOf: – #/definitions/postEventDTO description: profile: type: object allOf: – #/definitions/profileEventDTO description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /social/events/postComplained: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – post – from properties: post: type: string description: from: type: string description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /social/events/commentComplained: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – commentId – from properties: commentId: type: string description: from: type: string description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericErrordefinitions: upDown: description: Up or down type: string enum: – UP – DOWN fileType: description: type: string enum: – Unknown – PDF – MsWord – MsExcel – MsPowerPoint – MsVisio – MsOutlook – MsPublisher – OoxmlWord – OoxmlExcel – OoxmlPowerPoint – OoxmlVisio – PlainText – Image – Video – Audio spaceMembershipStatus: description: type: string enum: – Member – WaitingApproval – NotAMember spacePrivacySettingDTO: description: type: string enum: – PUBLIC – PRIVATE smartAppIcon: description: type: string enum: – Ambulance – Anchor – Archive – AreaChart – Asterisk – BalanceScale – BarChart – Barcode – BatteryFull – Bed – Beer – Bell – Bicycle – Binoculars – BirthdayCake – BlackTie – Blind – Bolt – Bomb – Book – Bookmark – Briefcase – Bug – Building – Bullhorn – Bullseye – Bus – Calculator – Calendar – Camera – Car – Child – Cloud – Coffee – Cog – Cogs – Comment – Comments – CreditCard – Crosshairs – Cube – Cubes – Cutlery – Database – Desktop – Diamond – Envelope – Eraser – Eye – Eyedropper – Fax – Female – FighterJet – File – Film – Filter – Fire – FireExtinguisher – Flag – Flask – Folder – FolderOpen – Gamepad – Gift – Glass – Globe – GraduationCap – Hashtag – Headphones – Heart – Heartbeat – History – Home – Hourglass – Inbox – Industry – Info – Laptop – LineChart – Link – Lock – Male – Map – MapMarker – MapPin – MapSigns – Medkit – Microphone – Mobile – Motorcycle – PaintBrush – PaperPlane – Paperclip – Paw – Pencil – Phone – Plane – Play – Plug – PowerOff – Print – Question – QuoteLeft – QuoteRight – Random – Recycle – Refresh – Road – Rocket – Scissors – Search – Server – Shield – Ship – ShoppingBag – ShoppingCart – Signal – SpaceShuttle – Spoon – Square – Star – StickyNote – Suitcase – Table – Tablet – TAg – Tasks – Taxi – Television – ThumbTack – Ticket – Tint – Train – Trash – Tree – Trophy – Truck – Umbrella – University – User – UserSecret – Users – VideoCamera – Wheelchair – Wifi – Wrench notificationTypeDTO: description: type: string enum: – MentionInPost – MentionInComment – PostInSpace – CommentInPost – MembershipRequestInSpace – MembershipApproval – MembershipRejection – MembershipRemoved – PostApproval – PostRejection – PostApprovalRequest – PostComplained – CommentComplained – AddedMemberToSpace – PostLiked – CommentLiked notificationStateDTO: description: type: string enum: – NotRead – Read profileTypeDTO: description: type: string enum: – USER_PROFILE – CORPORATE_PROFILE userNotificationKind: description: User notification kind. type: string enum: – Operational – Management – News userNotificationPriority: description: User notification priority. type: string enum: – Error – Alert – None eventEmailFormat: description: Format of the email type: string enum: – HTML – PLAIN_TEXT fileUploadInfo: description: Dados para upload de um arquivo no blob service type: object required: – url – version – fileName properties: url: type: string description: Url para upload type: string description: Versão do upload fileName: type: string description: Nome do arquivo checkData: description: Dados do healthcheck type: object required: – name – status properties: name: type: string description: Nome do healthcheck status: type: string allOf: – #/definitions/upDown description: Status do healthcheck attachmentDTO: description: type: object required: – id – objectId – contentType – title – excerpt – fileName – when – fileType – fileSize – keyWords properties: id: type: string description: objectId: type: string description: contentType: type: string description: type: string description: excerpt: type: string description: fileName: type: string description: when: type: string format: date-time description: fileType: type: string allOf: – #/definitions/fileType description: fileSize: type: integer format: int64 description: keyWords: type: string description: fileUrl: type: string description: createPostAttachmentDTO: description: type: object required: – objectId – objectVersion – fileName properties: objectId: type: string description: objectVersion: type: string description: fileName: type: string description: contentType: type: string description: type: string description: excerpt: type: string description: type: type: string allOf: – #/definitions/fileType description: size: type: integer format: int64 description: keyWords: type: string description: width: type: integer format: int64 description: height: type: integer format: int64 description: thumbnailSize: type: string description: createCommentAttachmentDTO: description: type: object required: – objectId – objectVersion – fileName properties: objectId: type: string description: objectVersion: type: string description: fileName: type: string description: contentType: type: string description: type: string description: excerpt: type: string description: type: type: string allOf: – #/definitions/fileType description: size: type: integer format: int64 description: keyWords: type: string description: spaceDTO: description: type: object required: – id – name – permaname – bannerUrl – hasBanner – bannerLink – owner – isMember – isAdmin – isModerator – createdAt – privacy – moderators – memberCount – members – groups properties: id: type: string description: name: type: string description: permaname: type: string description: bannerUrl: type: string description: hasBanner: type: boolean description: bannerLink: type: string description: owner: type: object allOf: – #/definitions/spaceOwnerDTO description: isMember: type: string allOf: – #/definitions/spaceMembershipStatus description: isAdmin: type: boolean description: isModerator: type: boolean description: createdAt: type: string format: date-time description: privacy: type: string allOf: – #/definitions/spacePrivacySettingDTO description: moderators: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: memberCount: type: integer format: int64 description: membershipRequestsCount: type: integer format: int64 description: needModeration: type: boolean description: members: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: groups: type: array items: type: object allOf: – #/definitions/groupDTO minimum: 1 description: spaceResponse: description: type: object required: – id – name – permaname – bannerUrl – hasBanner – bannerLink – owner – isMember – isAdmin – isModerator – createdAt – privacy – moderators – memberCount – priorityOrder – needModeration properties: id: type: string description: name: type: string description: permaname: type: string description: bannerUrl: type: string description: hasBanner: type: boolean description: bannerLink: type: string description: owner: type: object allOf: – #/definitions/spaceOwnerDTO description: isMember: type: string allOf: – #/definitions/spaceMembershipStatus description: isAdmin: type: boolean description: isModerator: type: boolean description: createdAt: type: string format: date-time description: privacy: type: string allOf: – #/definitions/spacePrivacySettingDTO description: moderators: type: array items: type: object allOf: – #/definitions/basicProfileDTO minimum: 1 description: memberCount: type: integer format: int64 description: priorityOrder: type: integer format: int64 description: needModeration: type: boolean description: basicSpaceDTO: description: type: object required: – id – name – permaname – owner – privacy – createdAt – isMember – isAdmin properties: id: type: string description: name: type: string description: permaname: type: string description: owner: type: object allOf: – #/definitions/basicProfileDTO description: privacy: type: string allOf: – #/definitions/spacePrivacySettingDTO description: createdAt: type: string format: date-time description: isMember: type: string allOf: – #/definitions/spaceMembershipStatus description: isAdmin: type: boolean description: spaceOwnerDTO: description: type: object required: – id – name – permaname properties: id: type: string description: name: type: string description: permaname: type: string description: profileDTO: description: type: object required: – id – hasAvatar – name – permaname – jobTitle – tags – profileType properties: id: type: string description: avatarUrl: type: string description: hasAvatar: type: boolean description: name: type: string description: permaname: type: string description: jobTitle: type: string description: tags: type: array items: type: string minimum: 1 description: spaces: type: array items: type: object allOf: – #/definitions/postSpaceDTO description: profileType: type: string allOf: – #/definitions/profileTypeDTO description: basicProfileDTO: description: type: object required: – hasAvatar – name – permaname properties: id: type: string description: avatarUrl: type: string description: hasAvatar: type: boolean description: name: type: string description: permaname: type: string description: basicProfileToSpace: description: type: object required: – id – name – permaname – isSpaceMember properties: id: type: string description: name: type: string description: permaname: type: string description: isSpaceMember: type: boolean description: postDTO: description: type: object required: – id – author – when – text – comments – commentCount – profilesThatLiked – likeCount – isAuthor – approved – complained – blockedComment properties: id: type: string description: author: type: object allOf: – #/definitions/profileDTO description: space: type: object allOf: – #/definitions/postSpaceDTO description: spaceId: type: string description: when: type: string format: date-time description: sticky: type: string format: date-time description: read: type: boolean description: text: type: string description: attachment: type: object allOf: – #/definitions/attachmentDTO description: attachments: type: array items: type: object allOf: – #/definitions/attachmentDTO description: comments: type: array items: type: object allOf: – #/definitions/commentDTO minimum: 1 description: commentCount: type: integer format: int64 description: profilesThatLiked: type: array items: type: object allOf: – #/definitions/profileDTO minimum: 1 description: likeCount: type: integer format: int64 description: gotMyLike: type: boolean description: mentions: type: array items: type: object allOf: – #/definitions/mapKeyValue description: isAuthor: type: boolean description: groups: type: array items: type: object allOf: – #/definitions/groupDTO description: approved: type: boolean description: complained: type: boolean description: blockedComment: type: boolean description: postSpaceDTO: description: type: object required: – name – permaname properties: spaceId: type: string description: name: type: string description: permaname: type: string description: postEventDTO: description: type: object required: – id – authorId – when properties: id: type: string description: authorId: type: string description: spaceId: type: string description: when: type: string format: date-time description: mentions: type: array items: type: string description: groups: type: array items: type: object allOf: – #/definitions/groupDTO description: postEditDTO: description: type: object required: – id – text – tags properties: id: type: string description: text: type: string description: mentions: type: array items: type: object allOf: – #/definitions/mapKeyValue description: tags: type: array items: type: string minimum: 1 description: attachment: type: object allOf: – #/definitions/attachmentDTO description: profileEventDTO: description: type: object required: – id – name – permaname properties: id: type: string description: name: type: string description: permaname: type: string description: commentDTO: description: type: object required: – id – author – text – when – likeCount – profilesThatLiked – complained – isDenounciator – isAuthor – edited properties: id: type: string description: author: type: object allOf: – #/definitions/basicProfileDTO description: text: type: string description: when: type: string format: date-time description: mentions: type: array items: type: object allOf: – #/definitions/mapKeyValue description: likeCount: type: integer format: int64 description: gotMyLike: type: boolean description: profilesThatLiked: type: array items: type: object allOf: – #/definitions/basicProfileDTO minimum: 1 description: parent: type: string description: children: type: array items: type: object allOf: – #/definitions/commentDTO description: complained: type: boolean description: isDenounciator: type: boolean description: isAuthor: type: boolean description: edited: type: boolean description: attachment: type: object allOf: – #/definitions/attachmentDTO description: commentEventDTO: description: type: object required: – id – authorId – postId – when properties: id: type: string description: authorId: type: string description: postId: type: string description: when: type: string format: date-time description: mentions: type: array items: type: string description: parent: type: object allOf: – #/definitions/commentEventDTO description: createSmartAppDTO: description: type: object required: – icon – label – url – target properties: icon: type: string allOf: – #/definitions/smartAppIcon description: label: type: string description: url: type: string description: target: type: string description: updateSmartAppDTO: description: type: object properties: icon: type: string allOf: – #/definitions/smartAppIcon description: label: type: string description: url: type: string description: target: type: string description: smartAppDTO: description: type: object required: – id – icon – label – url – target properties: id: type: string description: icon: type: string allOf: – #/definitions/smartAppIcon description: label: type: string description: url: type: string description: target: type: string description: notificationDTO: description: type: object required: – id – profile – type – when – state properties: id: type: string description: profile: type: object allOf: – #/definitions/profileDTO description: type: type: string allOf: – #/definitions/notificationTypeDTO description: space: type: object allOf: – #/definitions/spaceDTO description: postId: type: string description: commentId: type: string description: when: type: string format: date-time description: state: type: string allOf: – #/definitions/notificationStateDTO description: blobUpdateDTO: description: type: object properties: remove: type: boolean description: update: type: object allOf: – #/definitions/blobObjectDTO description: blobObjectDTO: description: type: object required: – objectId – objectVersion properties: objectId: type: string description: objectVersion: type: string description: fileName: type: string description: contentType: type: string description: groupDTO: description: type: object required: – id – name – permaname properties: id: type: string description: name: type: string description: permaname: type: string description: profiles: type: array items: type: object allOf: – #/definitions/profileDTO description: isSpaceGroup: type: boolean description: feedPostResponse: description: type: object required: – id – author – when – text – commentCount – likeCount – isAuthor – approved – complained – tags properties: id: type: string description: author: type: object allOf: – #/definitions/feedPostProfileResponse description: when: type: string format: date-time description: sticky: type: string format: date-time description: isSticky: type: boolean description: read: type: boolean description: text: type: string description: commentCount: type: integer format: int64 description: likeCount: type: integer format: int64 description: gotMyLike: type: boolean description: isAuthor: type: boolean description: approved: type: boolean description: complained: type: boolean description: space: type: object allOf: – #/definitions/feedPostSpaceResponse description: groups: type: array items: type: object allOf: – #/definitions/feedPostGroupResponse description: attachment: type: object allOf: – #/definitions/feedAttachmentResponse description: attachments: type: array items: type: object allOf: – #/definitions/feedAttachmentResponse description: mentions: type: array items: type: object allOf: – #/definitions/mapKeyValue description: tags: type: array items: type: string minimum: 1 description: fixedDate: type: string format: date-time description: isFixed: type: boolean description: blockedComment: type: boolean description: feedPostSpaceResponse: description: type: object required: – name – permaname properties: name: type: string description: permaname: type: string description: feedPostGroupResponse: description: type: object required: – id – name – permaname properties: id: type: string description: name: type: string description: permaname: type: string description: feedAttachmentResponse: description: type: object required: – id – objectId – contentType – title – excerpt – fileName – when – fileType – fileSize – keyWords properties: id: type: string description: objectId: type: string description: contentType: type: string description: type: string description: excerpt: type: string description: fileName: type: string description: when: type: string format: date-time description: fileType: type: string allOf: – #/definitions/fileType description: fileSize: type: integer format: int64 description: keyWords: type: string description: fileUrl: type: string description: feedPostProfileResponse: description: type: object required: – id – name – permaname – avatarUrl – avatarObjectId – hasAvatar properties: id: type: string description: name: type: string description: permaname: type: string description: avatarUrl: type: string description: avatarObjectId: type: string description: hasAvatar: type: boolean description: mapKeyValue: description: type: object required: – key – value properties: key: type: string description: value: type: string description: notifyUserEventPayload: description: Represents a regular user event notification payload discriminator: _discriminator type: object required: – notificationKind – notificationPriority – notificationSubject – notificationContent – sourceDomain – sourceService – destinationUser – _discriminator properties: notificationClass: type: string description: Class of notification notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: string allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: string allOf: – #/definitions/userNotificationPriority description: Notification priority. notificationSubject: type: string description: Notification subject. notificationContent: type: string description: Notification content. sourceDomain: type: string description: Domain that generates the notification. sourceService: type: string description: Service that generates the notification. destinationUser: type: string description: Username of the destination user. link: type: string description: Notification link _discriminator: type: string description: emailNotifyUserEventPayload: description: Represents an email notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – from properties: from: type: string description: Email sender address sendTo: type: array items: type: string description: Additional recipients to send the email to format: type: string allOf: – #/definitions/eventEmailFormat description: Email format pushNotifyUserEventPayload: description: Represents a push notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – applicationId properties: applicationId: type: string description: Apple/Google application id blobReference: description: Default blob reference type. Every service defines its own. type: object required: – targetObjectId properties: domainName: type: string description: The domain the blob belongs to. serviceName: type: string description: The service the blob belongs to. targetObjectId: type: string description: The basic id of the blob. targetCopyId: type: string description: The id of the blob copy. basicErrorPayload: description: Default error payload type. Every service defines its own. type: object properties: message: type: string description: The user-facing error message, if any. errorCode: type: string description: The program-accessible (and service-specific) error code. dependency: description: Represents a service dependency type: object required: – domain – service – version properties: domain: type: string description: Domain of the dependency service service: type: string description: Name of the dependency service type: string description: Version of the dependency service genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE