<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ticket search results</title><link>https://forge-allura.apache.org/p/allura/tickets/</link><description>You searched for labels:"api"</description><language>en</language><lastBuildDate>Thu, 10 Oct 2024 14:27:16 -0000</lastBuildDate><item><title>update RAML versions</title><link>https://forge-allura.apache.org/p/allura/tickets/8468/</link><description>The Allura/docs/api-rest/ files are using older versions of RAML (and json schema too).  We should update those so we can use more recent raml tooling like https://github.com/raml2html/raml2html</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 10 Oct 2024 14:27:16 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/8468/</guid></item><item><title>API to list repos</title><link>https://forge-allura.apache.org/p/allura/tickets/8450/</link><description>This would be helpful for a CI integration, for example</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Fri, 23 Sep 2022 16:10:23 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/8450/</guid></item><item><title>API to create projects</title><link>https://forge-allura.apache.org/p/allura/tickets/8380/</link><description>Refactor project-import.py so that functionality can be used via a REST API</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Mon, 17 May 2021 15:07:02 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/8380/</guid></item><item><title>API for merge requests</title><link>https://forge-allura.apache.org/p/allura/tickets/8235/</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Mon, 17 Sep 2018 22:16:48 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/8235/</guid></item><item><title>REST API for User Activity does not work due to missing attribute</title><link>https://forge-allura.apache.org/p/allura/tickets/8092/</link><description>Eg. https://forge-allura.apache.org/rest/u/brondsem/activity returns 500

This is due to line 227 since shortname attribute is not set for Profile tool. What should I do to solve it?

I'm not sure what needs to be done.

~~~
 'following': data['following'],
                   'followee': {
                       'activity_name': data['followee'].shortname,
                       'activity_url': data['followee'].url(),
                       'activity_extras': {},
~~~</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rohan Verma</dc:creator><pubDate>Mon, 11 Jul 2016 15:10:45 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/8092/</guid></item><item><title>Add author profile picture information to the post inside response from the API</title><link>https://forge-allura.apache.org/p/allura/tickets/8077/</link><description>I was experimenting with the API on https://jsfiddle.net/r4jg82fr/ and found that it would be useful to supply the profile photo url in the response(eg https://forge-allura.apache.org/rest/p/allura/tickets/_discuss/thread/2abc9fd7/) along with each post. Since, getting it via another ajax such as https://forge-allura.apache.org/rest/u/brondsem call would be expensive. 

Also, users who have set the image to be fetched from gravatar have it set to null. (eg. https://forge-allura.apache.org/rest/u/rhnvrm)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rohan Verma</dc:creator><pubDate>Mon, 23 May 2016 19:07:22 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/8077/</guid></item><item><title>Update Allura api docs with new admin endpoints</title><link>https://forge-allura.apache.org/p/allura/tickets/8045/</link><description>Several endpoints have been modified or added with the merge of [#7919].  We should update and republish our docs to reflect those changes.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Heith Seewald</dc:creator><pubDate>Fri, 15 Jan 2016 19:15:44 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/8045/</guid></item><item><title>API for current site notification</title><link>https://forge-allura.apache.org/p/allura/tickets/8044/</link><description>Expose the current site notification (i.e. `ThemeProvider.get_site_notification` logic) as an API.

The `request.cookies` might be able to stay as it is, but likely should support those values being passed in as regular API params.  The `response.set_cookie` probably should be returned as response values.

Make sure the RAML api docs are updated.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Wed, 27 Jan 2016 17:43:01 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/8044/</guid></item><item><title>Move the _nav.json endpoint into the /rest/ namespace</title><link>https://forge-allura.apache.org/p/allura/tickets/7968/</link><description>We should move ** /p/{project}/_nav.json** to **/rest/p/{project}/_nav.json** and update our RAML docs to include this endpoint.

We also may want to remove the .json or rename the endpoint to be more consistant with the rest of our endpoints.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Heith Seewald</dc:creator><pubDate>Fri, 14 Aug 2015 14:22:59 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/7968/</guid></item><item><title>Update Api to support JSON for POST endpoints</title><link>https://forge-allura.apache.org/p/allura/tickets/7966/</link><description>Update POST api endpoints to accept json in addition to x-www-form-urlencoded.   The RAML docs will need to be updated as well.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Heith Seewald</dc:creator><pubDate>Fri, 14 Aug 2015 14:10:31 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/7966/</guid></item><item><title>Improve git/hg/svn endpoints for rest api</title><link>https://forge-allura.apache.org/p/allura/tickets/7965/</link><description> Our rest api endpoints for git/hg/svn need to be cleaned up. Currently they are too simplistic (svn isn't even hooked up).

Our RAML api documentation should be updated as well.  It might be easier to update the RAML first to ensure a consistant and reusable interface that can then be implemented in code.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Heith Seewald</dc:creator><pubDate>Fri, 20 May 2016 21:04:45 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/7965/</guid></item><item><title>API endpoints error when using access_token as URL param</title><link>https://forge-allura.apache.org/p/allura/tickets/7953/</link><description>`TypeError: has_access() got an unexpected keyword argument 'access_token'`

This may also be true for many of our other API endpoints.  We should just be able to add `**kw` to the python controller methods.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Mon, 24 Aug 2015 14:29:36 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/7953/</guid></item><item><title>Limit the "_discuss" results from the tickets api.</title><link>https://forge-allura.apache.org/p/allura/tickets/7943/</link><description>Currently, [this](https://forge-allura.apache.org/rest/p/allura/tickets/_discuss/) api endpoint for allura returns a 200k line (when formatted) json responce. We should evaluate the need for the existance of the endpoint.  If we need it, we should paginate the results.
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Heith Seewald</dc:creator><pubDate>Mon, 05 Oct 2015 13:59:37 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/7943/</guid></item><item><title>Publish our RAML files</title><link>https://forge-allura.apache.org/p/allura/tickets/7939/</link><description>As followup to [#6797] we should find some way to publish our RAML files.  E.g. as static HTML pages, and/or as a live demo so people can try it out.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Mon, 10 Aug 2015 14:28:26 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/7939/</guid></item><item><title>Enable CORS access to rest APIs</title><link>https://forge-allura.apache.org/p/allura/tickets/7927/</link><description>Original request: https://sourceforge.net/p/forge/feature-requests/426/

May need `.ini` settings if this is something that some sites would want and not others.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Mon, 27 Jul 2015 14:35:17 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/7927/</guid></item><item><title>Tracker stats 500 error when accessed via the allura-api</title><link>https://forge-allura.apache.org/p/allura/tickets/7875/</link><description>works: https://forge-allura.apache.org/p/allura/tickets/stats/
does not work: https://forge-allura.apache.org/rest/p/allura/tickets/stats/

The rest version of a tracker's stats page expects `/rest/p/allura/tickets/`**{ticket_num}**.

The endpoint `/rest/p/allura/tickets/`**stats** causes the rest handler to use `stats` as the `ticket_num` -- resulting in a 500 error.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Heith Seewald</dc:creator><pubDate>Thu, 23 Apr 2015 18:51:19 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/7875/</guid></item><item><title>Support Authorization header for OAuth </title><link>https://forge-allura.apache.org/p/allura/tickets/7840/</link><description>Most of the work was done in [#7832]. Just need to update it according to spec: [discussion](https://forge-allura.apache.org/p/allura/tickets/7832/#3e53)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Igor Bondarenko</dc:creator><pubDate>Thu, 20 Aug 2015 22:06:09 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/7840/</guid></item><item><title>APIs to manage webhooks</title><link>https://forge-allura.apache.org/p/allura/tickets/7832/</link><description>We should support APIs to manage webhooks so that 3rd-party sites can use oauth to configure a webhook on behalf of a user.  This is a common practice to make it easier for the user.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:06:09 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/7832/</guid></item><item><title>Return more fields in ticket API search results</title><link>https://forge-allura.apache.org/p/allura/tickets/7789/</link><description>On ticket search API results, only the "summary" and "ticket_num" fields are present.  We should include many more, if not all fields that solr has available.  That will allow API clients to get information in a single request instead of fetching every individual ticket to get whatever data is needed.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:00 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/7789/</guid></item><item><title>API for has_access</title><link>https://forge-allura.apache.org/p/allura/tickets/7633/</link><description>It would be useful to have an API to run `has_access` permission checks so that 3rd-party clients can rely on Allura permissions.   I think that it would be an API per-tool and per-project including neighborhood-projects (whose API needs some fixing) and that you would need 'admin' access on the project to use the API.  It could take a username and role and return a true/false result.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:06:09 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/7633/</guid></item><item><title>API cleanup: rename `app.has_access` to indicate it is mail-specific </title><link>https://forge-allura.apache.org/p/allura/tickets/7326/</link><description>Almost all `has_access` usage is from helpers and security packages.  The `app.has_access` method is used for mail tasks:

`Allura/allura/tasks/mail_tasks.py:59:                    if not app.has_access(c.user, userpart):`

And documented in the first paragraph of https://forge-allura.apache.org/docs/platform_tour.html#email-integration

I think it should be named something different (and fall back to `has_access` for backwards compatibility)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Mon, 09 Mar 2015 16:00:48 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/7326/</guid></item><item><title>DOAP API for projects</title><link>https://forge-allura.apache.org/p/allura/tickets/7208/</link><description>Create a [DOAP](https://github.com/edumbill/doap/wiki) API endpoint for allura projects.  I think the URL should be /rest/p/projectname?doap (open to better suggestions).  It should be XML that is similar in format to SourceForge (classic) DOAP files like https://sourceforge.net/api/project/name/vivo/doap as much as possible.  A number of fields in that are not applicable to Allura, so just don't include them.  It is okay for Allura DOAP to continue to use some of the "sf" namespace elements like environment, database, etc (those are all the trove types of a project), as well as sf:awarded (for awards, use the current Allura award system available via neighborhood admin pages).  `&lt;maintainer&gt;` is for each project Admin and `&lt;developer&gt;` is for each Developer on the project.

In addition to the basics, each tool should be able provide its own XML/RDF data to include.  For example, SourceForge's internal mailman tool could provide `&lt;mailing-list&gt;` entries and Files tool could provide a `&lt;download-page&gt;` entry.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:00 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/7208/</guid></item><item><title>Better ordinal options for install tool API</title><link>https://forge-allura.apache.org/p/allura/tickets/6958/</link><description>The install_tool API doesn't have any options for setting the order of a new tool.  (And the hard-coded calculation for 'ordinal' uses `len(installable_tools)` which isn't correct so the ordinal ends up kind of random).

Options I think we should have:

* last: make it last
* first: make it first
* alpha_tool: sort it alphabetically amidst the tools of that type already installed.  I think it's fair to assume the rest of the tools are already sorted, so can just loop through them until you find one where the name comes later, and then insert before that.

There are lots of possibilities, but alpha_tool is primary use case at the moment.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:10 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/6958/</guid></item><item><title>Include bulk_export_download_instructions in export API result</title><link>https://forge-allura.apache.org/p/allura/tickets/6920/</link><description>The `bulk_export_download_instructions` text that is included in emails after an export should also be included in the success API result for a bulk export.  Then users of the API will have instructions handy and not have to do a manual export to get them via email.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Sun, 29 Mar 2015 18:10:16 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/6920/</guid></item><item><title>Export API's tools params should be optional</title><link>https://forge-allura.apache.org/p/allura/tickets/6919/</link><description>Make the Tools parameter when scheduling an export job optional and export all existing when it is missing, otherwise the backup Script needs to be changed every time a tool is added and manual things to do usually are forgotten regularly.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Mon, 30 Jun 2014 20:33:52 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/6919/</guid></item></channel></rss>