From dev-return-32052-apmail-nutch-dev-archive=nutch.apache.org@nutch.apache.org Wed Oct 28 03:30:28 2015 Return-Path: X-Original-To: apmail-nutch-dev-archive@www.apache.org Delivered-To: apmail-nutch-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5D01518D4C for ; Wed, 28 Oct 2015 03:30:28 +0000 (UTC) Received: (qmail 81620 invoked by uid 500); 28 Oct 2015 03:30:28 -0000 Delivered-To: apmail-nutch-dev-archive@nutch.apache.org Received: (qmail 81574 invoked by uid 500); 28 Oct 2015 03:30:28 -0000 Mailing-List: contact dev-help@nutch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nutch.apache.org Delivered-To: mailing list dev@nutch.apache.org Received: (qmail 81545 invoked by uid 99); 28 Oct 2015 03:30:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2015 03:30:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D24C62C1F56 for ; Wed, 28 Oct 2015 03:30:27 +0000 (UTC) Date: Wed, 28 Oct 2015 03:30:27 +0000 (UTC) From: "Sujen Shah (JIRA)" To: dev@nutch.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (NUTCH-2152) CommonCrawl dump via Service endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NUTCH-2152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sujen Shah updated NUTCH-2152: ------------------------------ Attachment: NUTCH-2152.git.patch Here is the first iteration of the patch. The commoncrawl dump via the service endpoint can be called in the following manner: 1. POST /services/commoncrawldump Request data - application/json { "confId":"default", "crawlId":"crawl01", "args":{"mimetypes":["text/html", "", .....], other params} } Response contains the path of the created resource (type:text/plain) 2. To get all the dump paths for a particular crawlId, you can call GET /services/commoncrawldump/{crawlId} Response: application/json { "dumpPaths":[......list of paths.....] } > CommonCrawl dump via Service endpoint > ------------------------------------- > > Key: NUTCH-2152 > URL: https://issues.apache.org/jira/browse/NUTCH-2152 > Project: Nutch > Issue Type: Sub-task > Components: REST_api > Affects Versions: 1.12 > Reporter: Sujen Shah > Assignee: Sujen Shah > Labels: memex > Fix For: 1.12 > > Attachments: NUTCH-2152.git.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)