gfw-api/gfw-forms-api

View on GitHub
app/microservice/register.json

Summary

Maintainability
Test Coverage
{
  "id": "#(service.id)",
  "name": "#(service.name)",
  "tags": [
    "gfw"
  ],
  "endpoints": [
    {
      "path": "/v1/questionnaire",
      "method": "GET",
      "redirect": {
        "method": "GET",
        "path": "/api/v1/questionnaire"
      }
    },
    {
      "path": "/v1/questionnaire/:id",
      "method": "GET",
      "redirect": {
        "method": "GET",
        "path": "/api/v1/questionnaire/:id"
      }
    },
    {
      "path": "/v1/questionnaire",
      "method": "POST",
      "redirect": {
        "method": "POST",
        "path": "/api/v1/questionnaire"
      }
    },
    {
      "path": "/v1/questionnaire/:id",
      "method": "PATCH",
      "redirect": {
        "method": "PATCH",
        "path": "/api/v1/questionnaire/:id"
      }
    },
    {
      "path": "/v1/questionnaire/:id",
      "method": "DELETE",
      "redirect": {
        "method": "DELETE",
        "path": "/api/v1/questionnaire/:id"
      }
    },
    {
      "path": "/v1/questionnaire/:questionnaireId/answer",
      "method": "GET",
      "redirect": {
        "method": "GET",
        "path": "/api/v1/questionnaire/:questionnaireId/answer"
      }
    },
    {
      "path": "/v1/questionnaire/:questionnaireId/answer/:id",
      "method": "GET",
      "redirect": {
        "method": "GET",
        "path": "/api/v1/questionnaire/:questionnaireId/answer/:id"
      }
    },
    {
      "path": "/v1/questionnaire/:questionnaireId/answer",
      "method": "POST",
      "redirect": {
        "method": "POST",
        "path": "/api/v1/questionnaire/:questionnaireId/answer"
      }
    },
    {
      "path": "/v1/questionnaire/:questionnaireId/answer/:id",
      "method": "PATCH",
      "redirect": {
        "method": "PATCH",
        "path": "/api/v1/questionnaire/:questionnaireId/answer/:id"
      }
    },
    {
      "path": "/v1/questionnaire/:questionnaireId/answer/:id",
      "method": "DELETE",
      "redirect": {
        "method": "DELETE",
        "path": "/api/v1/questionnaire/:questionnaireId/answer/:id"
      }
    },
    {
      "path": "/v1/questionnaire/:id/download-answers",
      "method": "GET",
      "binary": true,
      "redirect": {
        "method": "GET",
        "path": "/api/v1/questionnaire/:id/download-answers"
      }
    },
    {
      "path": "/v1/reports",
      "method": "GET",
      "binary": true,
      "redirect": {
        "method": "GET",
        "path": "/api/v1/reports"
      }
    },
    {
      "path": "/v1/reports",
      "method": "POST",
      "binary": true,
      "redirect": {
        "method": "POST",
        "path": "/api/v1/reports"
      }
    },
    {
      "path": "/v1/reports/:reportId",
      "method": "GET",
      "binary": true,
      "redirect": {
        "method": "GET",
        "path": "/api/v1/reports/:reportId"
      }
    },
    {
      "path": "/v1/reports/:reportId",
      "method": "POST",
      "binary": true,
      "redirect": {
        "method": "POST",
        "path": "/api/v1/reports/:reportId"
      }
    },
    {
      "path": "/v1/reports/:reportId",
      "method": "PUT",
      "binary": true,
      "redirect": {
        "method": "PUT",
        "path": "/api/v1/reports/:reportId"
      }
    },
    {
      "path": "/v1/reports/:reportId",
      "method": "PATCH",
      "binary": true,
      "redirect": {
        "method": "PATCH",
        "path": "/api/v1/reports/:reportId"
      }
    },
    {
      "path": "/v1/reports/:reportId",
      "method": "DELETE",
      "binary": true,
      "redirect": {
        "method": "DELETE",
        "path": "/api/v1/reports/:reportId"
      }
    },
    {
      "path": "/v1/reports/:reportId/answers",
      "method": "GET",
      "binary": true,
      "redirect": {
        "method": "GET",
        "path": "/api/v1/reports/:reportId/answers"
      }
    },
    {
      "path": "/v1/reports/:reportId/answers",
      "method": "POST",
      "binary": true,
      "redirect": {
        "method": "POST",
        "path": "/api/v1/reports/:reportId/answers"
      }
    },
    {
      "path": "/v1/reports/:reportId/answers/:id",
      "method": "GET",
      "binary": true,
      "redirect": {
        "method": "GET",
        "path": "/api/v1/reports/:reportId/answers/:id"
      }
    },
    {
      "path": "/v1/reports/:reportId/answers/:id",
      "method": "POST",
      "binary": true,
      "redirect": {
        "method": "POST",
        "path": "/api/v1/reports/:reportId/answers/:id"
      }
    },
    {
      "path": "/v1/reports/:reportId/answers/:id",
      "method": "PATCH",
      "binary": true,
      "redirect": {
        "method": "PATCH",
        "path": "/api/v1/reports/:reportId/answers/:id"
      }
    },
    {
      "path": "/v1/reports/:reportId/answers/:id",
      "method": "DELETE",
      "binary": true,
      "redirect": {
        "method": "DELETE",
        "path": "/api/v1/reports/:reportId/answers/:id"
      }
    },
    {
      "path": "/v1/reports/:reportId/download-answers",
      "method": "GET",
      "binary": true,
      "redirect": {
        "method": "GET",
        "path": "/api/v1/reports/:reportId/download-answers"
      }
    }
  ]
}