Git Product home page Git Product logo

Comments (7)

alexshepard avatar alexshepard commented on July 16, 2024

Aside from id & uuid which we'll need for everything that has them.

observation {
    date/time
    user
    taxon
    species guess
    description
    latitude
    longitude
    accuracy
    place guess
    geoprivacy
    data quality
    captive / cultivated
    identifications
    comments
    faves
    projects
    observation field values
}

observation photos {
    photo url
    position (or a way to infer and set the order of photos)
}

user {
    id
    photo url
    username
    name
    observation count
}

taxon {
    id
    photo url
    common name
    scientific name
    rank name
    rank level
    photo copyright string
    photo original URL
    Wikipedia link
    Wikipedia excerpt
}

Identification {
    user
    body text
    date/time
    taxon
    is_current
}

Comment {
    user
    body text
    date/time
}

Fave {
    user
    date/time
}

Project {
    photo url
    name
    news item count
    about text
    terms
    observation rules
    observation fields
}

News Item {
    photo url or parent (i.e. Project)
    parent name
    published date/time
    post title
    post HTML body
    user who made post.
}

from inaturalistapi.

pleary avatar pleary commented on July 16, 2024

@alexshepard I see that the iOS app makes updates calls using /users/new_updates.json?resource_type=Observation&skip_view=true&notifier_types=Identification%2CComment and news calls using posts/for_user.json?older_than=6044. I'm wondering if for either of these endpoints you ever send other parameters. Any other notifier types for example? Or any parameters not listed here, like a page param or something?

from inaturalistapi.

alexshepard avatar alexshepard commented on July 16, 2024

We only query for those two notifier types because they're the only ones that are in the current iOS UI (we show the red chatbox on the Me tab with unseen content). If there are other things iOS could query for, I'd love to know.

For news posts, iOS also asks for ?newer_than=6044 We also query /projects/:userid/journal.json from the project details screen, which returns a list of project news.

from inaturalistapi.

alexshepard avatar alexshepard commented on July 16, 2024

In working on an old iOS bug, I remembered that projects sometimes have latitude, longitude, and place_id attached to them. It would be great if the project autocomplete API could return them, so we can draw overlays on the map.

Not sure if I should open a new issue for this?

from inaturalistapi.

pleary avatar pleary commented on July 16, 2024

@alexshepard I split this single ticket requesting an array of features into some individual tickets. The project lat/lng one is at #30 now. For other requests please add them to an appropriate existing ticket or make new ones. Thanks

from inaturalistapi.

alexshepard avatar alexshepard commented on July 16, 2024

👍

from inaturalistapi.

pleary avatar pleary commented on July 16, 2024

I've split this ticket up into individual features and I don't think it needs to stick around so I'm closing it. Pretty close to having it all done

from inaturalistapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.