File tree 7 files changed +12
-12
lines changed
7 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ with `precious path/to/file`
100
100
101
101
## Local Configuration Changes
102
102
103
- The back end defaults to ` fastapi .metacpan.org` . Running a local API server is
103
+ The back end defaults to ` api .metacpan.org/v1 ` . Running a local API server is
104
104
optional and not required to hack on the front end. The address to the API being
105
105
used can be changed in the ` metacpan_web.conf ` file. Ideally you would create a
106
106
new file called ` metacpan_web_local.conf ` that contains
Original file line number Diff line number Diff line change 1
1
name : MetaCPAN::Web
2
2
3
- api : https://fastapi .metacpan.org
3
+ api : https://api .metacpan.org/v1
4
4
source_host : https://st.aticpan.org
5
5
web_host : https://metacpan.org
6
6
consumer_key : metacpan.dev
Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ encourage more suggestions.
16
16
MetaCPAN has two parts:
17
17
18
18
* [metacpan.org](https://metacpan.org), a front end to...
19
- * [fastapi .metacpan.org](https://fastapi .metacpan.org/) the API
19
+ * [api .metacpan.org](https://api .metacpan.org/) the API
20
20
21
21
So
22
22
[https://metacpan.org/pod/Moose](/pod/Moose)
23
- vs [https://fastapi .metacpan.org/v1/module/Moose](https://fastapi .metacpan.org/v1/module/Moose)
23
+ vs [https://api .metacpan.org/v1/module/Moose](https://api .metacpan.org/v1/module/Moose)
24
24
25
25
MetaCPAN is [a community effort](/about/contributors), with all the code freely
26
26
available on GitHub ([www](https://github.com/metacpan/metacpan-web),
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ A good first read is the "[How to contribute](https://github.com/metacpan/metacp
97
97
98
98
API: [https://github.com/metacpan/metacpan-api](https://github.com/metacpan/metacpan-api)
99
99
100
- Swagger docs: [https://fastapi .metacpan.org/static/index.html](https://fastapi .metacpan.org/static/index.html)
100
+ Swagger docs: [https://api .metacpan.org/v1/ static/index.html](https://api .metacpan.org/v1 /static/index.html)
101
101
102
102
Example scripts: [https://github.com/metacpan/metacpan-examples](https://github.com/metacpan/metacpan-examples)
103
103
Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ See [CPAN Bus Factor](https://www.olafalders.com/2021/06/30/cpan-bus-factor/).
71
71
72
72
## Where can I find the API docs?
73
73
74
- The API docs can be found by visiting [fastapi .metacpan.org](https://fastapi .metacpan.org).
75
- API requests need to be sent to fastapi .metacpan.org.
74
+ The API docs can be found by visiting [api .metacpan.org](https://api .metacpan.org).
75
+ API requests need to be sent to api .metacpan.org/v1/ .
76
76
77
77
## How can I try the API?
78
78
@@ -108,7 +108,7 @@ and/or using multiple browsers.
108
108
To fix this:
109
109
110
110
1. Disconnect all identities
111
- 2. Remove all cookies from `metacpan.org` and `fastapi .metacpan.org`
111
+ 2. Remove all cookies from `metacpan.org` and `api .metacpan.org`
112
112
3. Reconnect via one identity
113
113
4. Connect to PAUSE
114
114
@@ -160,7 +160,7 @@ in the MetaCPAN account is initialized from those sources
160
160
any changes made to those files.
161
161
162
162
If you, as a PAUSE author would like to keep them in sync, you can always export your MetaCPAN
163
- account information in json format by accessing https://fastapi .metacpan.org/author/PAUSEID
163
+ account information in json format by accessing https://api .metacpan.org/v1 /author/PAUSEID
164
164
(replacing the word PAUSEID by your own PAUSEID). Then you can upload the result as author-*.json
165
165
with a higher version number than the last one you uploaded.
166
166
The PAUSE account information need to be updated manually via
Original file line number Diff line number Diff line change 50
50
<li><a href="/recent">Recent</a></li>
51
51
<li><a href="/about/faq">FAQ</a></li>
52
52
<li><a href="/tools">Tools</a></li>
53
- <li><a href="https://fastapi .metacpan.org/">API</a></li>
53
+ <li><a href="https://api .metacpan.org/">API</a></li>
54
54
</ul>
55
55
%% }
56
56
<ul class="nav navbar-nav navbar-right">
174
174
<a href="/tools">Tools</a>
175
175
</div>
176
176
<div class="footer-link">
177
- <a href="https://fastapi .metacpan.org/">API</a>
177
+ <a href="https://api .metacpan.org/">API</a>
178
178
</div>
179
179
<div class="footer-link">
180
180
<a href="https://www.perl.org/">Perl.org</a>
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ test_psgi app, sub {
51
51
my @versioned_link_tests = (
52
52
{
53
53
xpath => ' //a[text()="Raw code"]/@href' ,
54
- expected => qr {\b fastapi .metacpan.org/} ,
54
+ expected => qr {\b api \ . metacpan\ . org/v1 /} ,
55
55
desc => ' raw code points to fastapi'
56
56
},
57
57
{
You can’t perform that action at this time.
0 commit comments