diff --git a/README.md b/README.md index 6238943c5a..cf0277bfc0 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ with `precious path/to/file` ## Local Configuration Changes -The back end defaults to `fastapi.metacpan.org`. Running a local API server is +The back end defaults to `api.metacpan.org/v1`. Running a local API server is optional and not required to hack on the front end. The address to the API being used can be changed in the `metacpan_web.conf` file. Ideally you would create a new file called `metacpan_web_local.conf` that contains diff --git a/metacpan_web.yaml b/metacpan_web.yaml index 400f15156d..534b1a2716 100644 --- a/metacpan_web.yaml +++ b/metacpan_web.yaml @@ -1,6 +1,6 @@ name: MetaCPAN::Web -api: https://fastapi.metacpan.org +api: https://api.metacpan.org/v1 source_host: https://st.aticpan.org web_host: https://metacpan.org consumer_key: metacpan.dev diff --git a/root/about/about.tx b/root/about/about.tx index 3e85c99196..26edbb4d19 100644 --- a/root/about/about.tx +++ b/root/about/about.tx @@ -16,11 +16,11 @@ encourage more suggestions. MetaCPAN has two parts: * [metacpan.org](https://metacpan.org), a front end to... -* [fastapi.metacpan.org](https://fastapi.metacpan.org/) the API +* [api.metacpan.org](https://api.metacpan.org/) the API So [https://metacpan.org/pod/Moose](/pod/Moose) -vs [https://fastapi.metacpan.org/v1/module/Moose](https://fastapi.metacpan.org/v1/module/Moose) +vs [https://api.metacpan.org/v1/module/Moose](https://api.metacpan.org/v1/module/Moose) MetaCPAN is [a community effort](/about/contributors), with all the code freely available on GitHub ([www](https://github.com/metacpan/metacpan-web), diff --git a/root/about/development.tx b/root/about/development.tx index 4bf6eed277..ee48de3d35 100644 --- a/root/about/development.tx +++ b/root/about/development.tx @@ -97,7 +97,7 @@ A good first read is the "[How to contribute](https://github.com/metacpan/metacp API: [https://github.com/metacpan/metacpan-api](https://github.com/metacpan/metacpan-api) - Swagger docs: [https://fastapi.metacpan.org/static/index.html](https://fastapi.metacpan.org/static/index.html) + Swagger docs: [https://api.metacpan.org/v1/static/index.html](https://api.metacpan.org/v1/static/index.html) Example scripts: [https://github.com/metacpan/metacpan-examples](https://github.com/metacpan/metacpan-examples) diff --git a/root/about/faq.tx b/root/about/faq.tx index a7d6d1beb7..9f0a96cd34 100644 --- a/root/about/faq.tx +++ b/root/about/faq.tx @@ -71,8 +71,8 @@ See [CPAN Bus Factor](https://www.olafalders.com/2021/06/30/cpan-bus-factor/). ## Where can I find the API docs? -The API docs can be found by visiting [fastapi.metacpan.org](https://fastapi.metacpan.org). -API requests need to be sent to fastapi.metacpan.org. +The API docs can be found by visiting [api.metacpan.org](https://api.metacpan.org). +API requests need to be sent to api.metacpan.org/v1/. ## How can I try the API? @@ -108,7 +108,7 @@ and/or using multiple browsers. To fix this: 1. Disconnect all identities -2. Remove all cookies from `metacpan.org` and `fastapi.metacpan.org` +2. Remove all cookies from `metacpan.org` and `api.metacpan.org` 3. Reconnect via one identity 4. Connect to PAUSE @@ -160,7 +160,7 @@ in the MetaCPAN account is initialized from those sources any changes made to those files. If you, as a PAUSE author would like to keep them in sync, you can always export your MetaCPAN -account information in json format by accessing https://fastapi.metacpan.org/author/PAUSEID +account information in json format by accessing https://api.metacpan.org/v1/author/PAUSEID (replacing the word PAUSEID by your own PAUSEID). Then you can upload the result as author-*.json with a higher version number than the last one you uploaded. The PAUSE account information need to be updated manually via diff --git a/root/base.tx b/root/base.tx index 7489ad20ab..e7e430f0dc 100644 --- a/root/base.tx +++ b/root/base.tx @@ -50,7 +50,7 @@
  • Recent
  • FAQ
  • Tools
  • -
  • API
  • +
  • API
  • %% }