You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/11 16:06:42 UTC

[jira] [Commented] (TC-227) TO API - Allow user to pull jobs by ds or user

    [ https://issues.apache.org/jira/browse/TC-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15964576#comment-15964576 ] 

ASF GitHub Bot commented on TC-227:
-----------------------------------

GitHub user mitchell852 opened a pull request:

    https://github.com/apache/incubator-trafficcontrol/pull/453

    [TC-227] - adds the ability to fetch jobs thru api

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mitchell852/incubator-trafficcontrol tc-227

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafficcontrol/pull/453.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #453
    
----
commit e0f872ff702f0672979f832163173f4e74eb2c20
Author: Jeremy Mitchell <mi...@gmail.com>
Date:   2017-04-11T15:55:15Z

    loads job fixtures

commit ae2dd0ebef58088f381507081b51475665cb000d
Author: Jeremy Mitchell <mi...@gmail.com>
Date:   2017-04-11T16:00:57Z

    adds routes to fetch jobs / job

----


> TO API - Allow user to pull jobs by ds or user
> ----------------------------------------------
>
>                 Key: TC-227
>                 URL: https://issues.apache.org/jira/browse/TC-227
>             Project: Traffic Control
>          Issue Type: New Feature
>          Components: Traffic Ops API
>    Affects Versions: 2.1.0
>            Reporter: Jeremy Mitchell
>            Assignee: Jeremy Mitchell
>            Priority: Minor
>
> Currently, you can fetch jobs (purge jobs) by current user only. Add the ability to fetch:
> - all jobs (optionally filtered by ds or user)
> - one job
> so
> GET /api/version/jobs[?ds=dsId|?user=userId]
> GET /api/version/jobs/:id



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)