|
|
# Semestre 2017-1
|
|
|
|
|
|
## Requisitos Funcionais
|
|
|
|
|
|
### Resource: **oauth**
|
... | ... | @@ -8,20 +6,24 @@ |
|
|
|
|
|
### Resource: **usuario**
|
|
|
|
|
|
**RFU01:** POST /usuarios (FEATURE REQUEST: cadastro simplificado X completo)
|
|
|
**RFU01:** POST /usuarios
|
|
|
|
|
|
**RFU02:** GET /usuarios
|
|
|
|
|
|
**RFU03:** GET /usuarios/{id_usuario}
|
|
|
|
|
|
**RFU04:** PUT /usuarios/{id_usuario}
|
|
|
**RFU04:** PUT ou PATCH /usuarios/{id_usuario}
|
|
|
|
|
|
**RFU05:** DELETE /usuarios/{id_usuario}
|
|
|
|
|
|
**RFU06:** GET /usuarios/{id_usuario}/perfis
|
|
|
~~**RFU06:** GET /usuarios/{id_usuario}/perfis~~ (DEPRECATED)
|
|
|
|
|
|
**RFU09:** PUT /usuarios/{id_usuario}/perfis
|
|
|
|
|
|
**RFU07:** POST /usuarios/{id_usuario}/perfis (NOT PRIORITIZED)
|
|
|
|
|
|
**RFU08:** DELETE /usuarios/{id_usuario}/perfis/{id_perfil} (NOT PRIORITIZED)
|
|
|
|
|
|
### Resource: **menor**
|
|
|
|
|
|
**RFM01:** POST /menores
|
... | ... | @@ -30,7 +32,7 @@ |
|
|
|
|
|
**RFM03:** GET /menores/{id_menor}
|
|
|
|
|
|
**RFM04:** PUT /menores/{id_menor}
|
|
|
**RFM04:** PUT ou PATCH /menores/{id_menor}
|
|
|
|
|
|
**RFM05:** DELETE /menores/{id_menor}
|
|
|
|
... | ... | @@ -38,25 +40,35 @@ |
|
|
|
|
|
**RFM07:** POST /menores/{id_menor}/interessados
|
|
|
|
|
|
**RFM08:** GET /menores/{id_menor}/interessados
|
|
|
**RFM08:** GET /menores/{id_menor}/interessados?tipo=favorito|apadrinhamento|adocao
|
|
|
|
|
|
**RFM09:** DELETE /menores/{id_menor}/interessados/{id_interessado}?tipo=favorito|apadrinhamento|adocao
|
|
|
|
|
|
**RFM10:** POST /menores/{id_menor}/midias
|
|
|
|
|
|
**RFM11:** GET /menores/{id_menor}/midias
|
|
|
|
|
|
**RFM12:** GET /menores/{id_menor}/midias/{id_midia}
|
|
|
|
|
|
**RFM13:** DELETE /menores/{id_menor}/midias/{id_midia}
|
|
|
|
|
|
**RFM09:** DELETE /menores/{id_menor}/interessados/{id_interessado}
|
|
|
~~**RFM14:** POST /menores/{id_menor}/videos~~ (DEPRECATED)
|
|
|
|
|
|
**RFM10:** POST /menores/{id_menor}/imagens
|
|
|
~~**RFM15:** GET /menores/{id_menor}/videos~~ (DEPRECATED)
|
|
|
|
|
|
**RFM11:** GET /menores/{id_menor}/imagens
|
|
|
~~**RFM16:** GET /menores/{id_menor}/videos/{id_video}~~ (DEPRECATED)
|
|
|
|
|
|
**RFM12:** GET /menores/{id_menor}/imagens/{id_imagem}
|
|
|
~~**RFM17:** DELETE /menores/{id_menor}/videos/{id_video}~~ (DEPRECATED)
|
|
|
|
|
|
**RFM13:** DELETE /menores/{id_menor}/imagens/{id_imagem}
|
|
|
**RFM18:** PUT /menores/{id_menor} (id_abrigo ou id_familia) (NOT PRIORITIZED)
|
|
|
|
|
|
**RFM14:** POST /menores/{id_menor}/videos
|
|
|
**RFM09:** POST /menores/{id_menor}/processos (NOT PRIORITIZED)
|
|
|
|
|
|
**RFM15:** GET /menores/{id_menor}/videos
|
|
|
**RFM20:** GET /menores/{id_menor}/processos (NOT PRIORITIZED)
|
|
|
|
|
|
**RFM16:** GET /menores/{id_menor}/videos/{id_video}
|
|
|
**RFM21:** GET /menores/{id_menor}/processos/{id_processo} (NOT PRIORITIZED)
|
|
|
|
|
|
**RFM17:** DELETE /menores/{id_menor}/videos/{id_video}
|
|
|
**RFM22:** DELETE /menores/{id_menor}/processos/{id_processo} (NOT PRIORITIZED)
|
|
|
|
|
|
### Resource: **interessado**
|
|
|
|
... | ... | @@ -66,15 +78,15 @@ |
|
|
|
|
|
**RFI03:** GET /interessados/{id_interessado}
|
|
|
|
|
|
**RFI04:** PUT /interessados/{id_interessado}
|
|
|
**RFI04:** PUT ou PATCH /interessados/{id_interessado}
|
|
|
|
|
|
**RFI05:** DELETE /interessados/{id_interessado}
|
|
|
|
|
|
~~**RFI06:** PUT /interessados/{id_interessado}~~ (DEPRECATED)
|
|
|
|
|
|
**RFI07:** GET /interessados/{id_interessado}/ordenacao
|
|
|
~~**RFI07:** GET /interessados/{id_interessado}/ordenacao~~ (DEPRECATED)
|
|
|
|
|
|
**RFI08:** PUT /interessados/{id_interessado}/ordenacao
|
|
|
~~**RFI08:** PUT /interessados/{id_interessado}/ordenacao~~ (DEPRECATED)
|
|
|
|
|
|
**RFI09:** POST /interessados/{id_interessado}/visualizacoes
|
|
|
|
... | ... | @@ -82,7 +94,7 @@ |
|
|
|
|
|
**RFI11:** PUT /interessados/{id_interessado}/visualizacoes
|
|
|
|
|
|
**RFI12:** GET /interessados?query=id_menor={id_menor}
|
|
|
~~**RFI12:** GET /interessados?query=id_menor={id_menor}~~ (DEPRECATED)
|
|
|
|
|
|
[**RFI13:** POST /interessados/{id_interessado}/menores](./requisitos-rfi13)
|
|
|
|
... | ... | @@ -96,37 +108,27 @@ |
|
|
|
|
|
**RFC02:** GET /conteudos
|
|
|
|
|
|
**RFC03:** PUT /conteudos/{id_conteudo}
|
|
|
**RFC03:** PUT ou PATCH /conteudos/{id_conteudo}
|
|
|
|
|
|
**RFC04:** DELETE /conteudos/{id_conteudo}
|
|
|
|
|
|
**RFC05:** POST /conteudos/{id_conteudo}/imagens
|
|
|
**RFC05:** POST /conteudos/{id_conteudo}/midias
|
|
|
|
|
|
**RFC06:** GET /conteudos/{id_conteudo}/imagens
|
|
|
**RFC06:** GET /conteudos/{id_conteudo}/midias
|
|
|
|
|
|
**RFC07:** GET /conteudos/{id_conteudo}/imagens/{id_imagem}
|
|
|
**RFC07:** GET /conteudos/{id_conteudo}/midias/{id_midia}
|
|
|
|
|
|
**RFC08:** DELETE /conteudos/{id_conteudo}/imagens/{id_imagem}
|
|
|
**RFC08:** DELETE /conteudos/{id_conteudo}/midias/{id_midia}
|
|
|
|
|
|
**RFC09:** POST /conteudos/{id_conteudo}/videos
|
|
|
~~**RFC09:** POST /conteudos/{id_conteudo}/videos~~ (DEPRECATED)
|
|
|
|
|
|
**RFC10:** GET /conteudos/{id_conteudo}/videos
|
|
|
|
|
|
**RFC11:** GET /conteudos/{id_conteudo}/videos/{id_video}
|
|
|
|
|
|
**RFC12:** DELETE /conteudos/{id_conteudo}/videos/{id_video}
|
|
|
|
|
|
# Semestre 2017-2
|
|
|
|
|
|
## Requisitos Funcionais
|
|
|
|
|
|
### Resource: **usuario**
|
|
|
~~**RFC10:** GET /conteudos/{id_conteudo}/videos~~ (DEPRECATED)
|
|
|
|
|
|
**RFU07:** POST /usuarios/{id_usuario}/perfis
|
|
|
~~**RFC11:** GET /conteudos/{id_conteudo}/videos/{id_video}~~ (DEPRECATED)
|
|
|
|
|
|
**RFU08:** DELETE /usuarios/{id_usuario}/perfis/{id_perfil}
|
|
|
~~**RFC12:** DELETE /conteudos/{id_conteudo}/videos/{id_video}~~ (DEPRECATED)
|
|
|
|
|
|
### Resource: **perfil**
|
|
|
### Resource: **perfil** (NOT PRIORITIZED)
|
|
|
|
|
|
**RFP01:** POST /perfis
|
|
|
|
... | ... | @@ -144,33 +146,7 @@ |
|
|
|
|
|
**RFP08:** DELETE /perfis/{id_perfil}/usuarios/{id_usuario}
|
|
|
|
|
|
### Resource: **menor**
|
|
|
|
|
|
**RFM18:** PUT /menores/{id_menor} (id_abrigo ou id_familia)
|
|
|
|
|
|
**RFM09:** POST /menores/{id_menor}/processos
|
|
|
|
|
|
**RFM20:** GET /menores/{id_menor}/processos
|
|
|
|
|
|
**RFM21:** GET /menores/{id_menor}/processos/{id_processo}
|
|
|
|
|
|
**RFM22:** DELETE /menores/{id_menor}/processos/{id_processo}
|
|
|
|
|
|
### Resource: **interessado**
|
|
|
|
|
|
**RFI16:** POST /interessados/{id_interessado}/menores/{id_menor}/compartilhamentos
|
|
|
|
|
|
**RFI17:** GET /interessados/{id_interessado}/mensagens
|
|
|
|
|
|
**RFI18:** PUT /usuarios/{id_usuario}/mensagens
|
|
|
|
|
|
**RFI19:** POST /interessados/{id_interessado}/documentos
|
|
|
|
|
|
**RFI20:** GET /interessados/{id_interessado}/documentos
|
|
|
|
|
|
**RFI21:** GET /interessados/{id_interessado}/documentos/{id_documento}
|
|
|
|
|
|
### Resource: **mensagem**
|
|
|
### Resource: **mensagem** (NOT PRIORITIZED)
|
|
|
|
|
|
**RFM01:** POST /mensagens
|
|
|
|
... | ... | @@ -184,7 +160,7 @@ |
|
|
|
|
|
**RFM06:** DELETE /mensagens/{id_mensagem}
|
|
|
|
|
|
### Resource: **abrigo**
|
|
|
### Resource: **abrigo** (NOT PRIORITIZED)
|
|
|
|
|
|
**RFA01:** POST /abrigos
|
|
|
|
... | ... | @@ -194,7 +170,7 @@ |
|
|
|
|
|
**RFA04:** DELETE /abrigos/{id_abrigo}
|
|
|
|
|
|
### Resource: **familia**
|
|
|
### Resource: **familia** (NOT PRIORITIZED)
|
|
|
|
|
|
**RFF01:** POST /familias
|
|
|
|
... | ... | @@ -204,7 +180,7 @@ |
|
|
|
|
|
**RFF04:** DELETE /familias/{id_familia}
|
|
|
|
|
|
### Resource: **processo**
|
|
|
### Resource: **processo** (NOT PRIORITIZED)
|
|
|
|
|
|
**RFO01:** POST /processos
|
|
|
|
... | ... | |