Skip to content

Commit

Permalink
docs: update links to target the v4 docs (#1150)
Browse files Browse the repository at this point in the history
fixes #1148
  • Loading branch information
vicb authored Apr 16, 2024
1 parent f50a3ef commit b2d07c8
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion demos/batch-geocoder-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
2. `"clientSecret"`: ArcGIS ClientSecret
3. `"csv"`: csv path
4. `"output"`: output csv path
5. `"fieldmap"`: `object` that maps CSV fields to [address fields](https://esri.github.io/arcgis-rest-js/api/geocoder/IAddressBulk/) **or** `string` that points to a CSV field with single-line addresses
5. `"fieldmap"`: `object` that maps CSV fields to [address fields](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-geocoding/IAddressBulk/) **or** `string` that points to a CSV field with single-line addresses
4. `npm start`

Sample Restaurant Inspections adapted from a DOHMH dataset available [online](https://data.cityofnewyork.us/Health/DOHMH-New-York-City-Restaurant-Inspection-Results/xx67-kt59/data)
2 changes: 1 addition & 1 deletion demos/batch-geocoder-node/batch-geocode.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const exportCsv = (output, filePath) => {

// Format objects in data to conform to request params
// `fields` can be a `string` for address field or an `object` mapping request fields to csv fields
// https://esri.github.io/arcgis-rest-js/api/geocoder/IAddressBulk/
// https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-geocoding/IAddressBulk/
const getAddresses = (data, fields) => {
if (typeof fields === "string") {
return data.map((row, i) => ({
Expand Down
2 changes: 1 addition & 1 deletion demos/oauth2-browser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This demo uses Vanilla JS to implement OAuth2 using the `arcgis-rest-js` libraries.

See the ArcGIS Rest JS guide to [Authentication in Browser-based Apps](https://esri.github.io/arcgis-rest-js/guides/browser-authentication/) for more info.
See the ArcGIS Rest JS guide to [Authentication in Browser-based Apps](https://developers.arcgis.com/arcgis-rest-js/authentication/tutorials/implement-user-authentication-rest-js-browser/) for more info.

## Running this demo

Expand Down
6 changes: 3 additions & 3 deletions packages/arcgis-rest-demographics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ getAvailableDataCollections().then((response) => {
});
```

### [API Reference](https://esri.github.io/arcgis-rest-js/api/demographics/)
### [API Reference](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-demographics/)

- [`getAvailableDataCollections({countryCode: 'us'})`](https://esri.github.io/arcgis-rest-js/api/demographics/getAvailableDataCollections/)
- [`queryDemographicData({studyAreas: [{"geometry":{"x":-117.1956,"y":34.0572}}], authentication})`](https://esri.github.io/arcgis-rest-js/api/demographics/queryDemographicData/)
- [`getAvailableDataCollections({countryCode: 'us'})`](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-demographics/getAvailableDataCollections/)
- [`queryDemographicData({studyAreas: [{"geometry":{"x":-117.1956,"y":34.0572}}], authentication})`](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-demographics/queryDemographicData/)

### Issues

Expand Down
2 changes: 1 addition & 1 deletion packages/arcgis-rest-feature-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ queryFeatures(options).then((response) => {
});
```

### [API Reference](https://esri.github.io/arcgis-rest-js/api/feature-layer/)
### [API Reference](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-feature-service/)

### Issues

Expand Down
10 changes: 5 additions & 5 deletions packages/arcgis-rest-geocoding/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ geocode("LAX").then((response) => {
});
```

### [API Reference](https://esri.github.io/arcgis-rest-js/api/geocoding/)
### [API Reference](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-geocoding/)

- [`geocode("1 World Way Los Angeles 90045")`](https://esri.github.io/arcgis-rest-js/api/geocoding/geocode/)
- [`geocode("1 World Way Los Angeles 90045")`](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-geocoding/geocode/)

- [`suggest("Starb")`](https://esri.github.io/arcgis-rest-js/api/geocoding/suggest/)
- [`suggest("Starb")`](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-geocoding/suggest/)

- [`reverseGeocode([-118.409,33.943 ])`](https://esri.github.io/arcgis-rest-js/api/geocoding/reverseGeocode/)
- [`reverseGeocode([-118.409,33.943 ])`](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-geocoding/reverseGeocode/)

- [`bulkGeocode()`](https://esri.github.io/arcgis-rest-js/api/geocoding/bulkGeocode/)
- [`bulkGeocode()`](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-geocoding/bulkGeocode/)

### Issues

Expand Down
2 changes: 1 addition & 1 deletion packages/arcgis-rest-places/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const { places } = await findPlacesNearPoint({
console.log(places[0].name);
```
### [API Reference](https://esri.github.io/arcgis-rest-js/api/places/)
### [API Reference](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-places/)
@TODO
Expand Down
2 changes: 1 addition & 1 deletion packages/arcgis-rest-portal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ getItem(itemId).then((response) => {
});
```

### [API Reference](https://esri.github.io/arcgis-rest-js/api/portal/)
### [API Reference](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-portal/)

### Issues

Expand Down
2 changes: 1 addition & 1 deletion packages/arcgis-rest-request/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ request(url).then((response) => {
});
```

### [API Reference](https://esri.github.io/arcgis-rest-js/api/request/)
### [API Reference](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-request/)

### Issues

Expand Down
2 changes: 1 addition & 1 deletion packages/arcgis-rest-routing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ solveRoute({
// {routes: {features: [{attributes: { ... }, geometry:{ ... }}]}}
```

### [API Reference](https://esri.github.io/arcgis-rest-js/api/routing/)
### [API Reference](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-routing/)

### Issues

Expand Down

0 comments on commit b2d07c8

Please sign in to comment.