Git Product home page Git Product logo

Comments (10)

cyle avatar cyle commented on June 9, 2024 1

I think this is a great idea, I'll see what we can do!

from docs.

ThisIsMissEm avatar ThisIsMissEm commented on June 9, 2024 1

Awesome! I think it'd be good if there was a bulk API too, e.g., block in batches;

e.g.,

POST api.tumblr.com/v2/user/block   { url: string }
POST api.tumblr.com/v2/user/unblock   { url: string }

POST api.tumblr.com/v2/user/blocks   { urls: string[] }
POST api.tumblr.com/v2/user/unblocks   { urls: string[] }

That way if someone sets up a new service to manage blocks, we're not sending N requests to block, but N/max-block-count.

from docs.

ThisIsMissEm avatar ThisIsMissEm commented on June 9, 2024 1

Also curiously related: why is there no /user/followers endpoint?

from docs.

ThisIsMissEm avatar ThisIsMissEm commented on June 9, 2024 1

Ah, alrighty. So, I guess I was going with a /user/blocks which is just like that /user/following endpoint; but all good!

from docs.

cyle avatar cyle commented on June 9, 2024

Latest commit now includes the Blocks API as it currently exists: b3b3b38

Awesome! I think it'd be good if there was a bulk API too, e.g., block in batches;

Yeah, this is good feedback, thanks. I can't guarantee when this'll happen, but I'll track it here and on the Changes blog.

Also curiously related: why is there no /user/followers endpoint?

🤔 I'm not sure what you mean. Users don't have followers, blogs have followers, which is why there are blog followers and blog followings endpoints.

from docs.

Nmeer112 avatar Nmeer112 commented on June 9, 2024

Adding Arabic is very important.
In addition to adding friends, you should make a list.

from docs.

ThisIsMissEm avatar ThisIsMissEm commented on June 9, 2024

Adding Arabic is very important.
In addition to adding friends, you should make a list.

Best to create separate issues for those ideas, instead of co-opting this issue for them.

from docs.

ThisIsMissEm avatar ThisIsMissEm commented on June 9, 2024

🤔 I'm not sure what you mean. Users don't have followers, blogs have followers, which is why there are blog followers and blog followings endpoints.

@cyle I'm referring to these:
Screenshot 2021-03-06 at 17 10 17

from docs.

cyle avatar cyle commented on June 9, 2024

Best to create separate issues for those ideas, instead of co-opting this issue for them.

☝️ please file a separate issue if you'd like, @Nmeer112

from docs.

cyle avatar cyle commented on June 9, 2024

I'm referring to these:

Yeah, the /user/following endpoint is kind of just an alias for /blog/your-primary-blog.tumblr.com/following for convenience. Your "user" is not following any blogs and it doesn't have followers, your primary blog does. It's a subtle but important distinction.

from docs.

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.