Use the API to activate the new views and library homepage

This article is for developers with a full understanding of how to work with our API. 

Important note about the API explorer
When you follow the link we provide to the API explorer, you'll see a red warning.
API_image01.png
The API itself is not deprecated. It's the Google API explorer that is deprecated. All the processes described in our API articles function correctly and safely if you use this Google API explorer. 

You can use the custom configuration flag to activate the new views and homepage on your entire domain or in individual libraries. Learn more about new views.

Important:
– To apply the flag at the domain level, you must be super administrator; to apply the flag at the library level, you must be library administrator or super administrator.
– This setting is available through the API only. It isn't available in the administration interface.
– Custom configurations at the library level take precedence over those set at the domain level. For example, if you set the flag as true at the domain level and false for one library, the new views and library homepage will be active in all libraries in your domain except the one in which you set it as false. 

Learn more: Use the API to check which custom configuration flags are set on your domain or library.

Automatically generated table of contents


Set the custom configuration at the domain level

1. As an AODocs super administrator, follow one of these links to the AODocs API:

  • US instance:

https://apis-explorer.appspot.com/apis-explorer/?base=https://ao-docs.appspot.com/api#s/domain/v1beta1/domain.configuration.set?flagName=newUIViewPage&_h=2&resource=%257B%250A++%2522configurationFlagValue%2522%253A+%2522TRUE%2522%250A%257D&

  • EU instance:

https://apis-explorer.appspot.com/apis-explorer/?base=https://aodocs-core-eu-1.ey.r.appspot.com/api#s/domain/v1beta1/domain.configuration.set?flagName=newUIViewPage&_h=2&resource=%257B%250A++%2522configurationFlagValue%2522%253A+%2522TRUE%2522%250A%257D&%20

Note: Dedicated instances have their own URLs. Learn more: What are AODocs instances?

2. Enter your domain name. 

3. Click Authorize and execute. The response is displayed in the lower part of the screen.

image01.png


Remove the custom configuration at the domain level

1. As an AODocs super administrator, follow one of these links to the AODocs API:

  • US instance:

https://apis-explorer.appspot.com/apis-explorer/?base=https://ao-docs.appspot.com/api#s/library/v1beta1/library.configuration.set?flagName=newUIViewPage&_h=1&resource=%257B%250A++%2522configurationFlagValue%2522%253A+%2522FALSE%2522%250A%257D&

Note: Dedicated instances have their own URLs. Learn more: What are AODocs instances?

2. Enter your domain name. 

3. Click Authorize and execute. The response is displayed in the lower part of the screen.


Set the custom configuration at the library level

1. As a library administrator, follow one of these link  to the AODocs API:

  • US instance:

https://apis-explorer.appspot.com/apis-explorer/?base=https://ao-docs.appspot.com/api#s/library/v1beta1/library.configuration.set?flagName=newUIViewPage&_h=2&resource=%257B%250A++%2522configurationFlagValue%2522%253A+%2522TRUE%2522%250A%257D&

  • EU instance:

https://apis-explorer.appspot.com/apis-explorer/?base=https://aodocs-core-eu-1.ey.r.appspot.com/api#s/library/v1beta1/library.configuration.set?flagName=newUIViewPage&_h=2&resource=%257B%250A++%2522configurationFlagValue%2522%253A+%2522TRUE%2522%250A%257D&

Note: Dedicated instances have their own URLs. Learn more: What are AODocs instances?

2. Enter the ID of the library in which you want to activate the custom configuration.
Learn how to identify the library ID

3. Click Authorize and execute. The response is displayed in the lower part of the screen.

image02.png


Remove the custom configuration at the library level

1. As a library administrator, follow one of these links  to the AODocs API:

  • US instance:

https://apis-explorer.appspot.com/apis-explorer/?base=https://ao-docs.appspot.com/api#s/library/v1beta1/library.configuration.set?flagName=newUIViewPage&_h=2&resource=%257B%250A++%2522configurationFlagValue%2522%253A+%2522TRUE%2522%250A%257D&

  • EU instance:

https://apis-explorer.appspot.com/apis-explorer/?base=https://aodocs-core-eu-1.ey.r.appspot.com/api#s/library/v1beta1/library.configuration.set?flagName=newUIViewPage&_h=1&resource=%257B%250A++%2522configurationFlagValue%2522%253A+%2522FALSE%2522%250A%257D&

Note: Dedicated instances have their own URLs. Learn more: What are AODocs instances?

2. Enter the ID of the library in which you want to activate the custom configuration.
Learn how to identify the library ID

3. Click Authorize and execute. The response is displayed in the lower part of the screen.

Was this article helpful? 0 out of 0 found this helpful
If you didn’t find what you were looking for, don’t hesitate to leave a comment!
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.