|
|
[html-to-markdown.md](uploads/6da0f2858329de3606b4720d8f1085bd/html-to-markdown.md) |
|
|
\ No newline at end of file |
|
|
CheckIn@UFSC body { font-family: Trebuchet MS, sans-serif; font-size: 15px; color: #444; margin-right: 24px; } h1 { font-size: 25px; } h2 { font-size: 20px; } h3 { font-size: 16px; font-weight: bold; } hr { height: 1px; border: 0; color: #ddd; background-color: #ddd; } .app-desc { clear: both; margin-left: 20px; } .param-name { width: 100%; } .license-info { margin-left: 20px; } .license-url { margin-left: 20px; } .model { margin: 0 0 0px 20px; } .method { margin-left: 20px; } .method-notes { margin: 10px 0 20px 0; font-size: 90%; color: #555; } pre { padding: 10px; margin-bottom: 2px; } .http-method { text-transform: uppercase; } pre.get { background-color: #0f6ab4; } pre.post { background-color: #10a54a; } pre.put { background-color: #c5862b; } pre.delete { background-color: #a41e22; } .huge { color: #fff; } pre.example { background-color: #f3f3f3; padding: 10px; border: 1px solid #ddd; } code { white-space: pre; } .nickname { font-weight: bold; } .method-path { font-size: 1.5em; background-color: #0f6ab4; } .up { float:right; } .parameter { width: 500px; } .param { width: 500px; padding: 10px 0 0 20px; font-weight: bold; } .param-desc { width: 700px; padding: 0 0 0 20px; color: #777; } .param-type { font-style: italic; } .param-enum-header { width: 700px; padding: 0 0 0 60px; color: #777; font-weight: bold; } .param-enum { width: 700px; padding: 0 0 0 80px; color: #777; font-style: italic; } .field-label { padding: 0; margin: 0; clear: both; } .field-items { padding: 0 0 15px 0; margin-bottom: 15px; } .return-type { clear: both; padding-bottom: 10px; } .param-header { font-weight: bold; } .method-tags { text-align: right; } .method-tag { background: none repeat scroll 0% 0% #24A600; border-radius: 3px; padding: 2px 10px; margin: 2px; color: #FFF; display: inline-block; text-decoration: none; }
|
|
|
|
|
|
CheckIn@UFSC
|
|
|
============
|
|
|
|
|
|
API utilizada para interagir com o back-end do sistema CheckIn@UFSC
|
|
|
|
|
|
More information: [https://helloreverb.com](https://helloreverb.com)
|
|
|
|
|
|
Contact Info: [hello@helloreverb.com](hello@helloreverb.com)
|
|
|
|
|
|
Version: 1.0.0
|
|
|
|
|
|
BasePath:/FKettl/CheckIn/1.0.0
|
|
|
|
|
|
All rights reserved
|
|
|
|
|
|
http://apache.org/licenses/LICENSE-2.0.html
|
|
|
|
|
|
Access
|
|
|
------
|
|
|
|
|
|
1. OAuth AuthorizationUrl:http://petstore.swagger.io/oauth/dialogTokenUrl:
|
|
|
|
|
|
Methods
|
|
|
-------
|
|
|
|
|
|
\[ Jump to [Models](#__Models) \]
|
|
|
|
|
|
### Table of Contents
|
|
|
|
|
|
#### [Geohash](#Geohash)
|
|
|
|
|
|
* [`post /geohash_suspect`](#geohashSuspect)
|
|
|
|
|
|
#### [Qrcode](#Qrcode)
|
|
|
|
|
|
* [`post /last_qrcode`](#lastQrcodes)
|
|
|
* [`post /new_qrcode`](#newQrcode)
|
|
|
|
|
|
#### [Servidor](#Servidor)
|
|
|
|
|
|
* [`get /`](#root)
|
|
|
|
|
|
#### [Usurio](#Usurio)
|
|
|
|
|
|
* [`put /autodiagnostico`](#autodiagnostico)
|
|
|
* [`post /device/handshake`](#handshake)
|
|
|
* [`post /last_checkin`](#infected)
|
|
|
|
|
|
Geohash
|
|
|
=======
|
|
|
|
|
|
[Up](#__Methods)
|
|
|
|
|
|
post /geohash_suspect
|
|
|
|
|
|
Marca um geohash como suspeito (geohashSuspect)
|
|
|
|
|
|
### Consumes
|
|
|
|
|
|
This API call consumes the following media types via the Content-Type request header:
|
|
|
|
|
|
* `application/json`
|
|
|
|
|
|
### Request body
|
|
|
|
|
|
body [object](#object) (required)
|
|
|
|
|
|
Body Parameter — Requer o geohash
|
|
|
|
|
|
### Produces
|
|
|
|
|
|
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
|
|
|
|
|
|
* `application/json`
|
|
|
|
|
|
### Responses
|
|
|
|
|
|
#### 200
|
|
|
|
|
|
Sucesso[](#)
|
|
|
|
|
|
#### 400
|
|
|
|
|
|
Geohash está faltando[](#)
|
|
|
|
|
|
* * *
|
|
|
|
|
|
Qrcode
|
|
|
======
|
|
|
|
|
|
[Up](#__Methods)
|
|
|
|
|
|
post /last_qrcode
|
|
|
|
|
|
Busca o último qrcode (lastQrcodes)
|
|
|
|
|
|
### Consumes
|
|
|
|
|
|
This API call consumes the following media types via the Content-Type request header:
|
|
|
|
|
|
* `application/json`
|
|
|
|
|
|
### Request body
|
|
|
|
|
|
body [object](#object) (required)
|
|
|
|
|
|
Body Parameter — Necessita de um sip
|
|
|
|
|
|
### Produces
|
|
|
|
|
|
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
|
|
|
|
|
|
* `application/json`
|
|
|
|
|
|
### Responses
|
|
|
|
|
|
#### 204
|
|
|
|
|
|
Sucesso[](#)
|
|
|
|
|
|
#### 400
|
|
|
|
|
|
Está faltando o sip[](#)
|
|
|
|
|
|
* * *
|
|
|
|
|
|
[Up](#__Methods)
|
|
|
|
|
|
post /new_qrcode
|
|
|
|
|
|
Gera novo QR Code (newQrcode)
|
|
|
|
|
|
Requer idpessoa, sip e date
|
|
|
|
|
|
### Request body
|
|
|
|
|
|
body [object](#object) (required)
|
|
|
|
|
|
Body Parameter —
|
|
|
|
|
|
### Produces
|
|
|
|
|
|
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
|
|
|
|
|
|
* `application/json`
|
|
|
|
|
|
### Responses
|
|
|
|
|
|
#### 200
|
|
|
|
|
|
Sucesso[](#)
|
|
|
|
|
|
#### 400
|
|
|
|
|
|
Algum dos valores está faltando [Object](#Object)
|
|
|
|
|
|
* * *
|
|
|
|
|
|
Servidor
|
|
|
========
|
|
|
|
|
|
[Up](#__Methods)
|
|
|
|
|
|
get /
|
|
|
|
|
|
Verifica se o server está no ar (root)
|
|
|
|
|
|
### Return type
|
|
|
|
|
|
Object
|
|
|
|
|
|
### Example data
|
|
|
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{}
|
|
|
|
|
|
### Produces
|
|
|
|
|
|
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
|
|
|
|
|
|
* `application/json`
|
|
|
|
|
|
### Responses
|
|
|
|
|
|
#### 200
|
|
|
|
|
|
Sucesso [Object](#Object)
|
|
|
|
|
|
* * *
|
|
|
|
|
|
Usurio
|
|
|
======
|
|
|
|
|
|
[Up](#__Methods)
|
|
|
|
|
|
put /autodiagnostico
|
|
|
|
|
|
Realiza o autodiagnostico (autodiagnostico)
|
|
|
|
|
|
### Request body
|
|
|
|
|
|
body [object](#object) (required)
|
|
|
|
|
|
Body Parameter — Requer um bearer token para autorização, id do paciente, status antigo, status atual e sintomas
|
|
|
|
|
|
### Produces
|
|
|
|
|
|
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
|
|
|
|
|
|
* `application/json`
|
|
|
|
|
|
### Responses
|
|
|
|
|
|
#### 200
|
|
|
|
|
|
Sucesso[](#)
|
|
|
|
|
|
#### 400
|
|
|
|
|
|
Algum dos valores está faltando[](#)
|
|
|
|
|
|
#### 403
|
|
|
|
|
|
Token inválido[](#)
|
|
|
|
|
|
* * *
|
|
|
|
|
|
[Up](#__Methods)
|
|
|
|
|
|
post /device/handshake
|
|
|
|
|
|
Cria um novo usuário (handshake)
|
|
|
|
|
|
Multiple status values can be provided with comma separated strings
|
|
|
|
|
|
### Request body
|
|
|
|
|
|
body [object](#object) (required)
|
|
|
|
|
|
Body Parameter — Requer id, nome e versão do OS e modelo e fabricante do celular
|
|
|
|
|
|
### Produces
|
|
|
|
|
|
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
|
|
|
|
|
|
* `application/json`
|
|
|
|
|
|
### Responses
|
|
|
|
|
|
#### 200
|
|
|
|
|
|
Sucesso[](#)
|
|
|
|
|
|
#### 400
|
|
|
|
|
|
Algum dos valores está faltando[](#)
|
|
|
|
|
|
* * *
|
|
|
|
|
|
[Up](#__Methods)
|
|
|
|
|
|
post /last_checkin
|
|
|
|
|
|
Verifica se foi realizado o check-out no último check-in do usuário (infected)
|
|
|
|
|
|
Requer id
|
|
|
|
|
|
### Request body
|
|
|
|
|
|
body [object](#object) (required)
|
|
|
|
|
|
Body Parameter —
|
|
|
|
|
|
### Return type
|
|
|
|
|
|
Object
|
|
|
|
|
|
### Example data
|
|
|
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{}
|
|
|
|
|
|
### Produces
|
|
|
|
|
|
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
|
|
|
|
|
|
* `application/json`
|
|
|
|
|
|
### Responses
|
|
|
|
|
|
#### 200
|
|
|
|
|
|
Há um checkin aberto [Object](#Object)
|
|
|
|
|
|
#### 400
|
|
|
|
|
|
Id está faltando [Object](#Object)
|
|
|
|
|
|
* * *
|
|
|
|
|
|
Models
|
|
|
------
|
|
|
|
|
|
\[ Jump to [Methods](#__Methods) \]
|
|
|
|
|
|
### Table of Contents |
|
|
\ No newline at end of file |