Query parameters
-
active
boolean Whether to show the active profile or a list of all available profiles
GET
/profile/show
curl \
--request GET 'http://localhost:1888/v2/api/profile/show'
Response examples (200)
{
"Response": {
"Name": "string",
"Description": "string",
"Id": "string",
"LastUsed": "string",
"ApplicationSettings": {
"Culture": "string",
"DevicePollingInterval": 42,
"PageSize": 42,
"LogLevel": "ERROR"
},
"AstrometrySettings": {
"Latitude": 42.0,
"Longitude": 42.0,
"Elevation": 42,
"HorizonFilePath": "string"
},
"CameraSettings": {
"BitDepth": 42,
"BulbMode": "NATIVE",
"Id": "string",
"PixelSize": 42,
"RawConverter": "DCRAW",
"SerialPort": "string",
"MinFlatExposureTime": 42.0,
"MaxFlatExposureTime": 42,
"FileCameraFolder": "string",
"FileCameraUseBulbMode": true,
"FileCameraIsBayered": true,
"FileCameraExtension": "string",
"FileCameraAlwaysListen": true,
"FileCameraDownloadDelay": 42,
"BayerPattern": "None",
"FLIEnableFloodFlush": true,
"FLIEnableSnapshotFloodFlush": true,
"FLIFloodDuration": 42,
"FLIFlushCount": 42,
"BitScaling": true,
"CoolingDuration": 42,
"WarmingDuration": 42,
"Temperature": 42,
"Gain": 42,
"Offset": 42,
"QhyIncludeOverscan": true,
"Timeout": 42,
"DewHeaterOn": true,
"ASCOMAllowUnevenPixelDimension": true,
"MirrorLockupDelay": 42,
"BinAverageEnabled": true,
"TrackingCameraASCOMServerEnabled": true,
"TrackingCameraASCOMServerPipeName": "string",
"TrackingCameraASCOMServerLoggingEnabled": true,
"SBIGUseExternalCcdTracker": true,
"AtikGainPreset": 42,
"AtikExposureSpeed": 42,
"AtikWindowHeaterPowerLevel": 42,
"TouptekAlikeUltraMode": true,
"TouptekAlikeHighFullwell": true,
"TouptekAlikeLEDLights": true,
"TouptekAlikeDewHeaterStrength": 42,
"GenericCameraDewHeaterStrength": 42,
"GenericCameraFanSpeed": 42,
"ZwoAsiMonoBinMode": true,
"ASCOMCreate32BitData": true,
"BadPixelCorrection": true,
"BadPixelCorrectionThreshold": 42
},
"ColorSchemaSettings": {
"AltColorSchema": "string",
"ColorSchema": "string"
},
"DomeSettings": {
"Id": "string",
"ScopePositionEastWest_mm": 42,
"ScopePositionNorthSouth_mm": 42,
"ScopePositionUpDown_mm": 42,
"DomeRadius_mm": 42,
"GemAxis_mm": 42,
"LateralAxis_mm": 42,
"AzimuthTolerance_degrees": 42,
"FindHomeBeforePark": true,
"DomeSyncTimeoutSeconds": 42,
"SynchronizeDuringMountSlew": true,
"SyncSlewDomeWhenMountSlews": true,
"RotateDegrees": 42,
"CloseOnUnsafe": true,
"ParkMountBeforeShutterMove": true,
"RefuseUnsafeShutterMove": true,
"RefuseUnsafeShutterOpenSansSafetyDevice": true,
"ParkDomeBeforeShutterMove": true,
"MountType": "EQUATORIAL",
"DecOffsetHorizontal_mm": 42,
"SettleTimeSeconds": 42
},
"FilterWheelSettings": {
"FilterWheelFilters": [
{
"Name": "string",
"FocusOffset": 42,
"Position": 42,
"AutoFocusExposureTime": 42,
"AutoFocusFilter": true,
"FlatWizardFilterSettings": {
"FlatWizardMode": "DYNAMICEXPOSURE",
"HistogramMeanTarget": 42.0,
"HistogramTolerance": 42.0,
"MaxFlatExposureTime": 42,
"MinFlatExposureTime": 42.0,
"MaxAbsoluteFlatDeviceBrightness": 42,
"MinAbsoluteFlatDeviceBrightness": 42,
"Gain": 42,
"Offset": 42,
"Binning": {
"Name": "string",
"X": 42,
"Y": 42
}
},
"AutoFocusBinning": {
"Name": "string",
"X": 42,
"Y": 42
},
"AutoFocusGain": 42,
"AutoFocusOffset": 42
}
],
"Id": "string",
"DisableGuidingOnFilterChange": true,
"Unidirectional": true
},
"FlatWizardSettings": {
"FlatCount": 42,
"HistogramMeanTarget": 42.0,
"HistogramTolerance": 42.0,
"DarkFlatCount": 42,
"OpenForDarkFlats": true,
"AltitudeSite": 42,
"FlatWizardMode": "DYNAMICEXPOSURE"
},
"FocuserSettings": {
"AutoFocusExposureTime": 42,
"AutoFocusInitialOffsetSteps": 42,
"AutoFocusStepSize": 42,
"Id": "string",
"UseFilterWheelOffsets": true,
"AutoFocusDisableGuiding": true,
"FocuserSettleTime": 42,
"AutoFocusTotalNumberOfAttempts": 42,
"AutoFocusNumberOfFramesPerPoint": 42,
"AutoFocusInnerCropRatio": 42,
"AutoFocusOuterCropRatio": 42,
"AutoFocusUseBrightestStars": 42,
"BacklashIn": 42,
"BacklashOut": 42,
"AutoFocusBinning": 42,
"AutoFocusCurveFitting": "TRENDLINES",
"AutoFocusMethod": "STARHFR",
"ContrastDetectionMethod": "Sobel",
"BacklashCompensationModel": "ABSOLUTE",
"AutoFocusTimeoutSeconds": 42,
"RSquaredThreshold": 42.0
},
"FramingAssistantSettings": {
"CameraHeight": 42,
"CameraWidth": 42,
"FieldOfView": 42,
"Opacity": 42.0,
"LastSelectedImageSource": "NASA",
"LastRotationAngle": 42,
"SaveImageInOfflineCache": true
},
"GuiderSettings": {
"GuiderName": "string",
"DitherPixels": 42,
"DitherRAOnly": true,
"PHD2GuiderScale": "PIXELS",
"MaxY": 42,
"PHD2HistorySize": 42,
"PHD2ServerPort": 42,
"PHD2ServerUrl": "string",
"PHD2InstanceNumber": 42,
"SettleTime": 42,
"SettlePixels": 42.0,
"SettleTimeout": 42,
"PHD2Path": "string",
"AutoRetryStartGuiding": true,
"AutoRetryStartGuidingTimeoutSeconds": 42,
"MetaGuideUseIpAddressAny": true,
"MetaGuidePort": 42,
"MGENFocalLength": 42,
"MGENPixelMargin": 42,
"MetaGuideMinIntensity": 42,
"MetaGuideDitherSettleSeconds": 42,
"MetaGuideLockWhenGuiding": true,
"PHD2ROIPct": 42,
"SkyGuardServerPort": 42,
"SkyGuardServerUrl": "string",
"SkyGuardPath": "string",
"SkyGuardCallbackPort": 42,
"SkyGuardTimeLapsChecked": true,
"SkyGuardValueMaxGuiding": 42,
"SkyGuardTimeLapsGuiding": 42,
"SkyGuardTimeLapsDitherChecked": true,
"SkyGuardValueMaxDithering": 42,
"SkyGuardTimeLapsDithering": 42,
"SkyGuardTimeOutGuiding": 42,
"GuideChartRightAscensionColor": {
"A": 42,
"R": 42,
"G": 42,
"B": 42,
"ScA": 42,
"ScR": 42,
"ScG": 42,
"ScB": 42
},
"GuideChartDeclinationColor": {
"A": 42,
"R": 42,
"G": 42,
"B": 42,
"ScA": 42,
"ScR": 42,
"ScG": 42,
"ScB": 42
},
"GuideChartShowCorrections": true
},
"ImageFileSettings": {
"FilePath": "string",
"FilePattern": "string",
"FilePatternDARK": "string",
"FilePatternBIAS": "string",
"FilePatternFLAT": "string",
"FileType": "TIFF",
"TIFFCompressionType": "NONE",
"XISFCompressionType": "NONE",
"XISFChecksumType": "NONE",
"XISFByteShuffling": true,
"FITSCompressionType": "NONE",
"FITSAddFzExtension": true,
"FITSUseLegacyWriter": true
},
"ImageSettings": {
"AnnotateImage": true,
"DebayerImage": true,
"DebayeredHFR": true,
"UnlinkedStretch": true,
"AnnotateUnlimitedStars": true,
"AutoStretchFactor": 42.0,
"BlackClipping": 42.0,
"StarSensitivity": "Normal",
"NoiseReduction": "None",
"DetectStars": true,
"AutoStretch": true
},
"MeridianFlipSettings": {
"MinutesAfterMeridian": 42,
"MaxMinutesAfterMeridian": 42,
"PauseTimeBeforeMeridian": 42,
"Recenter": true,
"SettleTime": 42,
"UseSideOfPier": true,
"AutoFocusAfterFlip": true,
"RotateImageAfterFlip": true
},
"PlanetariumSettings": {
"StellariumHost": "string",
"StellariumPort": 42,
"CdCHost": "string",
"CdCPort": 42,
"TSXHost": "string",
"TSXPort": 42,
"TSXUseSelectedObject": true,
"HNSKYHost": "string",
"HNSKYPort": 42,
"C2AHost": "string",
"C2APort": 42,
"SkytechXHost": "string",
"SkytechXPort": 42,
"PreferredPlanetarium": "CDC"
},
"PlateSolveSettings": {
"AstrometryURL": "string",
"AstrometryAPIKey": "string",
"BlindSolverType": "ASTROMETRY_NET",
"CygwinLocation": "string",
"ExposureTime": 42,
"Gain": 42,
"Binning": 42,
"PlateSolverType": "ASTROMETRY_NET",
"PS2Location": "string",
"PS3Location": "string",
"Regions": 42,
"SearchRadius": 42,
"Threshold": 42,
"RotationTolerance": 42,
"ReattemptDelay": 42,
"NumberOfAttempts": 42,
"AspsLocation": "string",
"ASTAPLocation": "string",
"DownSampleFactor": 42,
"MaxObjects": 42,
"Sync": true,
"SlewToTarget": true,
"BlindFailoverEnabled": true,
"TheSkyXHost": "string",
"TheSkyXPort": 42,
"PinPointCatalogType": "ppGSCACT",
"PinPointCatalogRoot": "string",
"PinPointMaxMagnitude": 42,
"PinPointExpansion": 42,
"PinPointAllSkyApiKey": "string",
"PinPointAllSkyApiHost": "string"
},
"RotatorSettings": {
"Id": "string",
"Reverse2": true,
"RangeType": "FULL",
"RangeStartMechanicalPosition": 42
},
"FlatDeviceSettings": {
"Id": "string",
"PortName": "string",
"SettleTime": 42,
"TrainedFlatExposureSettings": []
},
"SequenceSettings": {
"EstimatedDownloadTime": "string",
"TemplatePath": "string",
"TimeSpanInTicks": 42,
"ParkMountAtSequenceEnd": true,
"CloseDomeShutterAtSequenceEnd": true,
"ParkDomeAtSequenceEnd": true,
"WarmCamAtSequenceEnd": true,
"DefaultSequenceFolder": "string",
"StartupSequenceTemplate": "string",
"SequencerTemplatesFolder": "string",
"SequencerTargetsFolder": "string",
"CollapseSequencerTemplatesByDefault": true,
"CoolCameraAtSequenceStart": true,
"UnparMountAtSequenceStart": true,
"OpenDomeShutterAtSequenceStart": true,
"DoMeridianFlip": true,
"DisableSimpleSequencer": true
},
"SwitchSettings": {
"Id": "string"
},
"TelescopeSettings": {
"Name": "string",
"MountName": "string",
"FocalLength": 42,
"FocalRatio": 42,
"Id": "string",
"SettleTime": 42,
"SnapPortStart": "string",
"SnapPortStop": "string",
"NoSync": true,
"TimeSync": true,
"PrimaryReversed": true,
"SecondaryReversed": true,
"TelescopeLocationSyncDirection": "PROMPT"
},
"WeatherDataSettings": {
"Id": "string",
"OpenWeatherMapAPIKey": "string",
"TheWeatherCompanyAPIKey": "string",
"WeatherUndergroundAPIKey": "string",
"WeatherUndergroundStation": "string"
},
"SnapShotControlSettings": {
"ExposureDuration": 42,
"Gain": 42,
"Save": true,
"Loop": true
},
"SafetyMonitorSettings": {
"Id": "string"
},
"AlpacaSettings": {
"NumberOfPolls": 42,
"PollInterval": 42,
"DiscoveryPort": 42,
"DiscoveryDuration": 42,
"ResolveDnsName": true,
"UseIPv4": true,
"UseIPv6": true,
"UseHttps": true
},
"ImageHistorySettings": {
"ImageHistoryLeftSelected": "NONE",
"ImageHistoryRightSelected": "NONE"
}
},
"Error": "string",
"StatusCode": 200,
"Success": true,
"Type": "API"
}
Response examples (500)
{
"Response": "string",
"Error": "Unknown error",
"StatusCode": 500,
"Success": false,
"Type": "API"
}