diff --git a/package.json b/package.json
index 04b9897..10d5c0a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "docs.waifu.it",
- "version": "3.0.5",
+ "version": "3.0.6",
"description": "The new and improved documentation for Waifu.it",
"scripts": {
"dev": "next dev",
diff --git a/pages/faq.mdx b/pages/faq.mdx
index 10578fe..d455812 100644
--- a/pages/faq.mdx
+++ b/pages/faq.mdx
@@ -3,7 +3,7 @@
### How do I get the API token?
-- To get your API token, join this [discord server](https://discord.gg/yyW389c), then type `-claim` in [#bot-commands](https://discord.com/channels/479300008118714388/800784815908454452), fill the questions asked by `@Kohai` in DM, and receive your token.
+- To get your API token, just login to [dashboard](https://waifu.it/dashboard)
{/* ### CORS causing trouble?
diff --git a/pages/rest-api/Images/Waifu/search.mdx b/pages/rest-api/Images/Waifu/search.mdx
index e457c6a..903f167 100644
--- a/pages/rest-api/Images/Waifu/search.mdx
+++ b/pages/rest-api/Images/Waifu/search.mdx
@@ -33,6 +33,15 @@ The request to the `/waifu` endpoint should be a JSON object with the following
| --------------- | ------- | ---------------------------------------------------- | -------- |
| `Authorization` | string | The unique identifier of the user sending the request. | True |
+### Parameters
+
+The request parameters for the `/waifu?{parameter}={value}` endpoint.
+
+| Parameter | Type | Description | Required |
+| ----------| ------ | ----------------------------------------------------- | -------- |
+| `name` | string | (Optional) The desired character name for the query. If not provided, a random waifu will be generated. | False |
+| `anime` | string | (Optional) The desired anime name for the query. If not provided, a random waifu will be selected. | False |
+
### Example Request
Here's example of how to make a request to the `/waifu` endpoint.
@@ -44,7 +53,7 @@ Here's example of how to make a request to the `/waifu` endpoint.
/*
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/waifu";
+ const url = "https://waifu.it/api/v4/waifu";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -66,7 +75,7 @@ Here's example of how to make a request to the `/waifu` endpoint.
"""
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/waifu"
+ url = "https://waifu.it/api/v4/waifu"
response = requests.get(url, headers={
"Authorization": "YOUR_ACCESS_TOKEN",
})
diff --git a/pages/rest-api/Interactions/Angry/search.mdx b/pages/rest-api/Interactions/Angry/search.mdx
index 15134b2..6f9b985 100644
--- a/pages/rest-api/Interactions/Angry/search.mdx
+++ b/pages/rest-api/Interactions/Angry/search.mdx
@@ -30,7 +30,7 @@ The request to the `/angry` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/angry";
+ const url = "https://waifu.it/api/v4/angry";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/angry` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/angry"
+ url = "https://waifu.it/api/v4/angry"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Baka/search.mdx b/pages/rest-api/Interactions/Baka/search.mdx
index bd4c3c6..dbdb8ca 100644
--- a/pages/rest-api/Interactions/Baka/search.mdx
+++ b/pages/rest-api/Interactions/Baka/search.mdx
@@ -30,7 +30,7 @@ The request to the `/baka` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/baka";
+ const url = "https://waifu.it/api/v4/baka";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/baka` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/baka"
+ url = "https://waifu.it/api/v4/baka"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Bite/search.mdx b/pages/rest-api/Interactions/Bite/search.mdx
index 79ab11b..2e0ba44 100644
--- a/pages/rest-api/Interactions/Bite/search.mdx
+++ b/pages/rest-api/Interactions/Bite/search.mdx
@@ -30,7 +30,7 @@ The request to the `/bite` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/bite";
+ const url = "https://waifu.it/api/v4/bite";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/bite` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/bite"
+ url = "https://waifu.it/api/v4/bite"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Blush/search.mdx b/pages/rest-api/Interactions/Blush/search.mdx
index 5d08b9b..b7e387f 100644
--- a/pages/rest-api/Interactions/Blush/search.mdx
+++ b/pages/rest-api/Interactions/Blush/search.mdx
@@ -30,7 +30,7 @@ The request to the `/blush` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/blush";
+ const url = "https://waifu.it/api/v4/blush";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/blush` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/blush"
+ url = "https://waifu.it/api/v4/blush"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Bonk/search.mdx b/pages/rest-api/Interactions/Bonk/search.mdx
index 8f79d87..16a36df 100644
--- a/pages/rest-api/Interactions/Bonk/search.mdx
+++ b/pages/rest-api/Interactions/Bonk/search.mdx
@@ -30,7 +30,7 @@ The request to the `/bonk` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/bonk";
+ const url = "https://waifu.it/api/v4/bonk";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/bonk` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/bonk"
+ url = "https://waifu.it/api/v4/bonk"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Bored/search.mdx b/pages/rest-api/Interactions/Bored/search.mdx
index f3069a4..91d9fc2 100644
--- a/pages/rest-api/Interactions/Bored/search.mdx
+++ b/pages/rest-api/Interactions/Bored/search.mdx
@@ -30,7 +30,7 @@ The request to the `/bored` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/bored";
+ const url = "https://waifu.it/api/v4/bored";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/bored` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/bored"
+ url = "https://waifu.it/api/v4/bored"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Bully/search.mdx b/pages/rest-api/Interactions/Bully/search.mdx
index 30b1a2d..75d76fd 100644
--- a/pages/rest-api/Interactions/Bully/search.mdx
+++ b/pages/rest-api/Interactions/Bully/search.mdx
@@ -30,7 +30,7 @@ The request to the `/bully` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/bully";
+ const url = "https://waifu.it/api/v4/bully";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/bully` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/bully"
+ url = "https://waifu.it/api/v4/bully"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Bye/search.mdx b/pages/rest-api/Interactions/Bye/search.mdx
index 37fa565..86884c6 100644
--- a/pages/rest-api/Interactions/Bye/search.mdx
+++ b/pages/rest-api/Interactions/Bye/search.mdx
@@ -30,7 +30,7 @@ The request to the `/bye` endpoint should be a JSON object with the following he
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/bye";
+ const url = "https://waifu.it/api/v4/bye";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/bye` endpoint should be a JSON object with the following he
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/bye"
+ url = "https://waifu.it/api/v4/bye"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Chase/search.mdx b/pages/rest-api/Interactions/Chase/search.mdx
index a1fb606..ea4211c 100644
--- a/pages/rest-api/Interactions/Chase/search.mdx
+++ b/pages/rest-api/Interactions/Chase/search.mdx
@@ -30,7 +30,7 @@ The request to the `/chase` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/chase";
+ const url = "https://waifu.it/api/v4/chase";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/chase` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/chase"
+ url = "https://waifu.it/api/v4/chase"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Cheer/search.mdx b/pages/rest-api/Interactions/Cheer/search.mdx
index 1296cc3..924e6e9 100644
--- a/pages/rest-api/Interactions/Cheer/search.mdx
+++ b/pages/rest-api/Interactions/Cheer/search.mdx
@@ -30,7 +30,7 @@ The request to the `/cheer` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/cheer";
+ const url = "https://waifu.it/api/v4/cheer";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/cheer` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/cheer"
+ url = "https://waifu.it/api/v4/cheer"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Cringe/search.mdx b/pages/rest-api/Interactions/Cringe/search.mdx
index e5d19e6..5ea4b7d 100644
--- a/pages/rest-api/Interactions/Cringe/search.mdx
+++ b/pages/rest-api/Interactions/Cringe/search.mdx
@@ -30,7 +30,7 @@ The request to the `/cringe` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/cringe";
+ const url = "https://waifu.it/api/v4/cringe";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/cringe` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/cringe"
+ url = "https://waifu.it/api/v4/cringe"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Cry/search.mdx b/pages/rest-api/Interactions/Cry/search.mdx
index 6fb1686..84ac159 100644
--- a/pages/rest-api/Interactions/Cry/search.mdx
+++ b/pages/rest-api/Interactions/Cry/search.mdx
@@ -30,7 +30,7 @@ The request to the `/cry` endpoint should be a JSON object with the following he
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/cry";
+ const url = "https://waifu.it/api/v4/cry";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/cry` endpoint should be a JSON object with the following he
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/cry"
+ url = "https://waifu.it/api/v4/cry"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Cuddle/search.mdx b/pages/rest-api/Interactions/Cuddle/search.mdx
index 67473df..4e1afd6 100644
--- a/pages/rest-api/Interactions/Cuddle/search.mdx
+++ b/pages/rest-api/Interactions/Cuddle/search.mdx
@@ -30,7 +30,7 @@ The request to the `/cuddle` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/cuddle";
+ const url = "https://waifu.it/api/v4/cuddle";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/cuddle` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/cuddle"
+ url = "https://waifu.it/api/v4/cuddle"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Dab/search.mdx b/pages/rest-api/Interactions/Dab/search.mdx
index c091b71..7d82ef6 100644
--- a/pages/rest-api/Interactions/Dab/search.mdx
+++ b/pages/rest-api/Interactions/Dab/search.mdx
@@ -30,7 +30,7 @@ The request to the `/dab` endpoint should be a JSON object with the following he
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/dab";
+ const url = "https://waifu.it/api/v4/dab";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/dab` endpoint should be a JSON object with the following he
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/dab"
+ url = "https://waifu.it/api/v4/dab"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Dance/search.mdx b/pages/rest-api/Interactions/Dance/search.mdx
index 3e2ff33..21df235 100644
--- a/pages/rest-api/Interactions/Dance/search.mdx
+++ b/pages/rest-api/Interactions/Dance/search.mdx
@@ -30,7 +30,7 @@ The request to the `/dance` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/dance";
+ const url = "https://waifu.it/api/v4/dance";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/dance` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/dance"
+ url = "https://waifu.it/api/v4/dance"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Die/search.mdx b/pages/rest-api/Interactions/Die/search.mdx
index 85e7e07..0230649 100644
--- a/pages/rest-api/Interactions/Die/search.mdx
+++ b/pages/rest-api/Interactions/Die/search.mdx
@@ -30,7 +30,7 @@ The request to the `/die` endpoint should be a JSON object with the following he
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/die";
+ const url = "https://waifu.it/api/v4/die";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/die` endpoint should be a JSON object with the following he
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/die"
+ url = "https://waifu.it/api/v4/die"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Disgust/search.mdx b/pages/rest-api/Interactions/Disgust/search.mdx
index 07bfdf5..cf075c4 100644
--- a/pages/rest-api/Interactions/Disgust/search.mdx
+++ b/pages/rest-api/Interactions/Disgust/search.mdx
@@ -30,7 +30,7 @@ The request to the `/disgust` endpoint should be a JSON object with the followin
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/disgust";
+ const url = "https://waifu.it/api/v4/disgust";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/disgust` endpoint should be a JSON object with the followin
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/disgust"
+ url = "https://waifu.it/api/v4/disgust"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Facepalm/search.mdx b/pages/rest-api/Interactions/Facepalm/search.mdx
index 85bc340..c1b3443 100644
--- a/pages/rest-api/Interactions/Facepalm/search.mdx
+++ b/pages/rest-api/Interactions/Facepalm/search.mdx
@@ -30,7 +30,7 @@ The request to the `/facepalm` endpoint should be a JSON object with the followi
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/facepalm";
+ const url = "https://waifu.it/api/v4/facepalm";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/facepalm` endpoint should be a JSON object with the followi
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/facepalm"
+ url = "https://waifu.it/api/v4/facepalm"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Feed/search.mdx b/pages/rest-api/Interactions/Feed/search.mdx
index 13deefb..633b72f 100644
--- a/pages/rest-api/Interactions/Feed/search.mdx
+++ b/pages/rest-api/Interactions/Feed/search.mdx
@@ -30,7 +30,7 @@ The request to the `/feed` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/feed";
+ const url = "https://waifu.it/api/v4/feed";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/feed` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/feed"
+ url = "https://waifu.it/api/v4/feed"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Glomp/search.mdx b/pages/rest-api/Interactions/Glomp/search.mdx
index ee08799..6dc369b 100644
--- a/pages/rest-api/Interactions/Glomp/search.mdx
+++ b/pages/rest-api/Interactions/Glomp/search.mdx
@@ -30,7 +30,7 @@ The request to the `/glomp` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/glomp";
+ const url = "https://waifu.it/api/v4/glomp";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/glomp` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/glomp"
+ url = "https://waifu.it/api/v4/glomp"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Happy/search.mdx b/pages/rest-api/Interactions/Happy/search.mdx
index 7023f5d..853ad4d 100644
--- a/pages/rest-api/Interactions/Happy/search.mdx
+++ b/pages/rest-api/Interactions/Happy/search.mdx
@@ -30,7 +30,7 @@ The request to the `/happy` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/happy";
+ const url = "https://waifu.it/api/v4/happy";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/happy` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/happy"
+ url = "https://waifu.it/api/v4/happy"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Hi/search.mdx b/pages/rest-api/Interactions/Hi/search.mdx
index da5c675..3f59e1f 100644
--- a/pages/rest-api/Interactions/Hi/search.mdx
+++ b/pages/rest-api/Interactions/Hi/search.mdx
@@ -30,7 +30,7 @@ The request to the `/hi` endpoint should be a JSON object with the following hea
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/hi";
+ const url = "https://waifu.it/api/v4/hi";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/hi` endpoint should be a JSON object with the following hea
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/hi"
+ url = "https://waifu.it/api/v4/hi"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Highfive/search.mdx b/pages/rest-api/Interactions/Highfive/search.mdx
index 61d1b07..b02e628 100644
--- a/pages/rest-api/Interactions/Highfive/search.mdx
+++ b/pages/rest-api/Interactions/Highfive/search.mdx
@@ -30,7 +30,7 @@ The request to the `/highfive` endpoint should be a JSON object with the followi
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/highfive";
+ const url = "https://waifu.it/api/v4/highfive";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/highfive` endpoint should be a JSON object with the followi
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/highfive"
+ url = "https://waifu.it/api/v4/highfive"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Hold/search.mdx b/pages/rest-api/Interactions/Hold/search.mdx
index 288f877..e65b39c 100644
--- a/pages/rest-api/Interactions/Hold/search.mdx
+++ b/pages/rest-api/Interactions/Hold/search.mdx
@@ -30,7 +30,7 @@ The request to the `/hold` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/hold";
+ const url = "https://waifu.it/api/v4/hold";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/hold` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/hold"
+ url = "https://waifu.it/api/v4/hold"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Hug/search.mdx b/pages/rest-api/Interactions/Hug/search.mdx
index 1898ecb..284d67e 100644
--- a/pages/rest-api/Interactions/Hug/search.mdx
+++ b/pages/rest-api/Interactions/Hug/search.mdx
@@ -30,7 +30,7 @@ The request to the `/hug` endpoint should be a JSON object with the following he
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/hug";
+ const url = "https://waifu.it/api/v4/hug";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/hug` endpoint should be a JSON object with the following he
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/hug"
+ url = "https://waifu.it/api/v4/hug"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Kick/search.mdx b/pages/rest-api/Interactions/Kick/search.mdx
index b43a320..7126470 100644
--- a/pages/rest-api/Interactions/Kick/search.mdx
+++ b/pages/rest-api/Interactions/Kick/search.mdx
@@ -30,7 +30,7 @@ The request to the `/kick` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/kick";
+ const url = "https://waifu.it/api/v4/kick";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/kick` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/kick"
+ url = "https://waifu.it/api/v4/kick"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Kill/search.mdx b/pages/rest-api/Interactions/Kill/search.mdx
index 59ec30b..cc1dabf 100644
--- a/pages/rest-api/Interactions/Kill/search.mdx
+++ b/pages/rest-api/Interactions/Kill/search.mdx
@@ -30,7 +30,7 @@ The request to the `/kill` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/kill";
+ const url = "https://waifu.it/api/v4/kill";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/kill` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/kill"
+ url = "https://waifu.it/api/v4/kill"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Kiss/search.mdx b/pages/rest-api/Interactions/Kiss/search.mdx
index f96f8a3..f18b3cf 100644
--- a/pages/rest-api/Interactions/Kiss/search.mdx
+++ b/pages/rest-api/Interactions/Kiss/search.mdx
@@ -30,7 +30,7 @@ The request to the `/kiss` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/kiss";
+ const url = "https://waifu.it/api/v4/kiss";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/kiss` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/kiss"
+ url = "https://waifu.it/api/v4/kiss"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Laugh/search.mdx b/pages/rest-api/Interactions/Laugh/search.mdx
index dd477ce..83bd5fe 100644
--- a/pages/rest-api/Interactions/Laugh/search.mdx
+++ b/pages/rest-api/Interactions/Laugh/search.mdx
@@ -30,7 +30,7 @@ The request to the `/laugh` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/laugh";
+ const url = "https://waifu.it/api/v4/laugh";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/laugh` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/laugh"
+ url = "https://waifu.it/api/v4/laugh"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Lick/search.mdx b/pages/rest-api/Interactions/Lick/search.mdx
index 2ee1b64..ff7c387 100644
--- a/pages/rest-api/Interactions/Lick/search.mdx
+++ b/pages/rest-api/Interactions/Lick/search.mdx
@@ -30,7 +30,7 @@ The request to the `/lick` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/lick";
+ const url = "https://waifu.it/api/v4/lick";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/lick` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/lick"
+ url = "https://waifu.it/api/v4/lick"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Love/search.mdx b/pages/rest-api/Interactions/Love/search.mdx
index ac864cf..70be73a 100644
--- a/pages/rest-api/Interactions/Love/search.mdx
+++ b/pages/rest-api/Interactions/Love/search.mdx
@@ -30,7 +30,7 @@ The request to the `/love` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/love";
+ const url = "https://waifu.it/api/v4/love";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/love` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/love"
+ url = "https://waifu.it/api/v4/love"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Lurk/search.mdx b/pages/rest-api/Interactions/Lurk/search.mdx
index cef7e55..3798c6b 100644
--- a/pages/rest-api/Interactions/Lurk/search.mdx
+++ b/pages/rest-api/Interactions/Lurk/search.mdx
@@ -30,7 +30,7 @@ The request to the `/lurk` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/lurk";
+ const url = "https://waifu.it/api/v4/lurk";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/lurk` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/lurk"
+ url = "https://waifu.it/api/v4/lurk"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Midfing/search.mdx b/pages/rest-api/Interactions/Midfing/search.mdx
index db3c11f..b93535c 100644
--- a/pages/rest-api/Interactions/Midfing/search.mdx
+++ b/pages/rest-api/Interactions/Midfing/search.mdx
@@ -30,7 +30,7 @@ The request to the `/midfing` endpoint should be a JSON object with the followin
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/midfing";
+ const url = "https://waifu.it/api/v4/midfing";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/midfing` endpoint should be a JSON object with the followin
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/midfing"
+ url = "https://waifu.it/api/v4/midfing"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Nervous/search.mdx b/pages/rest-api/Interactions/Nervous/search.mdx
index 698c2bf..93b3a76 100644
--- a/pages/rest-api/Interactions/Nervous/search.mdx
+++ b/pages/rest-api/Interactions/Nervous/search.mdx
@@ -30,7 +30,7 @@ The request to the `/nervous` endpoint should be a JSON object with the followin
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/nervous";
+ const url = "https://waifu.it/api/v4/nervous";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/nervous` endpoint should be a JSON object with the followin
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/nervous"
+ url = "https://waifu.it/api/v4/nervous"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Nom/search.mdx b/pages/rest-api/Interactions/Nom/search.mdx
index ee48c00..6b717b5 100644
--- a/pages/rest-api/Interactions/Nom/search.mdx
+++ b/pages/rest-api/Interactions/Nom/search.mdx
@@ -30,7 +30,7 @@ The request to the `/nom` endpoint should be a JSON object with the following he
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/nom";
+ const url = "https://waifu.it/api/v4/nom";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/nom` endpoint should be a JSON object with the following he
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/nom"
+ url = "https://waifu.it/api/v4/nom"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Nope/search.mdx b/pages/rest-api/Interactions/Nope/search.mdx
index 75712f8..39db730 100644
--- a/pages/rest-api/Interactions/Nope/search.mdx
+++ b/pages/rest-api/Interactions/Nope/search.mdx
@@ -30,7 +30,7 @@ The request to the `/nope` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/nope";
+ const url = "https://waifu.it/api/v4/nope";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/nope` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/nope"
+ url = "https://waifu.it/api/v4/nope"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Nuzzle/search.mdx b/pages/rest-api/Interactions/Nuzzle/search.mdx
index 76fdc9f..2431120 100644
--- a/pages/rest-api/Interactions/Nuzzle/search.mdx
+++ b/pages/rest-api/Interactions/Nuzzle/search.mdx
@@ -30,7 +30,7 @@ The request to the `/nuzzle` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/nuzzle";
+ const url = "https://waifu.it/api/v4/nuzzle";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/nuzzle` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/nuzzle"
+ url = "https://waifu.it/api/v4/nuzzle"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Panic/search.mdx b/pages/rest-api/Interactions/Panic/search.mdx
index 716cb49..327f718 100644
--- a/pages/rest-api/Interactions/Panic/search.mdx
+++ b/pages/rest-api/Interactions/Panic/search.mdx
@@ -30,7 +30,7 @@ The request to the `/panic` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/panic";
+ const url = "https://waifu.it/api/v4/panic";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/panic` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/panic"
+ url = "https://waifu.it/api/v4/panic"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Pat/search.mdx b/pages/rest-api/Interactions/Pat/search.mdx
index 8df8f13..0bb4c93 100644
--- a/pages/rest-api/Interactions/Pat/search.mdx
+++ b/pages/rest-api/Interactions/Pat/search.mdx
@@ -30,7 +30,7 @@ The request to the `/pat` endpoint should be a JSON object with the following he
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/pat";
+ const url = "https://waifu.it/api/v4/pat";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/pat` endpoint should be a JSON object with the following he
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/pat"
+ url = "https://waifu.it/api/v4/pat"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Peck/search.mdx b/pages/rest-api/Interactions/Peck/search.mdx
index 10be753..2a69adf 100644
--- a/pages/rest-api/Interactions/Peck/search.mdx
+++ b/pages/rest-api/Interactions/Peck/search.mdx
@@ -30,7 +30,7 @@ The request to the `/peck` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/peck";
+ const url = "https://waifu.it/api/v4/peck";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/peck` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/peck"
+ url = "https://waifu.it/api/v4/peck"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Poke/search.mdx b/pages/rest-api/Interactions/Poke/search.mdx
index 7cd8bf1..2a8f5f8 100644
--- a/pages/rest-api/Interactions/Poke/search.mdx
+++ b/pages/rest-api/Interactions/Poke/search.mdx
@@ -30,7 +30,7 @@ The request to the `/poke` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/poke";
+ const url = "https://waifu.it/api/v4/poke";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/poke` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/poke"
+ url = "https://waifu.it/api/v4/poke"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Pout/search.mdx b/pages/rest-api/Interactions/Pout/search.mdx
index 435ba46..8f9e9ac 100644
--- a/pages/rest-api/Interactions/Pout/search.mdx
+++ b/pages/rest-api/Interactions/Pout/search.mdx
@@ -30,7 +30,7 @@ The request to the `/pout` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/pout";
+ const url = "https://waifu.it/api/v4/pout";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/pout` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/pout"
+ url = "https://waifu.it/api/v4/pout"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Punch/search.mdx b/pages/rest-api/Interactions/Punch/search.mdx
index e38f899..fdb9122 100644
--- a/pages/rest-api/Interactions/Punch/search.mdx
+++ b/pages/rest-api/Interactions/Punch/search.mdx
@@ -30,7 +30,7 @@ The request to the `/punch` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/punch";
+ const url = "https://waifu.it/api/v4/punch";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/punch` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/punch"
+ url = "https://waifu.it/api/v4/punch"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Run/search.mdx b/pages/rest-api/Interactions/Run/search.mdx
index c39c32b..2f3cd52 100644
--- a/pages/rest-api/Interactions/Run/search.mdx
+++ b/pages/rest-api/Interactions/Run/search.mdx
@@ -30,7 +30,7 @@ The request to the `/run` endpoint should be a JSON object with the following he
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/run";
+ const url = "https://waifu.it/api/v4/run";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/run` endpoint should be a JSON object with the following he
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/run"
+ url = "https://waifu.it/api/v4/run"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Sad/search.mdx b/pages/rest-api/Interactions/Sad/search.mdx
index f4bff19..b806fdc 100644
--- a/pages/rest-api/Interactions/Sad/search.mdx
+++ b/pages/rest-api/Interactions/Sad/search.mdx
@@ -30,7 +30,7 @@ The request to the `/sad` endpoint should be a JSON object with the following he
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/sad";
+ const url = "https://waifu.it/api/v4/sad";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/sad` endpoint should be a JSON object with the following he
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/sad"
+ url = "https://waifu.it/api/v4/sad"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Shoot/search.mdx b/pages/rest-api/Interactions/Shoot/search.mdx
index 62fb832..bd9980d 100644
--- a/pages/rest-api/Interactions/Shoot/search.mdx
+++ b/pages/rest-api/Interactions/Shoot/search.mdx
@@ -30,7 +30,7 @@ The request to the `/shoot` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/shoot";
+ const url = "https://waifu.it/api/v4/shoot";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/shoot` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/shoot"
+ url = "https://waifu.it/api/v4/shoot"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Shrug/search.mdx b/pages/rest-api/Interactions/Shrug/search.mdx
index 821b664..c43a6d8 100644
--- a/pages/rest-api/Interactions/Shrug/search.mdx
+++ b/pages/rest-api/Interactions/Shrug/search.mdx
@@ -30,7 +30,7 @@ The request to the `/shrug` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/shrug";
+ const url = "https://waifu.it/api/v4/shrug";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/shrug` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/shrug"
+ url = "https://waifu.it/api/v4/shrug"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Sip/search.mdx b/pages/rest-api/Interactions/Sip/search.mdx
index 86c0036..b138946 100644
--- a/pages/rest-api/Interactions/Sip/search.mdx
+++ b/pages/rest-api/Interactions/Sip/search.mdx
@@ -30,7 +30,7 @@ The request to the `/sip` endpoint should be a JSON object with the following he
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/sip";
+ const url = "https://waifu.it/api/v4/sip";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/sip` endpoint should be a JSON object with the following he
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/sip"
+ url = "https://waifu.it/api/v4/sip"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Slap/search.mdx b/pages/rest-api/Interactions/Slap/search.mdx
index 70e1174..f763650 100644
--- a/pages/rest-api/Interactions/Slap/search.mdx
+++ b/pages/rest-api/Interactions/Slap/search.mdx
@@ -30,7 +30,7 @@ The request to the `/slap` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/slap";
+ const url = "https://waifu.it/api/v4/slap";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/slap` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/slap"
+ url = "https://waifu.it/api/v4/slap"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Sleepy/search.mdx b/pages/rest-api/Interactions/Sleepy/search.mdx
index 5b54324..54890b6 100644
--- a/pages/rest-api/Interactions/Sleepy/search.mdx
+++ b/pages/rest-api/Interactions/Sleepy/search.mdx
@@ -30,7 +30,7 @@ The request to the `/sleepy` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/sleepy";
+ const url = "https://waifu.it/api/v4/sleepy";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/sleepy` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/sleepy"
+ url = "https://waifu.it/api/v4/sleepy"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Smile/search.mdx b/pages/rest-api/Interactions/Smile/search.mdx
index 52286dd..2ebb556 100644
--- a/pages/rest-api/Interactions/Smile/search.mdx
+++ b/pages/rest-api/Interactions/Smile/search.mdx
@@ -30,7 +30,7 @@ The request to the `/smile` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/smile";
+ const url = "https://waifu.it/api/v4/smile";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/smile` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/smile"
+ url = "https://waifu.it/api/v4/smile"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Smug/search.mdx b/pages/rest-api/Interactions/Smug/search.mdx
index 986f23f..038a210 100644
--- a/pages/rest-api/Interactions/Smug/search.mdx
+++ b/pages/rest-api/Interactions/Smug/search.mdx
@@ -30,7 +30,7 @@ The request to the `/smug` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/smug";
+ const url = "https://waifu.it/api/v4/smug";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/smug` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/smug"
+ url = "https://waifu.it/api/v4/smug"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Stab/search.mdx b/pages/rest-api/Interactions/Stab/search.mdx
index 0d1045e..00fecfb 100644
--- a/pages/rest-api/Interactions/Stab/search.mdx
+++ b/pages/rest-api/Interactions/Stab/search.mdx
@@ -30,7 +30,7 @@ The request to the `/stab` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/stab";
+ const url = "https://waifu.it/api/v4/stab";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/stab` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/stab"
+ url = "https://waifu.it/api/v4/stab"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Stare/search.mdx b/pages/rest-api/Interactions/Stare/search.mdx
index 8c49f1d..9da2b86 100644
--- a/pages/rest-api/Interactions/Stare/search.mdx
+++ b/pages/rest-api/Interactions/Stare/search.mdx
@@ -30,7 +30,7 @@ The request to the `/stare` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/stare";
+ const url = "https://waifu.it/api/v4/stare";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/stare` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/stare"
+ url = "https://waifu.it/api/v4/stare"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Suicide/search.mdx b/pages/rest-api/Interactions/Suicide/search.mdx
index 3c7ec46..6c11bd9 100644
--- a/pages/rest-api/Interactions/Suicide/search.mdx
+++ b/pages/rest-api/Interactions/Suicide/search.mdx
@@ -30,7 +30,7 @@ The request to the `/suicide` endpoint should be a JSON object with the followin
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/suicide";
+ const url = "https://waifu.it/api/v4/suicide";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/suicide` endpoint should be a JSON object with the followin
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/suicide"
+ url = "https://waifu.it/api/v4/suicide"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Tease/search.mdx b/pages/rest-api/Interactions/Tease/search.mdx
index 7a20d88..44de21a 100644
--- a/pages/rest-api/Interactions/Tease/search.mdx
+++ b/pages/rest-api/Interactions/Tease/search.mdx
@@ -30,7 +30,7 @@ The request to the `/tease` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/tease";
+ const url = "https://waifu.it/api/v4/tease";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/tease` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/tease"
+ url = "https://waifu.it/api/v4/tease"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Think/search.mdx b/pages/rest-api/Interactions/Think/search.mdx
index 616831c..f18206b 100644
--- a/pages/rest-api/Interactions/Think/search.mdx
+++ b/pages/rest-api/Interactions/Think/search.mdx
@@ -30,7 +30,7 @@ The request to the `/think` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/think";
+ const url = "https://waifu.it/api/v4/think";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/think` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/think"
+ url = "https://waifu.it/api/v4/think"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Thumbsup/search.mdx b/pages/rest-api/Interactions/Thumbsup/search.mdx
index 865bab6..85fbc00 100644
--- a/pages/rest-api/Interactions/Thumbsup/search.mdx
+++ b/pages/rest-api/Interactions/Thumbsup/search.mdx
@@ -30,7 +30,7 @@ The request to the `/thumbsup` endpoint should be a JSON object with the followi
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/thumbsup";
+ const url = "https://waifu.it/api/v4/thumbsup";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/thumbsup` endpoint should be a JSON object with the followi
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/thumbsup"
+ url = "https://waifu.it/api/v4/thumbsup"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Tickle/search.mdx b/pages/rest-api/Interactions/Tickle/search.mdx
index 1b35fc5..ee5fb27 100644
--- a/pages/rest-api/Interactions/Tickle/search.mdx
+++ b/pages/rest-api/Interactions/Tickle/search.mdx
@@ -30,7 +30,7 @@ The request to the `/tickle` endpoint should be a JSON object with the following
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/tickle";
+ const url = "https://waifu.it/api/v4/tickle";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/tickle` endpoint should be a JSON object with the following
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/tickle"
+ url = "https://waifu.it/api/v4/tickle"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Triggered/search.mdx b/pages/rest-api/Interactions/Triggered/search.mdx
index 92a76e5..f39aeec 100644
--- a/pages/rest-api/Interactions/Triggered/search.mdx
+++ b/pages/rest-api/Interactions/Triggered/search.mdx
@@ -30,7 +30,7 @@ The request to the `/triggered` endpoint should be a JSON object with the follow
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/triggered";
+ const url = "https://waifu.it/api/v4/triggered";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/triggered` endpoint should be a JSON object with the follow
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/triggered"
+ url = "https://waifu.it/api/v4/triggered"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Wag/search.mdx b/pages/rest-api/Interactions/Wag/search.mdx
index d786e8d..0065883 100644
--- a/pages/rest-api/Interactions/Wag/search.mdx
+++ b/pages/rest-api/Interactions/Wag/search.mdx
@@ -30,7 +30,7 @@ The request to the `/wag` endpoint should be a JSON object with the following he
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/wag";
+ const url = "https://waifu.it/api/v4/wag";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/wag` endpoint should be a JSON object with the following he
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/wag"
+ url = "https://waifu.it/api/v4/wag"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Wave/search.mdx b/pages/rest-api/Interactions/Wave/search.mdx
index 636b5f5..366c74a 100644
--- a/pages/rest-api/Interactions/Wave/search.mdx
+++ b/pages/rest-api/Interactions/Wave/search.mdx
@@ -30,7 +30,7 @@ The request to the `/wave` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/wave";
+ const url = "https://waifu.it/api/v4/wave";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/wave` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/wave"
+ url = "https://waifu.it/api/v4/wave"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Wink/search.mdx b/pages/rest-api/Interactions/Wink/search.mdx
index 556063c..a6f2507 100644
--- a/pages/rest-api/Interactions/Wink/search.mdx
+++ b/pages/rest-api/Interactions/Wink/search.mdx
@@ -30,7 +30,7 @@ The request to the `/wink` endpoint should be a JSON object with the following h
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/wink";
+ const url = "https://waifu.it/api/v4/wink";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/wink` endpoint should be a JSON object with the following h
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/wink"
+ url = "https://waifu.it/api/v4/wink"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Interactions/Yes/search.mdx b/pages/rest-api/Interactions/Yes/search.mdx
index aabd0a0..ad44a23 100644
--- a/pages/rest-api/Interactions/Yes/search.mdx
+++ b/pages/rest-api/Interactions/Yes/search.mdx
@@ -30,7 +30,7 @@ The request to the `/yes` endpoint should be a JSON object with the following he
/*
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/yes";
+ const url = "https://waifu.it/api/v4/yes";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -52,7 +52,7 @@ The request to the `/yes` endpoint should be a JSON object with the following he
"""
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/yes"
+ url = "https://waifu.it/api/v4/yes"
response = requests.get(url, headers={
"Authorization": "Your-API-Token",
})
diff --git a/pages/rest-api/Texts/Fact/search.mdx b/pages/rest-api/Texts/Fact/search.mdx
index 06898ce..539e2fa 100644
--- a/pages/rest-api/Texts/Fact/search.mdx
+++ b/pages/rest-api/Texts/Fact/search.mdx
@@ -44,7 +44,7 @@ Here's example of how to make a request to the `/fact` endpoint.
/*
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/fact";
+ const url = "https://waifu.it/api/v4/fact";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -66,7 +66,7 @@ Here's example of how to make a request to the `/fact` endpoint.
"""
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/fact"
+ url = "https://waifu.it/api/v4/fact"
response = requests.get(url, headers={
"Authorization": "YOUR_ACCESS_TOKEN",
})
diff --git a/pages/rest-api/Texts/Owoify/generate.mdx b/pages/rest-api/Texts/Owoify/generate.mdx
index 9e9807a..11df47f 100644
--- a/pages/rest-api/Texts/Owoify/generate.mdx
+++ b/pages/rest-api/Texts/Owoify/generate.mdx
@@ -53,7 +53,7 @@ Here's an example of how to make a request to the `/owoify` endpoint.
/*
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/owoify";
+ const url = "https://waifu.it/api/v4/owoify";
const text = "Hello world"; // Replace with your desired owoify length (optional).
const data = async () => {
try {
@@ -81,7 +81,7 @@ Here's an example of how to make a request to the `/owoify` endpoint.
"""
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/owoify"
+ url = "https://waifu.it/api/v4/owoify"
text = "Hello world" # Replace with your desired owoify length (optional).
diff --git a/pages/rest-api/Texts/Password/generate.mdx b/pages/rest-api/Texts/Password/generate.mdx
index 327f26a..aabf0c1 100644
--- a/pages/rest-api/Texts/Password/generate.mdx
+++ b/pages/rest-api/Texts/Password/generate.mdx
@@ -53,7 +53,7 @@ Here's an example of how to make a request to the `/password` endpoint.
/*
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/password";
+ const url = "https://waifu.it/api/v4/password";
const charLength = 12; // Replace with your desired password length (optional).
const data = async () => {
try {
@@ -81,7 +81,7 @@ Here's an example of how to make a request to the `/password` endpoint.
"""
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/password"
+ url = "https://waifu.it/api/v4/password"
charLength = 12 # Replace with your desired password length (optional).
diff --git a/pages/rest-api/Texts/Quote/search.mdx b/pages/rest-api/Texts/Quote/search.mdx
index 077ec43..9929572 100644
--- a/pages/rest-api/Texts/Quote/search.mdx
+++ b/pages/rest-api/Texts/Quote/search.mdx
@@ -44,7 +44,7 @@ Here's example of how to make a request to the `/quote` endpoint.
/*
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/quote";
+ const url = "https://waifu.it/api/v4/quote";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
@@ -66,7 +66,7 @@ Here's example of how to make a request to the `/quote` endpoint.
"""
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/quote"
+ url = "https://waifu.it/api/v4/quote"
response = requests.get(url, headers={
"Authorization": "YOUR_ACCESS_TOKEN",
})
diff --git a/pages/rest-api/Texts/Uvuify/generate.mdx b/pages/rest-api/Texts/Uvuify/generate.mdx
index aa8eb77..769346f 100644
--- a/pages/rest-api/Texts/Uvuify/generate.mdx
+++ b/pages/rest-api/Texts/Uvuify/generate.mdx
@@ -53,7 +53,7 @@ Here's an example of how to make a request to the `/uvuify` endpoint.
/*
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/uvuify";
+ const url = "https://waifu.it/api/v4/uvuify";
const text = "Hello world"; // Replace with your desired uvuify length (optional).
const data = async () => {
try {
@@ -81,7 +81,7 @@ Here's an example of how to make a request to the `/uvuify` endpoint.
"""
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/uvuify"
+ url = "https://waifu.it/api/v4/uvuify"
text = "Hello world" # Replace with your desired uvuify length (optional).
diff --git a/pages/rest-api/Texts/Uwuify/generate.mdx b/pages/rest-api/Texts/Uwuify/generate.mdx
index 3c6d184..995a83c 100644
--- a/pages/rest-api/Texts/Uwuify/generate.mdx
+++ b/pages/rest-api/Texts/Uwuify/generate.mdx
@@ -53,7 +53,7 @@ Here's an example of how to make a request to the `/uwuify` endpoint.
/*
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
*/
- const url = "https://waifu.it/api/uwuify";
+ const url = "https://waifu.it/api/v4/uwuify";
const text = "Hello world"; // Replace with your desired uwuify length (optional).
const data = async () => {
try {
@@ -81,7 +81,7 @@ Here's an example of how to make a request to the `/uwuify` endpoint.
"""
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
"""
- url = "https://waifu.it/api/uwuify"
+ url = "https://waifu.it/api/v4/uwuify"
text = "Hello world" # Replace with your desired uwuify length (optional).
diff --git a/pages/rest-api/start.mdx b/pages/rest-api/start.mdx
index 934c7a3..2ff1aae 100644
--- a/pages/rest-api/start.mdx
+++ b/pages/rest-api/start.mdx
@@ -1,19 +1,46 @@
-import { Tab, Tabs } from "nextra-theme-docs";
+import { Tab, Tabs,Callout } from "nextra-theme-docs";
+
# Get Started
+## Base URL
+
+```
+https://waifu.it/api
+```
+
+## API Versioning
+
+
+ Some API and Gateway versions are now non-functioning, and are labeled as discontinued in the table below for posterity.
+ Trying to use these versions will fail and return 400 Bad Request.
+
+
+Waifu.it exposes different versions of our API. You should specify which version to use by including it in the request path
+like `https://waifu.it/api/v{version_number}`. Omitting the version number from the route will route requests to the current
+default version (marked below). You can find the change log for the newest API version [here](https://github.com/WaifuAPI/api/releases).
+
+**API Versions**
+
+| Version | Status | Default |
+|---------|--------------|---------|
+| 4 | Available | ✓ |
+| 3 | Deprecated | |
+| 2 | Discontinued | |
+| 1 | Discontinued | |
-The base URL for the Waifu.it REST API is: [`https://waifu.it/api/:endpoint`](https://waifu.it/api)
-- Replace `:endpoint` with the endpoint you want response from.
## Authentication
-- Use the API token that you generate to authenticate each request made to the API.
+Authenticating with the Waifu.it API can be done using a token found on the **Dashboard** page within your settings.
+If you don't have an API token, then just head over to https://docs.waifu.it/faq, then read and get one for free.
+
+For all authentication types, authentication is performed with the `Authorization` HTTP header in the format `Authorization: TOKEN`.
-> If you don't have an API token, then just head over to https://docs.waifu.it/faq, then read and get one for free.
+**Example Token Authorization Header**
- **Request Header**
->
-> - Set your API token as the `Authorization` header on every request.
+```
+Authorization: MTk4NjIyNDgzNDcxOTI1MjQ4.Cl2FMQ.ZnCjm1XVW7vRze4b7Cq4se7kKWs
+```
**Request Samples**