Methods

Search for articles
  • GET: curl https://api.elev.io/v1/search/<lang_code>?query=<search_terms>
  • URL parameters:
  • Query string parameters:
    • query: Search keywords to look for content
    • Pagination:
      • page: Current page (defaults to 1)
      • rows: Rows per page (defaults to 8)
    • Access:
      • user_email: String of user's email address (optional)
      • group: Array of user's groups (optional)
      • hash: String of user hash (optional)
      • url: The domain or page from which the request originates
  • For details on the above access query string parameters, refer to this article.
  • Sample JSON response body:
 {
    "queryTerm": "article",
    "totalResults": 44,
    "totalPages": 6,
    "currentPage": 1,
    "count": 8,
    "results": [
      {
        "id": "81547",
        "title": "Linking from one <em>article</em> to another <em>article</em> or module"
      },
      {
        "id": "81509",
        "title": "Creating an <em>Article</em>"
      },
      {
        "id": "81510",
        "title": "Deleting an <em>Article</em>"
      },
      {
        "id": "81544",
        "title": "What are Tagged <em>Articles?</em>"
      },
      {
        "id": "81661",
        "title": "The <em>Article</em> Element"
      },
      {
        "id": "81667",
        "title": "Reordering <em>Articles</em>"
      },
      {
        "id": "81521",
        "title": "Single <em>Article</em> Module"
      },
      {
        "id": "81549",
        "title": "Send a link to someone to open an <em>article</em>"
      }
    ]
  }