diff --git a/apps/api/wrangler.toml b/apps/api/wrangler.toml index 08084c6..beeaf33 100644 --- a/apps/api/wrangler.toml +++ b/apps/api/wrangler.toml @@ -5,9 +5,9 @@ compatibility_date = "2024-08-02" # defaultでドメインつけてくるやつ workers_dev = false # カスタムドメインを指定 -route = { pattern = "api.peeace.net", custom_domain = true } +route = { pattern = "api.pe-ace.net", custom_domain = true } [vars] -DOCS_URL = "https://docs.peeace.net/" +DOCS_URL = "https://docs.pe-ace.net/" # [[kv_namespaces]] # binding = "MY_KV_NAMESPACE" diff --git a/apps/docs/docs/code-reference/golang.md b/apps/docs/docs/code-reference/golang.md index c83687c..e6684a5 100644 --- a/apps/docs/docs/code-reference/golang.md +++ b/apps/docs/docs/code-reference/golang.md @@ -13,7 +13,7 @@ import ( var ( apiKey = "YOUR_API_KEY" - apiUrl = "https://api.peeace.net/v1/guardians/text" + apiUrl = "https://api.pe-ace.net/v1/guardians/text" ) func main() { diff --git a/apps/docs/docs/code-reference/node-js.md b/apps/docs/docs/code-reference/node-js.md index 6dc08e6..7963e47 100644 --- a/apps/docs/docs/code-reference/node-js.md +++ b/apps/docs/docs/code-reference/node-js.md @@ -5,7 +5,7 @@ //// YOUR_API_KEYを取得したものに変更してください const apiKey= 'YOUR_API_KEY'; -const apiUrl = "https://api.peeace.net/v1/guardians/text"; +const apiUrl = "https://api.pe-ace.net/v1/guardians/text"; const requestBody = { text: "最低な文章" }; diff --git a/apps/docs/docs/features/guardian.mdx b/apps/docs/docs/features/guardian.mdx index 3c130d7..8f13ec1 100644 --- a/apps/docs/docs/features/guardian.mdx +++ b/apps/docs/docs/features/guardian.mdx @@ -39,7 +39,7 @@ default値は`0.5`です。 ``` curl -X POST \ - --location 'https://api.peeace.net/v1/guardians/text' \ + --location 'https://api.pe-ace.net/v1/guardians/text' \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer " \ -d '{ diff --git a/apps/docs/docs/features/sunshine.mdx b/apps/docs/docs/features/sunshine.mdx index 93ca85e..1ec87c8 100644 --- a/apps/docs/docs/features/sunshine.mdx +++ b/apps/docs/docs/features/sunshine.mdx @@ -34,7 +34,7 @@ export const SunshineApiName = () => { ``` curl -X POST \ - --location 'https://api.peeace.net/v1/sunshines/text' \ + --location 'https://api.pe-ace.net/v1/sunshines/text' \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer " \ -d '{ diff --git a/apps/docs/docs/how-to-use/basic.mdx b/apps/docs/docs/how-to-use/basic.mdx index b551699..462daa0 100644 --- a/apps/docs/docs/how-to-use/basic.mdx +++ b/apps/docs/docs/how-to-use/basic.mdx @@ -16,7 +16,7 @@ export const ApiName = () => { ## API キーの発行 -1. +1. ユーザーポータル にログインします。 「平和ネットAPIを使う」をクリックしてください。 @@ -55,7 +55,7 @@ export const ApiName = () => { ``` curl -s -X POST \ - --location 'https://api.peeace.net/v1/guardians/text' \ + --location 'https://api.pe-ace.net/v1/guardians/text' \ --header 'Content-Type: application/json' \ --header "Authorization: Bearer $API_KEY" \ --data '{ @@ -89,7 +89,7 @@ export const ApiName = () => { text = "最低な文章" } | ConvertTo-Json - Invoke-RestMethod -Method Post -Uri "https://api.peeace.net/v1/guardians/text" -Headers $headers -Body $body + Invoke-RestMethod -Method Post -Uri "https://api.pe-ace.net/v1/guardians/text" -Headers $headers -Body $body ``` diff --git a/apps/docs/docs/overview.mdx b/apps/docs/docs/overview.mdx index 62c12b7..330fb55 100644 --- a/apps/docs/docs/overview.mdx +++ b/apps/docs/docs/overview.mdx @@ -30,7 +30,7 @@ export const SunshineApiName = () => { ### ユーザーポータル -ユーザーポータルでは以下の操作を行うことができます。 +ユーザーポータルでは以下の操作を行うことができます。 - APIキーの発行 - 使用回数の確認 diff --git a/apps/docs/docs/quick-start.mdx b/apps/docs/docs/quick-start.mdx index 38437cd..65bb1a7 100644 --- a/apps/docs/docs/quick-start.mdx +++ b/apps/docs/docs/quick-start.mdx @@ -5,7 +5,7 @@ title: クイックスタート ## APIを試してみる APIキーを発行せずに試してみましょう。 -1. [管理ページ](https://peeace.net)にアクセスし、`平和ネットAPIを使う`をクリックしてください。

+1. [管理ページ](https://pe-ace.net)にアクセスし、`平和ネットAPIを使う`をクリックしてください。

![](/img/top.png) 2. `ログインしないで使ってみる`から簡単にAPIを試すことができます!

diff --git a/apps/docs/docusaurus.config.ts b/apps/docs/docusaurus.config.ts index d417a75..0ef4cdd 100644 --- a/apps/docs/docusaurus.config.ts +++ b/apps/docs/docusaurus.config.ts @@ -92,7 +92,7 @@ const config: Config = { label: 'API Reference', }, { - href: 'https://peeace.net/', + href: 'https://pe-ace.net/', label: 'Website', position: 'right', }, @@ -147,7 +147,7 @@ const config: Config = { items: [ { label: 'Website', - href: 'https://peeace.net/', + href: 'https://pe-ace.net/', }, { label: 'GitHub', diff --git a/apps/docs/versioned_docs/version-1.0.0/code-reference/golang.md b/apps/docs/versioned_docs/version-1.0.0/code-reference/golang.md index c83687c..e6684a5 100644 --- a/apps/docs/versioned_docs/version-1.0.0/code-reference/golang.md +++ b/apps/docs/versioned_docs/version-1.0.0/code-reference/golang.md @@ -13,7 +13,7 @@ import ( var ( apiKey = "YOUR_API_KEY" - apiUrl = "https://api.peeace.net/v1/guardians/text" + apiUrl = "https://api.pe-ace.net/v1/guardians/text" ) func main() { diff --git a/apps/docs/versioned_docs/version-1.0.0/code-reference/node-js.md b/apps/docs/versioned_docs/version-1.0.0/code-reference/node-js.md index 6dc08e6..7963e47 100644 --- a/apps/docs/versioned_docs/version-1.0.0/code-reference/node-js.md +++ b/apps/docs/versioned_docs/version-1.0.0/code-reference/node-js.md @@ -5,7 +5,7 @@ //// YOUR_API_KEYを取得したものに変更してください const apiKey= 'YOUR_API_KEY'; -const apiUrl = "https://api.peeace.net/v1/guardians/text"; +const apiUrl = "https://api.pe-ace.net/v1/guardians/text"; const requestBody = { text: "最低な文章" }; diff --git a/apps/docs/versioned_docs/version-1.0.0/how-to-use/basic.md b/apps/docs/versioned_docs/version-1.0.0/how-to-use/basic.md index e192840..8209077 100644 --- a/apps/docs/versioned_docs/version-1.0.0/how-to-use/basic.md +++ b/apps/docs/versioned_docs/version-1.0.0/how-to-use/basic.md @@ -2,7 +2,7 @@ Guardians APIの基本的な使い方を説明しています。 ## API キーの発行 -1. ユーザーポータルにログインします。 +1. ユーザーポータルにログインします。 「平和ネットAPIを使う」をクリックしてください。 :::info @@ -41,7 +41,7 @@ Guardians APIの基本的な使い方を説明しています。 ``` curl -s -X POST \ - --location 'https://api.peeace.net/v1/guardians/text' \ + --location 'https://api.pe-ace.net/v1/guardians/text' \ --header 'Content-Type: application/json' \ --header "Authorization: Bearer $API_KEY" \ --data '{ @@ -74,7 +74,7 @@ Guardians APIの基本的な使い方を説明しています。 text = "最低な文章" } | ConvertTo-Json - Invoke-RestMethod -Method Post -Uri "https://api.peeace.net/v1/guardians/text" -Headers $headers -Body $body + Invoke-RestMethod -Method Post -Uri "https://api.pe-ace.net/v1/guardians/text" -Headers $headers -Body $body ``` diff --git a/apps/docs/versioned_docs/version-1.0.0/overview.md b/apps/docs/versioned_docs/version-1.0.0/overview.md index 5474052..d9aedd7 100644 --- a/apps/docs/versioned_docs/version-1.0.0/overview.md +++ b/apps/docs/versioned_docs/version-1.0.0/overview.md @@ -5,7 +5,7 @@ Peace Net APIはより安全で平和なインターネット空間の実現を ## 機能 -### ユーザーポータル +### ユーザーポータル ユーザーポータルでは以下の操作を行うことができます。 - APIキーの発行 - 使用回数の確認 diff --git a/apps/docs/versioned_docs/version-1.1.0/code-reference/golang.md b/apps/docs/versioned_docs/version-1.1.0/code-reference/golang.md index c83687c..e6684a5 100644 --- a/apps/docs/versioned_docs/version-1.1.0/code-reference/golang.md +++ b/apps/docs/versioned_docs/version-1.1.0/code-reference/golang.md @@ -13,7 +13,7 @@ import ( var ( apiKey = "YOUR_API_KEY" - apiUrl = "https://api.peeace.net/v1/guardians/text" + apiUrl = "https://api.pe-ace.net/v1/guardians/text" ) func main() { diff --git a/apps/docs/versioned_docs/version-1.1.0/code-reference/node-js.md b/apps/docs/versioned_docs/version-1.1.0/code-reference/node-js.md index 6dc08e6..7963e47 100644 --- a/apps/docs/versioned_docs/version-1.1.0/code-reference/node-js.md +++ b/apps/docs/versioned_docs/version-1.1.0/code-reference/node-js.md @@ -5,7 +5,7 @@ //// YOUR_API_KEYを取得したものに変更してください const apiKey= 'YOUR_API_KEY'; -const apiUrl = "https://api.peeace.net/v1/guardians/text"; +const apiUrl = "https://api.pe-ace.net/v1/guardians/text"; const requestBody = { text: "最低な文章" }; diff --git a/apps/docs/versioned_docs/version-1.1.0/features/guardian.mdx b/apps/docs/versioned_docs/version-1.1.0/features/guardian.mdx index 7e3d58b..f9e2efb 100644 --- a/apps/docs/versioned_docs/version-1.1.0/features/guardian.mdx +++ b/apps/docs/versioned_docs/version-1.1.0/features/guardian.mdx @@ -33,7 +33,7 @@ default値は`0.5`です。 ``` curl -X POST \ - --location 'https://api.peeace.net/v1/guardians/text' \ + --location 'https://api.pe-ace.net/v1/guardians/text' \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer " \ -d '{ diff --git a/apps/docs/versioned_docs/version-1.1.0/how-to-use/basic.mdx b/apps/docs/versioned_docs/version-1.1.0/how-to-use/basic.mdx index b551699..462daa0 100644 --- a/apps/docs/versioned_docs/version-1.1.0/how-to-use/basic.mdx +++ b/apps/docs/versioned_docs/version-1.1.0/how-to-use/basic.mdx @@ -16,7 +16,7 @@ export const ApiName = () => { ## API キーの発行 -1. +1. ユーザーポータル にログインします。 「平和ネットAPIを使う」をクリックしてください。 @@ -55,7 +55,7 @@ export const ApiName = () => { ``` curl -s -X POST \ - --location 'https://api.peeace.net/v1/guardians/text' \ + --location 'https://api.pe-ace.net/v1/guardians/text' \ --header 'Content-Type: application/json' \ --header "Authorization: Bearer $API_KEY" \ --data '{ @@ -89,7 +89,7 @@ export const ApiName = () => { text = "最低な文章" } | ConvertTo-Json - Invoke-RestMethod -Method Post -Uri "https://api.peeace.net/v1/guardians/text" -Headers $headers -Body $body + Invoke-RestMethod -Method Post -Uri "https://api.pe-ace.net/v1/guardians/text" -Headers $headers -Body $body ``` diff --git a/apps/docs/versioned_docs/version-1.1.0/overview.mdx b/apps/docs/versioned_docs/version-1.1.0/overview.mdx index 62c12b7..330fb55 100644 --- a/apps/docs/versioned_docs/version-1.1.0/overview.mdx +++ b/apps/docs/versioned_docs/version-1.1.0/overview.mdx @@ -30,7 +30,7 @@ export const SunshineApiName = () => { ### ユーザーポータル -ユーザーポータルでは以下の操作を行うことができます。 +ユーザーポータルでは以下の操作を行うことができます。 - APIキーの発行 - 使用回数の確認 diff --git a/apps/docs/versioned_docs/version-1.2.0/code-reference/golang.md b/apps/docs/versioned_docs/version-1.2.0/code-reference/golang.md index c83687c..e6684a5 100644 --- a/apps/docs/versioned_docs/version-1.2.0/code-reference/golang.md +++ b/apps/docs/versioned_docs/version-1.2.0/code-reference/golang.md @@ -13,7 +13,7 @@ import ( var ( apiKey = "YOUR_API_KEY" - apiUrl = "https://api.peeace.net/v1/guardians/text" + apiUrl = "https://api.pe-ace.net/v1/guardians/text" ) func main() { diff --git a/apps/docs/versioned_docs/version-1.2.0/code-reference/node-js.md b/apps/docs/versioned_docs/version-1.2.0/code-reference/node-js.md index 6dc08e6..7963e47 100644 --- a/apps/docs/versioned_docs/version-1.2.0/code-reference/node-js.md +++ b/apps/docs/versioned_docs/version-1.2.0/code-reference/node-js.md @@ -5,7 +5,7 @@ //// YOUR_API_KEYを取得したものに変更してください const apiKey= 'YOUR_API_KEY'; -const apiUrl = "https://api.peeace.net/v1/guardians/text"; +const apiUrl = "https://api.pe-ace.net/v1/guardians/text"; const requestBody = { text: "最低な文章" }; diff --git a/apps/docs/versioned_docs/version-1.2.0/features/guardian.mdx b/apps/docs/versioned_docs/version-1.2.0/features/guardian.mdx index 7e3d58b..f9e2efb 100644 --- a/apps/docs/versioned_docs/version-1.2.0/features/guardian.mdx +++ b/apps/docs/versioned_docs/version-1.2.0/features/guardian.mdx @@ -33,7 +33,7 @@ default値は`0.5`です。 ``` curl -X POST \ - --location 'https://api.peeace.net/v1/guardians/text' \ + --location 'https://api.pe-ace.net/v1/guardians/text' \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer " \ -d '{ diff --git a/apps/docs/versioned_docs/version-1.2.0/features/sunshine.mdx b/apps/docs/versioned_docs/version-1.2.0/features/sunshine.mdx index c6a41c7..6c06cc3 100644 --- a/apps/docs/versioned_docs/version-1.2.0/features/sunshine.mdx +++ b/apps/docs/versioned_docs/version-1.2.0/features/sunshine.mdx @@ -28,7 +28,7 @@ export const SunshineApiName = () => { ``` curl -X POST \ - --location 'https://api.peeace.net/v1/sunshines/text' \ + --location 'https://api.pe-ace.net/v1/sunshines/text' \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer " \ -d '{ diff --git a/apps/docs/versioned_docs/version-1.2.0/how-to-use/basic.mdx b/apps/docs/versioned_docs/version-1.2.0/how-to-use/basic.mdx index b551699..462daa0 100644 --- a/apps/docs/versioned_docs/version-1.2.0/how-to-use/basic.mdx +++ b/apps/docs/versioned_docs/version-1.2.0/how-to-use/basic.mdx @@ -16,7 +16,7 @@ export const ApiName = () => { ## API キーの発行 -1. +1. ユーザーポータル にログインします。 「平和ネットAPIを使う」をクリックしてください。 @@ -55,7 +55,7 @@ export const ApiName = () => { ``` curl -s -X POST \ - --location 'https://api.peeace.net/v1/guardians/text' \ + --location 'https://api.pe-ace.net/v1/guardians/text' \ --header 'Content-Type: application/json' \ --header "Authorization: Bearer $API_KEY" \ --data '{ @@ -89,7 +89,7 @@ export const ApiName = () => { text = "最低な文章" } | ConvertTo-Json - Invoke-RestMethod -Method Post -Uri "https://api.peeace.net/v1/guardians/text" -Headers $headers -Body $body + Invoke-RestMethod -Method Post -Uri "https://api.pe-ace.net/v1/guardians/text" -Headers $headers -Body $body ``` diff --git a/apps/docs/versioned_docs/version-1.2.0/overview.mdx b/apps/docs/versioned_docs/version-1.2.0/overview.mdx index 62c12b7..330fb55 100644 --- a/apps/docs/versioned_docs/version-1.2.0/overview.mdx +++ b/apps/docs/versioned_docs/version-1.2.0/overview.mdx @@ -30,7 +30,7 @@ export const SunshineApiName = () => { ### ユーザーポータル -ユーザーポータルでは以下の操作を行うことができます。 +ユーザーポータルでは以下の操作を行うことができます。 - APIキーの発行 - 使用回数の確認 diff --git a/apps/docs/versioned_docs/version-1.2.1/code-reference/golang.md b/apps/docs/versioned_docs/version-1.2.1/code-reference/golang.md index c83687c..e6684a5 100644 --- a/apps/docs/versioned_docs/version-1.2.1/code-reference/golang.md +++ b/apps/docs/versioned_docs/version-1.2.1/code-reference/golang.md @@ -13,7 +13,7 @@ import ( var ( apiKey = "YOUR_API_KEY" - apiUrl = "https://api.peeace.net/v1/guardians/text" + apiUrl = "https://api.pe-ace.net/v1/guardians/text" ) func main() { diff --git a/apps/docs/versioned_docs/version-1.2.1/code-reference/node-js.md b/apps/docs/versioned_docs/version-1.2.1/code-reference/node-js.md index 6dc08e6..7963e47 100644 --- a/apps/docs/versioned_docs/version-1.2.1/code-reference/node-js.md +++ b/apps/docs/versioned_docs/version-1.2.1/code-reference/node-js.md @@ -5,7 +5,7 @@ //// YOUR_API_KEYを取得したものに変更してください const apiKey= 'YOUR_API_KEY'; -const apiUrl = "https://api.peeace.net/v1/guardians/text"; +const apiUrl = "https://api.pe-ace.net/v1/guardians/text"; const requestBody = { text: "最低な文章" }; diff --git a/apps/docs/versioned_docs/version-1.2.1/features/guardian.mdx b/apps/docs/versioned_docs/version-1.2.1/features/guardian.mdx index 7e3d58b..f9e2efb 100644 --- a/apps/docs/versioned_docs/version-1.2.1/features/guardian.mdx +++ b/apps/docs/versioned_docs/version-1.2.1/features/guardian.mdx @@ -33,7 +33,7 @@ default値は`0.5`です。 ``` curl -X POST \ - --location 'https://api.peeace.net/v1/guardians/text' \ + --location 'https://api.pe-ace.net/v1/guardians/text' \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer " \ -d '{ diff --git a/apps/docs/versioned_docs/version-1.2.1/features/sunshine.mdx b/apps/docs/versioned_docs/version-1.2.1/features/sunshine.mdx index c6a41c7..6c06cc3 100644 --- a/apps/docs/versioned_docs/version-1.2.1/features/sunshine.mdx +++ b/apps/docs/versioned_docs/version-1.2.1/features/sunshine.mdx @@ -28,7 +28,7 @@ export const SunshineApiName = () => { ``` curl -X POST \ - --location 'https://api.peeace.net/v1/sunshines/text' \ + --location 'https://api.pe-ace.net/v1/sunshines/text' \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer " \ -d '{ diff --git a/apps/docs/versioned_docs/version-1.2.1/how-to-use/basic.mdx b/apps/docs/versioned_docs/version-1.2.1/how-to-use/basic.mdx index b551699..462daa0 100644 --- a/apps/docs/versioned_docs/version-1.2.1/how-to-use/basic.mdx +++ b/apps/docs/versioned_docs/version-1.2.1/how-to-use/basic.mdx @@ -16,7 +16,7 @@ export const ApiName = () => { ## API キーの発行 -1. +1. ユーザーポータル にログインします。 「平和ネットAPIを使う」をクリックしてください。 @@ -55,7 +55,7 @@ export const ApiName = () => { ``` curl -s -X POST \ - --location 'https://api.peeace.net/v1/guardians/text' \ + --location 'https://api.pe-ace.net/v1/guardians/text' \ --header 'Content-Type: application/json' \ --header "Authorization: Bearer $API_KEY" \ --data '{ @@ -89,7 +89,7 @@ export const ApiName = () => { text = "最低な文章" } | ConvertTo-Json - Invoke-RestMethod -Method Post -Uri "https://api.peeace.net/v1/guardians/text" -Headers $headers -Body $body + Invoke-RestMethod -Method Post -Uri "https://api.pe-ace.net/v1/guardians/text" -Headers $headers -Body $body ``` diff --git a/apps/docs/versioned_docs/version-1.2.1/overview.mdx b/apps/docs/versioned_docs/version-1.2.1/overview.mdx index 62c12b7..330fb55 100644 --- a/apps/docs/versioned_docs/version-1.2.1/overview.mdx +++ b/apps/docs/versioned_docs/version-1.2.1/overview.mdx @@ -30,7 +30,7 @@ export const SunshineApiName = () => { ### ユーザーポータル -ユーザーポータルでは以下の操作を行うことができます。 +ユーザーポータルでは以下の操作を行うことができます。 - APIキーの発行 - 使用回数の確認 diff --git a/apps/docs/versioned_docs/version-1.3.0/code-reference/golang.md b/apps/docs/versioned_docs/version-1.3.0/code-reference/golang.md index c83687c..e6684a5 100644 --- a/apps/docs/versioned_docs/version-1.3.0/code-reference/golang.md +++ b/apps/docs/versioned_docs/version-1.3.0/code-reference/golang.md @@ -13,7 +13,7 @@ import ( var ( apiKey = "YOUR_API_KEY" - apiUrl = "https://api.peeace.net/v1/guardians/text" + apiUrl = "https://api.pe-ace.net/v1/guardians/text" ) func main() { diff --git a/apps/docs/versioned_docs/version-1.3.0/code-reference/node-js.md b/apps/docs/versioned_docs/version-1.3.0/code-reference/node-js.md index 6dc08e6..7963e47 100644 --- a/apps/docs/versioned_docs/version-1.3.0/code-reference/node-js.md +++ b/apps/docs/versioned_docs/version-1.3.0/code-reference/node-js.md @@ -5,7 +5,7 @@ //// YOUR_API_KEYを取得したものに変更してください const apiKey= 'YOUR_API_KEY'; -const apiUrl = "https://api.peeace.net/v1/guardians/text"; +const apiUrl = "https://api.pe-ace.net/v1/guardians/text"; const requestBody = { text: "最低な文章" }; diff --git a/apps/docs/versioned_docs/version-1.3.0/features/guardian.mdx b/apps/docs/versioned_docs/version-1.3.0/features/guardian.mdx index 7e3d58b..f9e2efb 100644 --- a/apps/docs/versioned_docs/version-1.3.0/features/guardian.mdx +++ b/apps/docs/versioned_docs/version-1.3.0/features/guardian.mdx @@ -33,7 +33,7 @@ default値は`0.5`です。 ``` curl -X POST \ - --location 'https://api.peeace.net/v1/guardians/text' \ + --location 'https://api.pe-ace.net/v1/guardians/text' \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer " \ -d '{ diff --git a/apps/docs/versioned_docs/version-1.3.0/features/sunshine.mdx b/apps/docs/versioned_docs/version-1.3.0/features/sunshine.mdx index c6a41c7..6c06cc3 100644 --- a/apps/docs/versioned_docs/version-1.3.0/features/sunshine.mdx +++ b/apps/docs/versioned_docs/version-1.3.0/features/sunshine.mdx @@ -28,7 +28,7 @@ export const SunshineApiName = () => { ``` curl -X POST \ - --location 'https://api.peeace.net/v1/sunshines/text' \ + --location 'https://api.pe-ace.net/v1/sunshines/text' \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer " \ -d '{ diff --git a/apps/docs/versioned_docs/version-1.3.0/how-to-use/basic.mdx b/apps/docs/versioned_docs/version-1.3.0/how-to-use/basic.mdx index b551699..462daa0 100644 --- a/apps/docs/versioned_docs/version-1.3.0/how-to-use/basic.mdx +++ b/apps/docs/versioned_docs/version-1.3.0/how-to-use/basic.mdx @@ -16,7 +16,7 @@ export const ApiName = () => { ## API キーの発行 -1. +1. ユーザーポータル にログインします。 「平和ネットAPIを使う」をクリックしてください。 @@ -55,7 +55,7 @@ export const ApiName = () => { ``` curl -s -X POST \ - --location 'https://api.peeace.net/v1/guardians/text' \ + --location 'https://api.pe-ace.net/v1/guardians/text' \ --header 'Content-Type: application/json' \ --header "Authorization: Bearer $API_KEY" \ --data '{ @@ -89,7 +89,7 @@ export const ApiName = () => { text = "最低な文章" } | ConvertTo-Json - Invoke-RestMethod -Method Post -Uri "https://api.peeace.net/v1/guardians/text" -Headers $headers -Body $body + Invoke-RestMethod -Method Post -Uri "https://api.pe-ace.net/v1/guardians/text" -Headers $headers -Body $body ``` diff --git a/apps/docs/versioned_docs/version-1.3.0/overview.mdx b/apps/docs/versioned_docs/version-1.3.0/overview.mdx index 62c12b7..330fb55 100644 --- a/apps/docs/versioned_docs/version-1.3.0/overview.mdx +++ b/apps/docs/versioned_docs/version-1.3.0/overview.mdx @@ -30,7 +30,7 @@ export const SunshineApiName = () => { ### ユーザーポータル -ユーザーポータルでは以下の操作を行うことができます。 +ユーザーポータルでは以下の操作を行うことができます。 - APIキーの発行 - 使用回数の確認 diff --git a/apps/docs/versioned_docs/version-1.3.0/quick-start.mdx b/apps/docs/versioned_docs/version-1.3.0/quick-start.mdx index 38437cd..65bb1a7 100644 --- a/apps/docs/versioned_docs/version-1.3.0/quick-start.mdx +++ b/apps/docs/versioned_docs/version-1.3.0/quick-start.mdx @@ -5,7 +5,7 @@ title: クイックスタート ## APIを試してみる APIキーを発行せずに試してみましょう。 -1. [管理ページ](https://peeace.net)にアクセスし、`平和ネットAPIを使う`をクリックしてください。

+1. [管理ページ](https://pe-ace.net)にアクセスし、`平和ネットAPIを使う`をクリックしてください。

![](/img/top.png) 2. `ログインしないで使ってみる`から簡単にAPIを試すことができます!

diff --git a/apps/docs/versioned_docs/version-1.4.1/code-reference/golang.md b/apps/docs/versioned_docs/version-1.4.1/code-reference/golang.md index c83687c..e6684a5 100644 --- a/apps/docs/versioned_docs/version-1.4.1/code-reference/golang.md +++ b/apps/docs/versioned_docs/version-1.4.1/code-reference/golang.md @@ -13,7 +13,7 @@ import ( var ( apiKey = "YOUR_API_KEY" - apiUrl = "https://api.peeace.net/v1/guardians/text" + apiUrl = "https://api.pe-ace.net/v1/guardians/text" ) func main() { diff --git a/apps/docs/versioned_docs/version-1.4.1/code-reference/node-js.md b/apps/docs/versioned_docs/version-1.4.1/code-reference/node-js.md index 6dc08e6..7963e47 100644 --- a/apps/docs/versioned_docs/version-1.4.1/code-reference/node-js.md +++ b/apps/docs/versioned_docs/version-1.4.1/code-reference/node-js.md @@ -5,7 +5,7 @@ //// YOUR_API_KEYを取得したものに変更してください const apiKey= 'YOUR_API_KEY'; -const apiUrl = "https://api.peeace.net/v1/guardians/text"; +const apiUrl = "https://api.pe-ace.net/v1/guardians/text"; const requestBody = { text: "最低な文章" }; diff --git a/apps/docs/versioned_docs/version-1.4.1/features/guardian.mdx b/apps/docs/versioned_docs/version-1.4.1/features/guardian.mdx index 5da75ca..0843b22 100644 --- a/apps/docs/versioned_docs/version-1.4.1/features/guardian.mdx +++ b/apps/docs/versioned_docs/version-1.4.1/features/guardian.mdx @@ -39,7 +39,7 @@ default値は`0.5`です。 ``` curl -X POST \ - --location 'https://api.peeace.net/v1/guardians/text' \ + --location 'https://api.pe-ace.net/v1/guardians/text' \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer " \ -d '{ diff --git a/apps/docs/versioned_docs/version-1.4.1/features/sunshine.mdx b/apps/docs/versioned_docs/version-1.4.1/features/sunshine.mdx index c6a41c7..6c06cc3 100644 --- a/apps/docs/versioned_docs/version-1.4.1/features/sunshine.mdx +++ b/apps/docs/versioned_docs/version-1.4.1/features/sunshine.mdx @@ -28,7 +28,7 @@ export const SunshineApiName = () => { ``` curl -X POST \ - --location 'https://api.peeace.net/v1/sunshines/text' \ + --location 'https://api.pe-ace.net/v1/sunshines/text' \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer " \ -d '{ diff --git a/apps/docs/versioned_docs/version-1.4.1/how-to-use/basic.mdx b/apps/docs/versioned_docs/version-1.4.1/how-to-use/basic.mdx index b551699..462daa0 100644 --- a/apps/docs/versioned_docs/version-1.4.1/how-to-use/basic.mdx +++ b/apps/docs/versioned_docs/version-1.4.1/how-to-use/basic.mdx @@ -16,7 +16,7 @@ export const ApiName = () => { ## API キーの発行 -1. +1. ユーザーポータル にログインします。 「平和ネットAPIを使う」をクリックしてください。 @@ -55,7 +55,7 @@ export const ApiName = () => { ``` curl -s -X POST \ - --location 'https://api.peeace.net/v1/guardians/text' \ + --location 'https://api.pe-ace.net/v1/guardians/text' \ --header 'Content-Type: application/json' \ --header "Authorization: Bearer $API_KEY" \ --data '{ @@ -89,7 +89,7 @@ export const ApiName = () => { text = "最低な文章" } | ConvertTo-Json - Invoke-RestMethod -Method Post -Uri "https://api.peeace.net/v1/guardians/text" -Headers $headers -Body $body + Invoke-RestMethod -Method Post -Uri "https://api.pe-ace.net/v1/guardians/text" -Headers $headers -Body $body ``` diff --git a/apps/docs/versioned_docs/version-1.4.1/overview.mdx b/apps/docs/versioned_docs/version-1.4.1/overview.mdx index 62c12b7..330fb55 100644 --- a/apps/docs/versioned_docs/version-1.4.1/overview.mdx +++ b/apps/docs/versioned_docs/version-1.4.1/overview.mdx @@ -30,7 +30,7 @@ export const SunshineApiName = () => { ### ユーザーポータル -ユーザーポータルでは以下の操作を行うことができます。 +ユーザーポータルでは以下の操作を行うことができます。 - APIキーの発行 - 使用回数の確認 diff --git a/apps/docs/versioned_docs/version-1.4.1/quick-start.mdx b/apps/docs/versioned_docs/version-1.4.1/quick-start.mdx index 38437cd..65bb1a7 100644 --- a/apps/docs/versioned_docs/version-1.4.1/quick-start.mdx +++ b/apps/docs/versioned_docs/version-1.4.1/quick-start.mdx @@ -5,7 +5,7 @@ title: クイックスタート ## APIを試してみる APIキーを発行せずに試してみましょう。 -1. [管理ページ](https://peeace.net)にアクセスし、`平和ネットAPIを使う`をクリックしてください。

+1. [管理ページ](https://pe-ace.net)にアクセスし、`平和ネットAPIを使う`をクリックしてください。

![](/img/top.png) 2. `ログインしないで使ってみる`から簡単にAPIを試すことができます!