Get All Style Sheets for a Partner Organization
get
/rest/v19/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 CollectionList of style sheets. -
links:
array Links
Title:
LinksLinks to current objects.
Nested Schema : Style Sheet Collection
Type:
arrayTitle:
Style Sheet CollectionList of style sheets.
Show Source
-
Array of:
object Style Sheet
Title:
Style Sheet
Nested Schema : Links
Type:
arrayTitle:
LinksLinks to current objects.
Show Source
-
Array of:
object reference links
Title:
reference linksReference links for the Parent, Self, Children and Related as applicable
Nested Schema : Style Sheet
Type:
objectTitle:
Show Source
Style Sheet-
links:
array Links
Title:
LinksLinks to current objects. -
name:
string
Title:
Style Sheet NameUnique name for the style sheet.
Nested Schema : Links
Type:
arrayTitle:
LinksLinks to current objects.
Show Source
-
Array of:
object reference links
Title:
reference linksReference links for the Parent, Self, Children and Related as applicable
Nested Schema : reference links
Type:
objectTitle:
reference linksReference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related objectURL to the related object -
name:
string
-
rel:
string
Title:
Link Relationship to the current objectDefault Value:selfLink 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 -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/companies/visionServices/sytleSheets
Response Body Sample
{
"items": [{
"name": "alternate",
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/companies/visionServices/styleSheets/alternate"
}
]
}, {
"name": "jet",
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/companies/visionServices/styleSheets/jet"
}
]
}
],
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/companies/visionServices/styleSheets"
}
]
}