• Register

Labels

Labels make it easy for you to change headlines, labels, and messages in your Portal without modifying the entire layout. To customize labels: 0. Log in to the API Control Center. 0. To to `Manage > Portal` and click on `Portal Settings`. 0. Add your labels under the `Inline Javascript` section in the `Body JavaScript` field. ## The Labels Default values are shown below. ```js // My Apps // The page displaying a users registered applications. portalOptions.labels.accountApps: { heading: 'My Apps', // heading noApps: 'You don\'t have any apps yet.', // The message to display when a user has no apps }; // My Account: Email // The page where users can change their Mashery email address. portalOptions.labels.accountEmail: { heading: 'Change Email' // The heading }; // My Account: Email Success // The layout for the page confirming email change was successful. portalOptions.labels.accountEmailSuccess: { heading: 'Email Successfully Changed', // the heading main: '

An email confirming your change has been sent to the address you provided with your username. Please check your spam folder if you don\'t see it in your inbox.

' // The main content }; // My Keys // The page displaying a users API keys. portalOptions.labels.accountKeys: { heading: 'My API Keys', // The heading noKeys: 'You don\'t have any keys yet.', // The message to display when a user has no keys noPlanKeys: 'You have not been issued keys for this API.', // The message to display when a user has no keys for a specific plan }; // My Account // The page where users can manage their Mashery Account details. portalOptions.labels.accountManage: { heading: 'Manage Account', // Heading subheading: 'Account Information' // The "Account Information" subheading }; // Account Navigation // Labels for the account navigation menu. portalOptions.labels.accountNav: { // Navigation Labels keys: 'Keys', // The account nav label for "My Keys" apps: 'Applications', // The account nav label for "My Applications" account: 'Manage Account', // The account nav label for "Manage Account" changeEmail: 'Change Email', // The account nav label for "Change Email" changePassword: 'Change Password', // The account nav label for "Change Password" viewProfile: 'View My Public Profile', // The account nav label for "View My Profile" removeMembership: 'Remove Membership from {{mashery.area};};' // The account nav label for "Remove Membership" }; // My Account: Password // The page where users can change their Mashery password. portalOptions.labels.accountPassword: { heading: 'Change Password' // The heading }; // My Account: Password Success // The layout for the page after users have successfully changed their password. portalOptions.labels.accountPasswordSuccess: { heading: 'Password Successfully Changed', // The heading main: '

An email confirming your change has been sent to the address you provided with your username. If you use this account on other Mashery powered portals, remember to use your new password.

' // The main content }; // Add App APIs // Add APIs to an application. portalOptions.labels.appAddAPIs: { heading: 'Add APIs to this Application', application: 'Application:', created: 'Created:', api: 'API:', key: 'Key:', subheading: 'Add APIs' }; // App Add APIs: Success // API keys successfully added to an app. portalOptions.labels.appAddAPIsSuccess: { heading: 'New API Keys Issued', // The heading // The message main: '

An email has been sent to you with your key and application details. You can also view them at any time from the My Account page.

' + '

To get started using your API keys, dig into our documentation. We look forward to seeing what you create!

', }; // Delete App // The page to delete an application. portalOptions.labels.appDelete: { heading: 'Delete Your Application', application: 'Application:', created: 'Created:', api: 'API:', key: 'Key:', subheading: 'Confirm Deletion', main: '

Are you sure you want to delete this application and all of its keys?

', confirm: 'Are you really sure you want to delete this application?' }; // App Edit // The edit application page. portalOptions.labels.appEdit: { heading: 'Edit Your Application', main: '

Edit your details using the form below.

' }; // App Registration // The page to register an application. portalOptions.labels.appRegister: { heading: 'Register an Application', // The heading main: '

Get a key and register your application using the form below to start working with our APIs.

' // The message shown above the form }; // App Registration Success // The page shown after an app has been successfully registered. portalOptions.labels.appRegisterSuccess: { heading: 'Your application was registered!', // The heading // The message main: '

An email has been sent to you with your key and application details. You can also view them at any time from the My Account page.

' + '

To get started using your API keys, dig into our documentation. We look forward to seeing what you create!

', }; // Blog: All Posts // The page displaying all of your blog posts. portalOptions.labels.blogAll: { blogTitle: 'The {{mashery.area}} Developer Blog', // The title of the blog area readMore: 'Read more' // The "read more" link for excerpts } // Contact // The contact form page. portalOptions.labels.contact: { heading: 'Contact Us', // The heading main: '

Contact us using the form below.

' // The message shown above the form }; // Contact Success // The page shown after a contact form is successfully submitted. portalOptions.labels.contactSuccess: { heading: 'Thanks for your submission!', // The heading main: 'Your message will be forwarded to the appropriate group.' // The message }; // Documentation // The layout for API documentation. portalOptions.labels.docs: { subheading: 'In the Docs' }; // 404 // The 404 page. portalOptions.labels.fourOhFour: { heading: 'Unable to find this page', // The heading main: '

We\'re unable to find this page. Sorry! Please check the URL, or contact us to report a broken link.

' // The message }; // IO Docs // The IO Docs page. portalOptions.labels.ioDocs: { heading: 'Interactive API', // The heading main: '

Test our API services with IO-Docs, our interactive API documentation.

' // The message displayed before the content }; // Join // The page shown to existing Mashery users signing in to a new area. portalOptions.labels.join: { heading: 'Join {{mashery.area};};', // The heading main: '

Since you already have a Mashery account you don\'t have to register again, but we would like to know a little more about you. Please fill out the additional information below.

' // The message shown above the form }; // Join: Success // The page shown after an existing Mashery user successfully joins a new area. portalOptions.labels.joinSuccess: { heading: 'Registration Successful', // The heading main: '

You have successfully registered as {{content.main};};. Read our API documentation to get started. You can view your keys and applications under My Account.

' // The success message }; // Key Activity // The page to view key activity reports. portalOptions.labels.keyActivity: { heading: 'Key Activity', api: '{{content.api};};', application: 'Application:', key: 'Key:', secret: 'Secret:', status: 'Status:', created: 'Created:' }; // Delete Key // The page to delete an API key. portalOptions.labels.keyDelete: { heading: 'Delete Your Key', api: '{{content.api};};', application: 'Application:', key: 'Key:', secret: 'Secret:', status: 'Status:', created: 'Created:', subheading: 'Confirm Deletion', main: '

Are you sure you want to delete this key?

', confirm: 'Are you really sure you want to delete this key?' }; // Logout Success // The page shown after a user successfully logs out of the Portal. portalOptions.labels.logout: { heading: 'Signed Out', // The heading main: 'You have successfully signed out. Come back soon!' // The message }; // Logout Fail // The page shown when a logout was unsuccessful. portalOptions.labels.logoutFail: { heading: 'Sign Out Failed', // The heading main: 'Your attempt to sign out failed. Please try again.' // The message }; // Lost Password Request // The page to request a password reset. portalOptions.labels.lostPassword: { heading: 'Recover Your Password', // The heading main: '

Enter the email address and username that you registered with and we will send you a link to reset your password.

' // The message shown above the form }; // Lost Password Reset // The page shown after a password reset email is sent to the user. portalOptions.labels.lostPasswordReset: { heading: 'Email Sent', // The heading main: 'An email has been sent to the address you provided. Click on the link in the e-mail to reset your password. Please check your spam folder if you don\'t see it in your inbox.' // The messsage }; // Lost Username Request // The page to request a username recovery. portalOptions.labels.lostUsername: { heading: 'Recover Your Username', // The heading main: '

Enter the email address you used to register and we will send you an email with your username.

' // The message shown above the form }; // Lost Username Reset // The page shown after a username reset email is sent to the user. portalOptions.labels.lostUsernameReset: { heading: 'Email Sent', // The heading main: 'An email has been sent containing your username details. Please check your spam folder if you don\'t see it in your inbox.' // The message }; // Remove Membership // The page for users to remove their membership from this Portal. portalOptions.labels.memberRemove: { // Content heading: 'Remove membership from {{mashery.area};};', // The heading main: 'Removing membership disables your account and you will not be able to register again using the same username. All your keys will be deactivated.', // The message // Labels confirm: 'Remove Membership', // The "confirm remove membership" button label cancel: 'Cancel', // The "cancel removal" button label popup: 'Please confirm that you wish to permanently disable your membership with this service.' // The message to display on the "confirm removal" popup modal }; // Remove Membership Success // The page shown after a user successfully removes their membership. portalOptions.labels.memberRemoveSuccess: { heading: 'Your account has been removed.', // The heading main: 'Enjoy the rest of your day!' // The message }; // No Access // The page shown when user doesn't have access to the content. portalOptions.labels.noAccess: { heading: 'You don\'t have access to this content', // The heading main: '

If you\'re not logged in yet, try logging in or registering for an account.

' // The message }; // Primary Navigation Menu // The primary navigation menu. portalOptions.labels.primaryNav: { toggle: 'Menu' }; // User Profile // The user profile page. portalOptions.labels.profile: { // Headings heading: '{{mashery.username};};', // The primary heading headingUserInfo: 'User Information', // The "User Information" subheading headingActivity: 'Recent Activity', // The "User Activity" subheading // Content userWebsite: 'Website:', // The user website label userBlog: 'Blog:', // The user blog label userRegistered: 'Registered:' // The label for the date the user registered }; // User Registration // The user registration page. portalOptions.labels.register: { // Primary Content heading: 'Register for an Account', // The heading main: '

Register a new Mashery ID to access {{mashery.area};};.

', // The message above the form privacyPolicy: '', // A custom privacy policy link or message [optional] // The sidebar content sidebar: '

No Spam Guarantee

' + '

We hate spam. We love our users. We promise to never sell or share any of your private information.

', // Labels submit: 'Register' // The submit button text @todo: does not work yet }; // User Registration: Email Sent // The registration email confirmation page. portalOptions.labels.registerSent: { heading: 'Registration Almost Complete' // The heading }; // User Registration: Email Resend // The page to request a new registration confirmation email. portalOptions.labels.registerResend: { heading: 'Resend Your Confirmation Email', // The heading main: '

Enter your username and email address to have your registration confirmation email resent to you.

' // The message above the form }; // User Registration: Email Resent // The page after a registration confirmation email was successfully resent. portalOptions.labels.registerResendSuccess: { heading: 'Success', // The heading main: 'Your confirmation email was resent.' // The message }; // Search // Search form and results content. portalOptions.labels.search: { // Search form button: 'Search', // The search for button text placeholder: 'Search...', // The search form placeholder attribute text // Search results heading: 'Search Results for "{{content.query};};"', // The search results page heading headingNew: 'Search', meta: 'Showing {{content.first};}; to {{content.last};}; of {{content.total};}; results for "{{content.query};};"', // The meta data to show above search results noResults: 'Your search for "{{content.query};};" returned no results.', // The message to display when no results are found pagePrevious: '← Previous Page', // The previous page link pageNext: 'Next Page →', // The next page link pageDivider: ' | ' // The divider between the previous and next page links }; // Reveal Key Secret // The page to request that key secrets are shown. portalOptions.labels.showSecret: { heading: 'Email Sent', main: '

An email has been sent to the email address associated with your account. Click on the link in the email to display all of your shared secrets for 30 days. Please check your spam folder if you don\'t see it in your inbox.

' }; // Reveal Key Secret: Success // The page to confirm key secrets have been displayed. portalOptions.labels.showSecretSuccess: { heading: 'Your shared secrets are now visible', main: '

Shared secrets will be visible for the next 30 days. After 30 days, they will be hidden again for PCI compliance.

' }; // Reveal Key Secret: Already Visible // The page shown when key secrets are already visible. portalOptions.labels.showSecretError: { heading: 'Your shared secrets are already visible', main: '

Click here to view them.

' }; // Sign In // The sign in page. portalOptions.labels.signin: { // Content heading: 'Sign In', // The heading main: '

Sign in to {{mashery.area};}; using your Mashery ID.

', // The message above the sign in form // The sidebar content sidebar: '

Register

' + '

Create an account to access stagingcs9.mashery.com. Your account information can then be used to access other APIs on the Mashery API Network.

' + '

What is Mashery?

' + '

Mashery powers APIs of leading brands in retail, media, business services, software, and more. By signing in to a Mashery powered portal, you can gain access to Mashery\'s base of API providers. All with a single Mashery ID.

' + '

Register a Mashery ID

', // Labels submit: 'Sign In', // The submit button text @todo: does not work yet }; // Title Attribute // Displayed in the web browser tab. portalOptions.labels.title: '{{mashery.title};}; | {{mashery.area};};'; // User Navigation // The navigation menu where users sign in, register, view their account, and log out. portalOptions.labels.userNav: { // Logged Out signin: 'Sign In', // "Sign In" link register: 'Register', // "Register" link // Logged In account: 'My Account', // "My Account" link dashboard: 'Dashboard', // "Dashboard" link (for admins only) signout: 'Sign Out', // "Sign Out" link }; ```

Docs Navigation