Skip to content

Commit d6e045a

Browse files
author
aetrnyx
committed
Removed GET /fact/:id endpoint
1 parent efcc332 commit d6e045a

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/Endpoints/fact.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -54,25 +54,3 @@ Random fact with tags "AttackonTitan" **`OR`** "Levi" [try in browser](https://a
5454
```HTTP
5555
GET /fact?tags=AttackonTitan|Levi
5656
```
57-
58-
### Get fact By ID
59-
60-
Get a fact by its ID
61-
62-
#### Path
63-
64-
```HTTP
65-
GET /facts/:id
66-
```
67-
68-
#### Response
69-
70-
```ts
71-
{
72-
_id: string
73-
// The quotation text
74-
fact: string
75-
// An array of tag names for this fact
76-
tags: string[]
77-
}
78-
```

0 commit comments

Comments
 (0)