krawieck
8cc0591dfa
Add codegen files
2020-08-08 23:51:17 +02:00
shilangyu
f4f6ddd8fe
added missing commas and removed codegen files
2020-08-08 23:46:27 +00:00
shilangyu
b829b30593
models cleanup
2020-08-08 23:24:25 +00:00
krawieck
1515c6f397
Add Vote enum for upvotes
2020-08-08 23:24:34 +02:00
krawieck
091070726e
Change methods to be top level with names
...
based on OP codes. classes changed to
extensions of `V1` class
2020-08-06 22:06:53 +02:00
krawieck
4ad3b8d6fc
Remove unneeded import and convert local import to relative
2020-08-06 12:11:41 +02:00
krawieck
2a89add283
Create CommentEndpoint
...
seems like all important endpoints are created, now we can get to implementing them
2020-08-05 23:59:10 +02:00
krawieck
19c10d27f9
Move endponts to separate files to reduce clutter
...
Move `v1` endpoint to it's own directory, and `PostEndpoint`and `UserEndpoint` to their own files
2020-08-05 23:21:26 +02:00
krawieck
8c0f211cf2
PostEndpoint
created and with most methods created
...
methods created for:
* `POST /post`
* `GET /post`
* `GET /post/list`
* `POST /post/like`
* `PUT /post`
* `POST /post/delete`
* `POST /post/remove`
* `POST /post/save`
I'm not implementing admin stuff cuz we don't need it for now,
and we keep track of what is yet to be added in #6
also we might need to move a bunch of stuff to separate files cuz it's getting cluttered in here
2020-08-05 23:06:54 +02:00
krawieck
a54325649f
removed unneeded jwt
variable from LemmyAPI
2020-08-04 17:49:46 +02:00
krawieck
f75bc05a01
Add search
and listCategories
#6
...
Add endpoints for:
* `GET /categories`
* `POST /search`
2020-08-04 17:27:44 +02:00
krawieck
1c8394549b
Add barebones of user endpoint
2020-08-04 16:41:07 +02:00