Project

alfresco

0.0
No release in over 3 years
Low commit activity in last 3 years
**Search API** Provides access to the search features of Alfresco Content Services.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 4.4.6, ~> 4.4
>= 0.2.12, ~> 0.2
>= 0.2.16, ~> 0.2
>= 4.1.2, ~> 4.1
>= 3.6.0, ~> 3.6
>= 3.0.1, ~> 3.0
>= 1.24.3, ~> 1.24

Runtime

>= 2.1.0, ~> 2.1
>= 1.0.1, ~> 1.0
 Project Readme

alfresco

Alfresco - the Ruby gem for the Alfresco Content Services REST API

Search API Provides access to the search features of Alfresco Content Services.

This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.RubyClientCodegen

Installation

Add this to the Gemfile:

gem 'alfresco', '~> 1.0.0'

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'alfresco'

# Setup authorization
Alfresco.configure do |config|
  # Configure HTTP basic authorization: basicAuth
  config.host = 'YOUR HOST'
  config.username = 'YOUR USERNAME'
  config.password = 'YOUR PASSWORD'
end

api_instance = Alfresco::SearchApi.new

query_body = Alfresco::SearchRequest.new # SearchRequest | Generic query API


begin
  #Searches Alfresco
  result = api_instance.search(query_body)
  p result
rescue Alfresco::ApiError => e
  puts "Exception when calling SearchApi->search: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://localhost/alfresco/api/-default-/public/search/versions/1

Class Method HTTP request Description
Alfresco::SearchApi search POST /search Searches Alfresco

Documentation for Models

Documentation for Authorization

basicAuth

  • Type: HTTP basic authentication