backend icon indicating copy to clipboard operation
backend copied to clipboard

Where is API documentation?

Open beigirad opened this issue 3 years ago • 16 comments

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

Could you add mention them in readme files?

beigirad avatar Jul 08 '21 14:07 beigirad

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

sbabashahi avatar Jul 08 '21 15:07 sbabashahi

Yes. Thanks.

beigirad avatar Jul 08 '21 16:07 beigirad

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

sbabashahi avatar Jul 08 '21 17:07 sbabashahi

hi. what kinda description about usage you mean??

lmn3x avatar Jul 12 '21 06:07 lmn3x

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

sbabashahi avatar Jul 12 '21 07:07 sbabashahi

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

lmn3x avatar Jul 12 '21 08:07 lmn3x

@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?

sbabashahi avatar Jul 12 '21 11:07 sbabashahi

dammm..now i got the reason to do this :laughing:

lmn3x avatar Jul 12 '21 11:07 lmn3x

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?

lmn3x avatar Jul 12 '21 11:07 lmn3x

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.

sbabashahi avatar Jul 12 '21 11:07 sbabashahi

so should i add screenshots?

lmn3x avatar Jul 12 '21 11:07 lmn3x

@lmn3x Sure

sbabashahi avatar Jul 12 '21 11:07 sbabashahi

@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?

lmn3x avatar Jul 12 '21 12:07 lmn3x

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

lmn3x avatar Jul 12 '21 12:07 lmn3x

@lmn3x yes, there are multi levels of Access

sbabashahi avatar Jul 12 '21 12:07 sbabashahi

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

lmn3x avatar Jul 12 '21 12:07 lmn3x