HomePhabricator

Implement countdown.search and countdown.edit

Description

Implement countdown.search and countdown.edit

Summary: adds new conduit methods for countdown.edit and countdown.search

Test Plan:
Search:

1[amckinley phabricator]$ echo '{"queryKey": "upcoming"}' | arc call-conduit --conduit-uri http://local.phacility.com/ --conduit-token <snip> countdown.search | json_pp
2{
3 "error" : null,
4 "errorMessage" : null,
5 "response" : {
6 "cursor" : {
7 "order" : null,
8 "before" : null,
9 "limit" : 100,
10 "after" : null
11 },
12 "maps" : [],
13 "query" : {
14 "queryKey" : "upcoming"
15 },
16 "data" : [
17 {
18 "phid" : "PHID-CDWN-nqqj6rv6iyaq5s4nt3z3",
19 "fields" : {
20 "spacePHID" : null,
21 "dateModified" : 1492110524,
22 "title" : "foobar",
23 "epoch" : "1492114080",
24 "policy" : {
25 "view" : "users",
26 "edit" : "users"
27 },
28 "dateCreated" : 1492110524,
29 "description" : "testing 123"
30 },
31 "attachments" : [],
32 "type" : "CDWN",
33 "id" : 7
34 }
35 ]
36 }
37}

Edit:
1[amckinley phabricator]$ echo '{"objectIdentifier": "PHID-CDWN-nqqj6rv6iyaq5s4nt3z3", "transactions": [{"type": "name", "value": "Assemble in the barnyard"}]}' | arc call-conduit --conduit-uri http://local.phacility.com/ --conduit-token <snip> countdown.edit | json_pp
2{
3 "response" : {
4 "object" : {
5 "id" : "7",
6 "phid" : "PHID-CDWN-nqqj6rv6iyaq5s4nt3z3"
7 },
8 "transactions" : []
9 },
10 "errorMessage" : null,
11 "error" : null
12}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T12524

Differential Revision: https://secure.phabricator.com/D17679

Details

Provenance
amckinleyAuthored on Apr 13 2017, 7:17 PM
amckinleyPushed on Apr 13 2017, 7:57 PM
Reviewer
epriestley
Differential Revision
D17679: Implement countdown.search and countdown.edit
Parents
rP4189eb810b4c: Use violet with not-verified user tags
Branches
Unknown
Tags
Unknown
Build Status
Buildable 16453
Build 21899: Run Core Tests