Dev:APIlist

Aus YaCyWiki
Wechseln zu: Navigation, Suche

Inhaltsverzeichnis

List Export

This servlet is used to export the public blacklists from a peer. Each peer can create blacklists for crawling, searching and importing from remote peers and each peer can select to set such blacklists to a 'public' state. If a blacklist is public, it can be retrieved here.

Operations performed when the servlet is called

The blacklist is exported

Servlet Address

The servlet path is /yacy/list.html. The full URL is http://<peer-IP>:<peer-port><servlet-path>.

Properties in the http header

The caller must obey the http header rules.

Properties in the http post-arguments

Calls to the servlet can be made using a GET or POST operation. The properties are:

  • col=black there is currently only the blacklist export supported. This property may be set to other values, but at this time it must be set to 'black'.

Result

The returned document contains a list of blacklist entries.

Example Usage

http://localhost:8090/yacy/list.html?col=black

Meine Werkzeuge
Namensräume
Varianten
Aktionen
Gemeinschafts-Portal
Navigation
Werkzeuge