# DropDownList + Data API

**URL:** <https://discourse.nodered.org/t/dropdownlist-data-api/22829>\
**Category:** Developing Nodes\
**Created:** [9 March 2020 07:35 UTC](https://discourse.nodered.org/t/dropdownlist-data-api/22829 "2020-03-09T07:35:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [9 March 2020 17:36 UTC](https://discourse.nodered.org/t/dropdownlist-data-api/22829/5 "2020-03-09T17:36:51Z")

</div>

If you click on "Edit Source Files", you will see some drop-downs.

In addition, I use API's calls to populate the list of libraries that you see when you click on "Manage front-end libraries".

Check out the html file and you will see the code that calls the API's.

> [@taminhhienmor](#):
>
> Can I get oauth token from file .JS?

You will need to explain more I'm afraid. What are you trying to achieve? In the Node-RED editor, authentication and authorisation are handled internally. If you specify an API on the admin server, you can pass an authentication level that users must possess in order to be able to access the API. Have a look at uibuilder's js file, the API's are defined at the end.

However, you should note a recent thread in the forum about whether or not the admin authorisation works the way it is supposed to as a few of us have experienced odd issues.

> [@Uibuilder uibindex not working](https://discourse.nodered.org/t/uibuilder-uibindex-not-working/22116):
>
> I'm running uibuilder on ubuntu installed on a user account $home/.node-red/uibuilder When I tried to access uibindex via Show Detailed Information icon, I got this error msg Unauthorized May I know how do I troubleshoot this issue ? Thanks

---

_[View the full topic](https://discourse.nodered.org/t/dropdownlist-data-api/22829)._
