Skip to content
This repository has been archived by the owner on Mar 29, 2019. It is now read-only.

Vote listings are showing too much information #78

Open
fgregg opened this issue Jan 6, 2016 · 1 comment
Open

Vote listings are showing too much information #78

fgregg opened this issue Jan 6, 2016 · 1 comment

Comments

@fgregg
Copy link
Contributor

fgregg commented Jan 6, 2016

We should probably have the vote listings show less information

http://ocd.datamade.us/ocd-vote/2d1ad08c-83af-4795-991b-239d7f027821/

{
    "voter_name": "Balcer, James",
    "voter": 

    {
        "image": "",
        "sort_name": "",
        "created_at": "2015-12-25T16:26:25.575",
        "id": "ocd-person/b0d09c1d-4b9c-445f-bee5-848f0aac04b8",
        "gender": "",
        "locked_fields": "[]",
        "national_identity": "",
        "family_name": "",
        "given_name": "",
        "summary": "",
        "birth_date": "",
        "death_date": "",
        "extras": "{}",
        "name": "Balcer, James",
        "biography": "",
        "updated_at": "2015-12-25T16:26:25.575"
    },
    "option": "yes",
    "note": ""
},

At the least, we should remove "locked_fields" I think we should cut even further back. Maybe only include the ocd_id.

@fgregg fgregg changed the title Vote listings are showing to much information Vote listings are showing too much information Jan 6, 2016
@jpmckinney
Copy link
Member

Fine with me. I don't know anyone building apps with the vote API, so we may as well make it minimal and then relax it later.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants