jobguywork / backend

Job Guy Backend

Home Page:https://jobguy.work/donate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Where is API documentation?

beigirad opened this issue · comments

I didn't find API document in website or in readme files.

Could you add mention them in readme files?

commented

@beigirad did you mean something like https://api.jobguy.work/swagger/ ?

Yes. Thanks.

commented

Could someone add link of swagger to read me file, it would be great to add description about using it.

commented

hi.
what kinda description about usage you mean??

commented

@lmn3x Like how to get token and use it for autorization

commented

got it, but, current api doesn't need authorization ,right?
i mean even after we get the token, there is no endpoint require token.

commented

@lmn3x I think your answer is the difference between these 2 images:

Public:
Screenshot from 2021-07-12 15-27-12

Authorized:
Screenshot from 2021-07-12 15-30-32

Am I right?

commented

dammm..now i got the reason to do this 😆

commented

i have 2 question tho..

  1. English version is enough?
  2. it should be in separated file?
  3. should it include screenshots?? or just curl request and stuff?
commented

There are 3 questions :))

  1. yes english is enough
  2. adding it to readme is fine
  3. try to add as details and descriptions as you can. think about it as someone has no clue and from here he/she wants to start.
commented

so should i add screenshots?

commented

@lmn3x Sure

commented

@lmn3x I think your answer is the difference between these 2 images:

Public:
Screenshot from 2021-07-12 15-27-12

Authorized:
Screenshot from 2021-07-12 15-30-32

Am I right?

a normal user don't access to this, right?

commented

cuz after i authorize with token, i got the same public endpoints

commented

@lmn3x yes, there are multi levels of Access

commented

ok i got it..
this is my first github collaboration, sorry if i ask too many questions :)