Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create base pinmap endpoint #265

Closed
sellnat77 opened this issue Feb 19, 2020 · 0 comments
Closed

Create base pinmap endpoint #265

sellnat77 opened this issue Feb 19, 2020 · 0 comments
Assignees
Labels
Complexity: Missing This ticket needs a complexity (good first issue, small, medium, or large) Feature: Missing Role: Backend Related to API or other server-side work size: Missing v1 The first version of the site

Comments

@sellnat77
Copy link
Member

sellnat77 commented Feb 19, 2020

Overview

Create the backend endpoint to serve the frontend's pinmap request
endpoint definition is
POST http://backend:port/pins

This will serve as the start of the pinmap endpoint, improvements and changes are expected

Action Items

Request payload example:

{
	"startDate":"2015-01-01",
	"endDate":"2015-12-31",
	"ncList": ["SUNLAND-TUJUNGA NC"],
	"requestTypes":["Homeless Encampment"]
}

Response payload example:

{
    "lastPulled": "NOW",
    "data": [
        {
            "ncname": "SUNLAND-TUJUNGA NC",
            "requesttype": "Homeless Encampment",
            "srnumber": "1-79371671",
            "latitude": 34.2500573562,
            "longitude": -118.285967224,
            "address": "TUJUNGA CANYON BLVD AT PINEWOOD AVE, 91042",
            "createddate": 1449835131
        },
        {
            "ncname": "SUNLAND-TUJUNGA NC",
            "requesttype": "Homeless Encampment",
            "srnumber": "1-75982851",
            "latitude": 34.2480072639,
            "longitude": -118.285966934,
            "address": "PINEWOOD AVE AT FOOTHILL BLVD, 91042",
            "createddate": 1449245408
        },
  ]
}
@sellnat77 sellnat77 added the Role: Backend Related to API or other server-side work label Feb 19, 2020
@sellnat77 sellnat77 self-assigned this Feb 19, 2020
sellnat77 added a commit that referenced this issue Feb 19, 2020
Fixes #265 Added pinService and started data layer abstraction
@github-project-automation github-project-automation bot moved this to Done (without merge) in P: 311: Project Board Aug 22, 2024
@ExperimentsInHonesty ExperimentsInHonesty added the v1 The first version of the site label Aug 22, 2024
@cottonchristopher cottonchristopher added the Complexity: Missing This ticket needs a complexity (good first issue, small, medium, or large) label Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: Missing This ticket needs a complexity (good first issue, small, medium, or large) Feature: Missing Role: Backend Related to API or other server-side work size: Missing v1 The first version of the site
Projects
Status: Done (without merge)
Development

No branches or pull requests

3 participants