Jump to content


Using API to update test status

swarm API

  • Please log in to reply
1 reply to this topic

#1 PeteS

PeteS

    Advanced Member

  • Members
  • PipPipPip
  • 62 posts

Posted 30 September 2015 - 05:45 PM

I've tried all the different incantations I could think of for marking a warm review as "test passed":

curl -X POST -u "me:myPasswd" http://swarm.thefoundry.co.uk:1660/api/v1/reviews/94381/tests/pass

But I always get:

{"error":"Not Found"}

Could anyone please advise on the correct syntax to do this?

Thanks!

#2 briand

briand

    Advanced Member

  • Members
  • PipPipPip
  • 77 posts

Posted 06 October 2015 - 01:18 AM

I use the builtin test hooks to start up my testing. The URL that Swarm passes to the hook to mark the review as passed is something like this:

http://swarm.example.com/reviews/123456/tests/pass/12345678-ABCD-1234-CDEF-1234567890AB/


--
Brian



Also tagged with one or more of these keywords: swarm, API

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users