From 0919c91f5bb7e7f934312bf27fefbdc0db29e59d Mon Sep 17 00:00:00 2001 From: Misaka_L Date: Wed, 12 Feb 2025 16:18:59 +0800 Subject: [PATCH] Update getting-started tutorials for api key deprectaed --- content/tutorials/getting-started.markdown | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/content/tutorials/getting-started.markdown b/content/tutorials/getting-started.markdown index 7df0b11..c893611 100644 --- a/content/tutorials/getting-started.markdown +++ b/content/tutorials/getting-started.markdown @@ -53,19 +53,14 @@ Now you're ready to go! Now click on "VRChat API Documentation" to proceed. ## Sending your First Request -Now we are going to send our first request! As a very simple, but also necessary, demo we will fetch the System Config. -The System Config contains information such announcements, the world lists, download links to the latest SDKs, and much more! -But importantly it also contains the required `apiKey` and fetching the System Config sets this key as a cookie. +Now we are going to send our first request! -Now, under "**system**" folder on the left, locate the endpoint called "**Fetch API Config**" and simply press "**Send**". - -![](/assets/img/tutorials/getting-started/insomnia4.png) - -The API key is required for all further requests. The key is not personal, and has been the same for the last 8 years. -You can view the request response on the right, as well as the Headers that were returned and Cookies which were set. -Cookies are global, and you can view your cookie storage by clicking "Cookies" in the **top-left** corner of the window. +
+ clientApiKey has been deprecated
+ You can skip it without negative consequences. +
-Next we are going to Authenticate, as being logged in is required for most requests. +Go to Authenticate, as being logged in is required for most requests. Click the "**authentication**" folder on the left, locate the endpoint "**Login and/or Get Current User Info**". In VRChat the same endpoint is used for authentication as getting your own user information. If you are not logged in then it will generate an `authtoken` cookie for you and return your user info.