Ask coding questions

← Back to all posts
API Query to Get All A User's Repls
h
RayhanADev (2148)

I feel so weird asking this considering I run the biggest Replit API package ever, but here we go anyways.

Is there a GraphQL query or Restful endpoint to get ALL the Repls on a User? I'm making a Repl backup tool and I can't get all the Repls from a user, only the first ten that are available at the Replit Profile Restful endpoint. Thanks!

TO CLARIFY: I want a query not the graphql endpoint

Answered by RoBlockHead (501) [earned 5 cycles]
View Answer
Comments
hotnewtop
RoBlockHead (501)

There's a graphql endpoint at /graphql, but it's restricted, no public documentation.

RayhanADev (2148)

@RoBlockHead Hiya! I know about the GraphQL holy moly lightning stuck right in front of my house endpoint.

I feel so weird asking this considering I run the biggest Replit API package ever, but here we go anyways.

I was just wondering if there the aforementioned query exists :).

RoBlockHead (501)

@RayhanADev pretty sure there's a publicRepls query, there's an outdated version of the schema here

RayhanADev (2148)

@RoBlockHead hey that's exactly what I'm looking for :D. Thank you!

CodingCactus (4208)

biggest Replit API package ever

@RayhanADev smh bigger than https://github.com/Coding-Cactus/repltalk ? don't think so seeing as it already has that query https://github.com/Coding-Cactus/repltalk#user

RayhanADev (2148)

@CodingCactus well you asked for it :)
Does your package have

  • Extraneous, useless queries nobody uses
  • Every mutation ever, even though you can't use them
  • Access to site data that has practically no point
  • Stupidly complicated custom query maker
  • Experimental Features that will probably be given up on

Let me know when you catch up ;D

CodingCactus (4208)

@RayhanADev probably somewhere in there 😂

GatewayDuckYT (55)

yes there is a graphgl i know the code buts its longggg and harrrddddd and i forgot where i put it sorry ask @crosis