elow is a list of URL paths and parameters that can be used to directly access areas of BidJS. You may find this useful, for example, if you are using an external navbar on a page that does not contain the BidJS embed.
Here is and example of the structure to use with these extensions:
https://yourdomainhere.com/#!/pathgoeshere
Please use the table below to see how these paths work. An explanation of behaviour is given for when the user navigates to this URL, and where applicable the behaviour is specified for when navigating from a page containing the BidJS embed, and from an external page (not containing the BidJS embed).
Path | Notes | Explanation |
---|---|---|
'home' | From a BidJS page: Lands on auction calendar From a non-BidJS page: Lands on auction calendar | |
'login' | User must be logged out. Logged in users are sent to the Auction Calendar page | From a BidJS page: Opens a login modal over the top of any page the user is already on From a non-BidJS page: Opens a blank BidJS page behind the login modal |
'logout' | User must be logged in. Logged out users are send to the Auction Calendar page or returned to the last BidJS page they were accessing. | From a BidJS page: Logs the user out and returns them to the page they were already on From a non-BidJS page: Sends the user to the Auction Calendar page. The user must press logout again to fully log out. |
'forgottenPassword' | User must be logged out. Logged in users are sent to the Auction Calendar page | Lands on Forgotten Password page |
'createAccount' | User must be logged out. Logged in users are sent to the Auction Calendar page | Lands on Create Account page |
'mySettings' | User must be logged in. Logged out users are presented with login modal | Lands on My Settings page |
'marketplace' | Lands on Marketplace | |
'search' | Lands on Search page | |
'webcast2/:auctionId' | This works for when an auction is in both the pre-bidding or Live phase | Lands on specified Webcast page |
'myBids(/:filterId)' | Users must be logged in. Logged out users are directed to blank BidJS page behind the Login modal filterId here specifies the section as follows: 1 - Live Bids 2 - Live Offers 3 - Watching List 4 - Closed Bids 5 - Closed Offers If no section is specified, it will default to showing the 1 - Live Bids section | Lands on My Bids page for specified section |
'auctionDetails/:auctionId' | auctionId is the ID for the particular auction you wish to navigate to. Just using auctionDetails navigates to a blank BidJS page If pointing towards a webcast that is now Live, the page will automatically redirect | Lands on the specified auction page |
'auctionDetails/:auctionId?:query' | Query can be used to specify a particular category or page, for example. https://yourdomain.com/demo/#!/auctionDetails/123?subCategory=175&page=5 | Lands on the specified auction page with particular query parameters applied |
'itemDetails/:auctionId/:itemId' | auctionId and itemId define the particular auction or item you wish to navigate to. Just using itemDetails navigates to show " Page Does Not Exist" | Lands on specified item page |
'prevNextItemDetails/:itemId/:prevnext' | itemId is the ID for a particular item, and prevnext describes whether this item is before or after the one you were looking at before. This still works if you were on a non-BidJS page before | Lands on specified item page |
'registerForAuction/:prevnext' | User must be logged in | Lands on a non-specified auction registration page |