From b873d93bf62bcff3e22bb4173b8cdb0f0d15557e Mon Sep 17 00:00:00 2001 From: Niko Storni Date: Mon, 8 Jul 2019 20:00:10 +0200 Subject: [PATCH] .io to .com --- .travis.yml | 2 +- README.md | 16 ++++++++-------- docs/index.html | 10 +++++----- docs/swagger.json | 6 +++--- package.json | 2 +- server/utils/chainquery/index.js | 4 ++-- server/utils/importer/index.js | 2 +- swagger.json | 6 +++--- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7dbfb34..4e9e7f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,4 +3,4 @@ node_js: - "node" notifications: email: false - webhooks: https://lighthouse.lbry.io/autoupdate + webhooks: https://lighthouse.lbry.com/autoupdate diff --git a/README.md b/README.md index b153060..2045661 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![MIT licensed](https://img.shields.io/dub/l/vibe-d.svg?style=flat)](https://github.com/lbryio/lighthouse/blob/master/LICENSE) Lighthouse is a lightning-fast advanced search engine API for publications on the lbrycrd with autocomplete capabilities. -The official lighthouse instance is live at https://lighthouse.lbry.io +The official lighthouse instance is live at https://lighthouse.lbry.com ### What does Lighthouse consist of? @@ -14,11 +14,11 @@ The official lighthouse instance is live at https://lighthouse.lbry.io ### API Documentation / Usage example To make a simple search by string: ``` -https://lighthouse.lbry.io/search?s=stringtosearch +https://lighthouse.lbry.com/search?s=stringtosearch ``` To get autocomplete suggestions: ``` -https://lighthouse.lbry.io/autocomplete?s=stringtocomp +https://lighthouse.lbry.com/autocomplete?s=stringtocomp ``` [The full API documentation](https://lbryio.github.io/lighthouse/) @@ -39,26 +39,26 @@ git clone https://github.com/lbryio/lighthouse ``` >Install dependencies: ``` -yarn install --production=false +npm run install --production=false ``` >Build and run Lighthouse: ``` -yarn run prod +npm run prod ``` >You are now up and running! You can connect to lighthouse at http://localhost:50005, api documentation is [here](https://lbryio.github.io/lighthouse/). Lighthouse will continue syncing in the background. It usually takes ~15 minutes before all claims are up to date in the database. ## Contributing -Contributions to this project are welcome, encouraged, and compensated. For more details, see [lbry.io/faq/contributing](https://lbry.io/faq/contributing) +Contributions to this project are welcome, encouraged, and compensated. For more details, see [lbry.com/faq/contributing](https://lbry.com/faq/contributing) ## License This project is MIT Licensed © [LBRYio, Filip Nyquist](https://github.com/lbryio) ## Security -We take security seriously. Please contact security@lbry.io regarding any security issues. Our PGP key is [here](https://keybase.io/lbry/key.asc) if you need it. +We take security seriously. Please contact security@lbry.com regarding any security issues. Our PGP key is [here](https://keybase.io/lbry/key.asc) if you need it. ## Contact -The primary contact for this project is [@tiger5226](https://github.com/tiger5226) (beamer@lbry.io) +The primary contact for this project is [@tiger5226](https://github.com/tiger5226) (beamer@lbry.com) diff --git a/docs/index.html b/docs/index.html index c9bc11c..bc65976 100644 --- a/docs/index.html +++ b/docs/index.html @@ -269,7 +269,7 @@ function at(e){return getComputedStyle(e)}function st(e,t){for(var n in t){var r 55.627 l 55.6165,55.627 -231.245496,231.24803 c -127.185,127.1864 -231.5279,231.248 -231.873,231.248 -0.3451,0 -104.688, -104.0616 -231.873,-231.248 z - " fill="currentColor">

Lighthouse (0.0.1)

Download OpenAPI specification:Download

LBRY Inc: filip@lbry.io URL: https://lbry.io License: MIT

Lighthouse is a search engine for the LBRY blockchain based on elasticsearch, chainquery and Node.JS.

+ " fill="currentColor">

Lighthouse (0.0.1)

Download OpenAPI specification:Download

LBRY Inc: filip@lbry.com URL: https://lbry.com License: MIT

Lighthouse is a search engine for the LBRY blockchain based on elasticsearch, chainquery and Node.JS.

Search API

Returns all the searches matching the search query

Returns all the searches matching the search query.

query Parameters
s
required
string

The search text

channel
string

The channel to search, if none, will return all search results

@@ -280,14 +280,14 @@ function at(e){return getComputedStyle(e)}function st(e,t){for(var n in t){var r
mediaType
string

Filter by media type, can be audio, video, image, application, text or cad.

claimType
string

Return channels or files only, value can be 'channel' or 'file'.

Responses

200

The search API returns an array of the found matching search items.

-
get /search
https://lighthouse.lbry.io/search

Response samples

application/json
Copy
Expand all Collapse all
[
  • {
    }
]

Autocomplete API

Returns an array of autocompleted strings.

Returns an array of autocompleted strings.

+
get /search
https://lighthouse.lbry.com/search

Response samples

application/json
Copy
Expand all Collapse all
[
  • {
    }
]

Autocomplete API

Returns an array of autocompleted strings.

Returns an array of autocompleted strings.

query Parameters
s
required
string

The string to be autocompleted.

Responses

200

The autocomplete API returns an array of the found matching autocompleted strings.

-
get /autocomplete
https://lighthouse.lbry.io/autocomplete

Response samples

application/json
Copy
Expand all Collapse all
[
  • "lbryisawesome"
]

Status API

Returns the current status of the lighthouse insta

Returns the current status of the lighthouse instance.

+
get /autocomplete
https://lighthouse.lbry.com/autocomplete

Response samples

application/json
Copy
Expand all Collapse all
[
  • "lbryisawesome"
]

Status API

Returns the current status of the lighthouse insta

Returns the current status of the lighthouse instance.

Responses

200

Returns the current status of the lighthouse instance.

-
get /status
https://lighthouse.lbry.io/status

Response samples

application/json
Copy
Expand all Collapse all
{
  • "spaceUsed": "632.3MB",
  • "claimsInIndex": 97615085,
  • "totSearches": 100000
}
+
get /status
https://lighthouse.lbry.com/status

Response samples

application/json
Copy
Expand all Collapse all
{
  • "spaceUsed": "632.3MB",
  • "claimsInIndex": 97615085,
  • "totSearches": 100000
}