Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 863855 Details for
Bug 1064118
[RFE] [api] implement search
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
search API documentation
search-api.html (text/html), 902 bytes, created by
Igor Gnatenko
on 2014-02-16 20:54:28 UTC
(
hide
)
Description:
search API documentation
Filename:
MIME Type:
Creator:
Igor Gnatenko
Created:
2014-02-16 20:54:28 UTC
Size:
902 bytes
patch
obsolete
> <h3>Search for project</h3> > > <h4>URL:</h4> > <pre style="font-size:120%">/api/coprs/search/<project>/</pre> > <div>or</div> > <pre style="font-size:120%">/api/coprs/?search="<project>"</pre> > > <h4>URL parameters:</h4> > <ul> > <li><b>project</b> – The name of the project whose you'd like > to find</li> > </ul> > > <h4>Result:</h4> > <ul> > <li><b>"users"</b> – List of users in given format: > <ul> > <li><b>"name"</b> – Name of the user</li> > </ul> > </ul> > > <h4>Example call URL</h4> > <pre style="font-size:120%">https://copr.fedoraproject.org/api/coprs/search/tests/</pre> > > <h4>Example results</h4> > <pre> > { > "output": "ok", > "users": [ > { > "name": "ignatenkobrain" > }, > { > "name": "msuchy" > } > ] > } > </pre>
<h3>Search for project</h3> <h4>URL:</h4> <pre style="font-size:120%">/api/coprs/search/<project>/</pre> <div>or</div> <pre style="font-size:120%">/api/coprs/?search="<project>"</pre> <h4>URL parameters:</h4> <ul> <li><b>project</b> – The name of the project whose you'd like to find</li> </ul> <h4>Result:</h4> <ul> <li><b>"users"</b> – List of users in given format: <ul> <li><b>"name"</b> – Name of the user</li> </ul> </ul> <h4>Example call URL</h4> <pre style="font-size:120%">https://copr.fedoraproject.org/api/coprs/search/tests/</pre> <h4>Example results</h4> <pre> { "output": "ok", "users": [ { "name": "ignatenkobrain" }, { "name": "msuchy" } ] } </pre>
View Attachment As Raw
Actions:
View
Attachments on
bug 1064118
: 863855