Rotas RESTful API
Resource: activity
- RFA01: GET /activities (PRIORIZED)
Objetivo: Obtém todas as atividades cadastradas.
Entrada: Não há.
Saída: get-activities.out.json
-
RFA02: GET /activities/:activityId
-
RFA03: POST /activities
-
RFA04: PUT /activities/:activityId
-
RFA05: DELETE /activities/:activityId
Resource: activity_punctuation
-
RFP01: GET /activity_punctuations
-
RFP02: GET /activity_punctuations/:activity_punctuationId
-
RFP03: POST /activity_punctuations
-
RFP04: PUT /activity_punctuations/:activity_punctuationId
-
RFP05: DELETE /activity_punctuations/:activity_punctuationId
Resource: researcher
-
RFR01: GET /researchers
-
RFR02: GET /researchers/:researcherId
-
RFR03: POST /researchers
-
RFR04: PUT /researchers/:researcherId
-
RFR05: DELETE /researchers/:researcherId
Resource: interview
-
RFI01: GET /interviews
-
RFI02: GET /interviews/:interviewId
-
RFI03: GET /interviews/results/:interviewId (PRIORIZED)
Objetivo: Obter todos os resultados de uma entrevista
Entrada: Id da entrevista por parâmetro.
Saída: get-interviews-results.out.json
- RFI04: POST /interviews (PRIORIZED)
Objetivo: Criar um registro uma entrevista e o esqueleto de uma agenda sem semanas.
Entrada: post-interviews.in.json
Saída: post-interviews.out.json
-
RFI05: PUT /interviews/:interviewId
-
RFI06: DELETE /interviews/:interviewId
Resource: schedule
-
RFC01: GET /schedules
-
RFC02: GET /schedules/:scheduleId
-
RFC03: POST /schedules
-
RFC04: PUT /schedules/:scheduleId
-
RFC05: DELETE /schedules/:scheduleId
Resource: week
-
RFW01: GET /weeks
-
RFW02: GET /weeks/:weekId
-
RFW03: POST /weeks (PRIORIZED)
Objetivo: Cadastrar uma semana com seus sete dias, onde cada dia terá suas vinte e quatro horas.
Entrada: post-weeks.in.json
Saída: post-weeks.out.json
-
RFW04: PUT /weeks/:weekId
-
RFW05: DELETE /weeks/:weekId
Resource: day
-
RFD01: GET /days
-
RFD02: GET /days/:dayId
-
RFD03: POST /days
-
RFD04: PUT /days/:dayId
-
RFD05: DELETE /days/:dayId
Resource: question
-
RFQ01: GET /questions
-
RFQ02: GET /questions/:questionId
-
RFQ03: POST /questions (PRIORIZED)
Objetivo: Cadastrar a pergunta e resposta do entrevistado a um evento.
Entrada: post-questions.in.json
Saída: post-questions.out.json
-
RFQ04: PUT /questions/:questionId
-
RFQ05: DELETE /questions/:questionId
Resource: hour
-
RFH01: GET /hours
-
RFH02: GET /hours/:hourId
-
RFH03: POST /hours
-
RFH04: PUT /hours/:hourId
-
RFH05: DELETE /hours/:hourId
Resource: result
-
RFE01: GET /results
-
RFE02: GET /results/:resultId
-
RFE03: POST /results
-
RFE04: PUT /results/:resultId
-
RFE05: DELETE /results/:resultId
Resource: event
- RFV01: GET /events (PRIORIZED)
Objetivo: Obter todos os eventos cadastrados.
Entrada: Não há.
Saída: get-events.out.json
-
RFV02: GET /events/:eventId
-
RFV03: POST /events
-
RFV04: PUT /events/:eventId
-
RFV05: DELETE /events/:eventId
Formato de apresentação obtido através de [Adoções - Requisitos API](http://www.tools.ages.pucrs.br/AGES-Adocoes/Adocoes/wikis/requisitos-api)