Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Beskrivning
EmailSender är en tjänst för att skicka e-post, inklusive bilagor om så önskas.
Livscykelstatus
Under utveckling.Produktion
Lösningsbeskrivning
Gliffy | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Hantering av personuppgifter
Inga personuppgifter hanteras i tjänsten.
API-specifikation
Expand | ||
---|---|---|
| ||
|
Swagger ui |
---|
openapi: 3.0.1 info: title: EmailSender contact: {} license: name: MIT License url: https://opensource.org/licenses/MIT version: "1.0" servers: - url: https://api-test.sundsvall.se/email-sender/ paths: /send/email: post: tags: - Email Resources summary: Send an Email operationId: sendMail requestBody: content: application/json: schema: $ref: '#/components/schemas/EmailRequest' required: true responses: "200": description: Successful Operation "400": description: Bad Request content: '*/*': schema: $ref: '#/components/schemas/Problem' "500": description: Internal Server Error content: '*/*': schema: $ref: '#/components/schemas/Problem' /api-docs: get: tags: - API summary: OpenAPI operationId: getApiDocs responses: "200": description: OK content: application/yaml: schema: type: string x-auth-type: None x-throttling-tier: Unlimited x-wso2-mutual-ssl: Optional security: - ApiKeyAuth: [] components: schemas: Attachment: type: object properties: content: type: string description: The attachment (file) content as a BASE64-encoded string example: aGVsbG8gd29ybGQK name: type: string description: The attachment filename example: test.txt contentType: type: string description: The attachment content type example: text/plain description: Attachments EmailRequest: required: - emailAddress - senderEmail - senderName - subject type: object properties: emailAddress: type: string description: Recipient e-mail address example: recipient@recipient.se subject: type: string description: E-mail subject message: type: string description: E-mail plain-text body htmlMessage: type: string description: E-mail HTML body (BASE64-encoded) senderName: type: string description: Sender name senderEmail: type: string description: Sender e-mail address example: sender@sender.se attachments: type: array description: Attachments items: $ref: '#/components/schemas/Attachment' Problem: type: object properties: instance: type: string format: uri type: type: string format: uri parameters: type: object additionalProperties: type: object status: $ref: '#/components/schemas/StatusType' title: type: string detail: type: string StatusType: type: object properties: statusCode: type: integer format: int32 reasonPhrase: type: string securitySchemes: ApiKeyAuth: type: apiKey in: header name: apikey |
Säkerhetsklassning
Säkerhetsklass 1
Autentiseringsmetod: Oauth2
(Ref: Säkerhetsklassning av APIer )
API-ägare<Kontaktuppgifter till den verksamhet som äger APIets livscykel>
Teknisk ägare
https://sundsvall.atlassian.net/wiki/spaces/API
För tekniska frågor: teamdynasty@sundsvall.se
Länkar
Sandbox - TBD
FAQ
<FAQ>