Application
Descrição da aplicação que outros desenvolvedores criaram para integrar ao ClassApp




POST as x-www-form-urlencoded:

https://joy.classapp.co/graphql?access_token=YOUR_TOKEN_HERE&client_id=YOUR_CLIENT_ID


Application

ParamsDescription
idModel identifier
nameapplication name
typeweb=null,ios=1,android=2,windows_phone=3
descriptiondescription if available
appUrlapplication url
published0=unpublished,1=published
authorapp author
urlAuthorauthor url
redirectUriwhere application is redirected to
logologo source
visibleif an application can be listed
scopelogo source
entityScopeif an application is validated
systemNamesimple system name to be used to search
privacyturn this application available on the store
lockcurrent status of the application
isActiveif application portal service is active
baseConfigurationThe form wich will build the configuration
expiresInExpiration time for portal logged
userIdAuthor
clientIdunique key
logoUrlapplication logo
clientSecretHidden secret
homologationif an application is validated
createdAn ISO-8601 encoded UTC date string of when record was created
modifiedAn ISO-8601 encoded UTC date string of when record was modified
dbId
userUser responsible for the application
termTerm of use of application
devicesDevices associated with the application
oauthProvidersOauthProviders associated with the application
organizationOrganizationApplications associated with the application
externalChannelsDevices associated with the application

CreateApplicationInput

ArgumentsTypeDescription
name
Not Null
application name
type
Not Null
web=null,ios=1,android=2,windows_phone=3
description
String
SCALAR
description if available
appUrl
String
SCALAR
application url
published
Boolean
SCALAR
0=unpublished,1=published
author
String
SCALAR
app author
urlAuthor
String
SCALAR
author url
redirectUri
String
SCALAR
where application is redirected to
logo
String
SCALAR
logo source
visible
Boolean
SCALAR
if an application can be listed
scope
String
SCALAR
logo source
entityScope
LIST
EntityScope
Permission scope to be added to created entities
systemName
String
SCALAR
simple system name to be used to search
privacy
ApplicationPrivacy
ENUM
turn this application available on the store
lock
ApplicationLock
ENUM
current status of the application
isActive
Boolean
SCALAR
if application portal service is active
baseConfiguration
String
SCALAR
Application's base configuration
expiresIn
Int
SCALAR
Expiration time for portal logged
clientMutationId
String
SCALAR

UpdateApplicationInput

ArgumentsTypeDescription
id
Not Null
The ID of an application object
name
String
SCALAR
application name
type
ApplicationType
ENUM
web=null,ios=1,android=2,windows_phone=3
description
String
SCALAR
description if available
appUrl
String
SCALAR
application url
published
Boolean
SCALAR
0=unpublished,1=published
author
String
SCALAR
app author
urlAuthor
String
SCALAR
author url
redirectUri
String
SCALAR
where application is redirected to
logo
String
SCALAR
logo source
visible
Boolean
SCALAR
if an application can be listed
scope
String
SCALAR
logo source
entityScope
LIST
EntityScope
Permission scope to be added to created entities
systemName
String
SCALAR
simple system name to be used to search
privacy
ApplicationPrivacy
ENUM
turn this application available on the store
lock
ApplicationLock
ENUM
current status of the application
isActive
Boolean
SCALAR
if application portal service is active
baseConfiguration
String
SCALAR
Application's base configuration
expiresIn
Int
SCALAR
Expiration time for portal logged
clientMutationId
String
SCALAR

DeleteApplicationInput

ArgumentsTypeDescription
id
Not Null
The ID of an application object
clientMutationId
String
SCALAR

Query

mutation createApplication($createApplication: CreateApplicationInput!) {
  createApplication(input: $createApplication) {
    application {
      dbId
      userId
      name
    }
    clientMutationId
  }
}
{ "createApplication": { "type": 3, "name": "Application Test", "published": true, "author": "Tester Team", "urlAuthor": "https://joy.classapp.co", "redirectUri": "https://www.classapp.com.br" } }