Get All Style Sheets for a Partner Organization
get
/rest/v16/companies/{companyLoginName}/styleSheets
This endpoint retrieves all style sheets for a partner organization.
Request
Path Parameters
-
companyLoginName(required): string
Company login name.
Response
Supported Media Types
- application/json
Default Response
List of Style Sheets
Root Schema : companyStyleSheet-collection
Type:
Show Source
object
-
items:
array Style Sheet Collection
Title:
Style Sheet Collection
List of style sheets. -
links:
array Links
Title:
Links
Links to current objects.
Nested Schema : Style Sheet Collection
Type:
array
Title:
Style Sheet Collection
List of style sheets.
Show Source
-
Array of:
object Style Sheet
Title:
Style Sheet
Nested Schema : Links
Type:
array
Title:
Links
Links to current objects.
Show Source
-
Array of:
object reference links
Title:
reference links
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : Style Sheet
Type:
object
Title:
Show Source
Style Sheet
-
links:
array Links
Title:
Links
Links to current objects. -
name:
string
Title:
Style Sheet Name
Unique name for the style sheet.
Nested Schema : Links
Type:
array
Title:
Links
Links to current objects.
Show Source
-
Array of:
object reference links
Title:
reference links
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : reference links
Type:
object
Title:
reference links
Reference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related object
URL to the related object -
name:
string
-
rel:
string
Title:
Link Relationship to the current object
Default Value:self
Link Relationship to the current object
Examples
The following example shows how to retrieve all style sheets for a partner organization by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X GET -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v16/companies/visionServices/sytleSheets
Response Body Sample
{ "items": [{ "name": "alternate", "links": [{ "rel": "self", "href": "http://sitename.oracle.com/rest/v16/companies/visionServices/styleSheets/alternate" } ] }, { "name": "jet", "links": [{ "rel": "self", "href": "http://sitename.oracle.com/rest/v16/companies/visionServices/styleSheets/jet" } ] } ], "links": [{ "rel": "self", "href": "http://sitename.oracle.com/rest/v16/companies/visionServices/styleSheets" } ] }