Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Terence Eden
Terence Eden
@Edent@mastodon.social  ·  activity timestamp 3 weeks ago

A knotty #GitHub problem.
I want to see all the "Reactions" to my account.
The API only allows you to get reactions to *specific* issues, PRs, or commits.
In order to see *all* the reactions sent to me, I'd need to query for literally everything I've posted.

That can't be right, surely? Am I misreading the API documentation?

  • Copy link
  • Flag this post
  • Block
Daniel Demmel
Daniel Demmel
@dain@hachyderm.io  ·  activity timestamp 3 weeks ago

@Edent can you do some monstrous query with the GraphQL API to get them?

  • Copy link
  • Flag this comment
  • Block
Terence Eden
Terence Eden
@Edent@mastodon.social  ·  activity timestamp 3 weeks ago

@dain Hmmmmm. That's looking like a possibility.
Thanks!

  • Copy link
  • Flag this comment
  • Block
Issy Long
Issy Long
@issyl0@ruby.social  ·  activity timestamp 3 weeks ago

@Edent Sadly, yes.

  • Copy link
  • Flag this comment
  • Block
Terence Eden
Terence Eden
@Edent@mastodon.social  ·  activity timestamp 3 weeks ago

@issyl0 I'm gonna ask CoPilot for a second opinion 😆

  • Copy link
  • Flag this comment
  • Block
Ben Curthoys
Ben Curthoys
@bencurthoys@mastodon.social  ·  activity timestamp 3 weeks ago

@Edent that's the joy of REST

https://www.quora.com/A-senior-software-developer-doesnt-follow-best-practice-to-design-a-REST-API-He-said-best-practice-is-useless-and-arguable-as-every-people-have-their-own-best-practices-so-best-practices-arent-necessarily-correct-Is/answer/Ben-Curthoys?ch=10&oid=1477743885486991&share=0c093417&srid=3orcX&target_type=answer

  • Copy link
  • Flag this comment
  • Block
Nigel
Nigel
@nigel@unsociable.lowkey.party  ·  activity timestamp 3 weeks ago

@Edent makes sense to me, as that has no practical purpose

  • Copy link
  • Flag this comment
  • Block
Terence Eden
Terence Eden
@Edent@mastodon.social  ·  activity timestamp 3 weeks ago

@nigel not sure I understand you there?

  • Copy link
  • Flag this comment
  • Block
Nigel
Nigel
@nigel@unsociable.lowkey.party  ·  activity timestamp 3 weeks ago

@Edent i mean what is the use of that query. For what purpose.

  • Copy link
  • Flag this comment
  • Block
Terence Eden
Terence Eden
@Edent@mastodon.social  ·  activity timestamp 3 weeks ago

@nigel what's the purpose of "Supertruck racing" or taking photos?

Let people enjoy their weird little hobbies, mate.

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.32 no JS en
Federation disabled
Log in
Instance logo
  • Explore
  • About
  • Members
  • Code of Conduct