URI

From PS4 Developer wiki
Revision as of 07:08, 18 January 2025 by Derf (talk | contribs) (Text replacement - "<source lang" to "<syntaxhighlight lang")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

URI calls are system internal calls. They are used on PS Vita and PS4.

See also PS Vita URI and PS5 URI.

Supported URIs[edit | edit source]

pssettings[edit | edit source]

PRIVACY_SETTINGS = "pssettings:play?mode=settings&function=privacy_settings_group_messaging"

psns[edit | edit source]

psns:browse?product=<CONTENT ID>

psts[edit | edit source]

       /**
       * Opens a PSN store category page
       *
       * @param {string} serviceLabel The serviceLabel of the store category
       * @param {string} categoryLabel The categoryLabel of the store category
       * @param {string} titleId The titleId of the store category
       */
       TileController.prototype.openStoreCategory = function (serviceLabel, categoryLabel, titleId) {
           var url = "psts:browse?service=" + serviceLabel + "&category=" + categoryLabel;
           if (titleId) {
               url = url + "&title=" + titleId;
           }
           this.action(url);
       };
       /**
       * Opens a PSN store product page
       *
       * @param {string} serviceLabel The serviceLabel of the store product
       * @param {string} productLabel The productLabel of the store product
       * @param {string} titleId The titleId of the store product
       */
       TileController.prototype.openStoreProduct = function (serviceLabel, productLabel, titleId) {
           var url = "psts:browse?service=" + serviceLabel + "&product=" + productLabel;
           if (titleId) {
               url = url + "&title=" + titleId;
           }
           this.action(url);
       };

psevent[edit | edit source]

       /**
       * Opens a PSN event/tournament
       *
       * @param {string} eventId The eventId of the event/tournament
       */
       TileController.prototype.openEvent = function (eventId) {
           var url = "psevent:browse?event=" + eventId + "&referrer=LiveDetailPage";
           this.action(url);
       };

psgm[edit | edit source]

       /**
       * Opens the Game
       *
       * @param {string} arguments The arguments to be passed along to the Game
       */
       TileController.prototype.launchGame = function (arguments) {
           var url = "psgm:play";
           if (arguments) {
               url += "?arg=" + encodeURIComponent(arguments);
           }
           this.action(url);
       };

psno[edit | edit source]

       /**
       * Opens a URL with the web browser
       *
       * @param {string} clientId The clientId of the tile
       * @param {string} redirect_uri The redirect_uri to be opened
       */
       TileController.prototype.openWebBrowser = function (clientId, redirect_uri, scope) {
           var url = "psno://localhost/?response_type=code&client_id=" + clientId
               + "&redirect_uri=" + encodeURIComponent(redirect_uri)
               + "&scope=" + encodeURIComponent(scope);
           this.action(url);
       };

pspr[edit | edit source]

using System;

namespace Sce.Vsh.GriefReport
{
	internal static class LaunchUri
	{
		internal const string ADD_BLOCK = "pspr:block?online=";

		internal const string DEL_FRIEND = "pspr:deleteFriend?online=";

		internal const string UNFOLLOW = "pspr:unfollow?online=";

		internal const string PRIVACY_SETTINGS = "pssettings:play?mode=settings&function=privacy_settings_group_messaging";
	}
}
       /**
       * Opens the Profile page of the user
       */
       TileController.prototype.openProfile = function () {
           this.action("pspr:show");
       };

tmbd[edit | edit source]

tmdb:XXXXYYYYY

Example: tmdb:CUSA00001

See also[edit | edit source]