Hi everyone!
I’m Jueun from the API team at Asana and I have a few updates to share. With the launch of nested portfolios, users in the webapp are able to add or remove portfolios (in addition to projects) to/from a parent portfolio. This functionality will now reflected in the Asana API. The POST /portfolios/{portfolio_gid}/addItem
and POST /portfolios/{portfolio_gid}/removeItem
endpoints can take either a portfolio or project gid as the item
parameter and the GET /portfolios/{portfolio_gid}/items
endpoint has been updated to return a list of compact objects whose resource_type can now be either projects or portfolios. Please let us know if you have any questions or feedback!